diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b17ac16..2fa0e36 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] - python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ] + python-version: [ '3.11', '3.12', '3.13', '3.14' ] steps: - uses: actions/checkout@v7 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 20d92ca..335e576 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,5 +22,3 @@ repos: rev: v2.4.1 hooks: - id: codespell - additional_dependencies: - - tomli diff --git a/docs/conf.py b/docs/conf.py index f30c751..9a6ad10 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,13 +1,13 @@ from datetime import date import os import shutil - -import toml +import tomllib import audeer -config = toml.load(audeer.path("..", "pyproject.toml")) +with open(audeer.path("..", "pyproject.toml"), "rb") as fp: + config = tomllib.load(fp) # Project ----------------------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index e51b1ef..099a70a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,14 +21,13 @@ classifiers = [ 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.14', 'Topic :: Scientific/Engineering', ] -requires-python = '>=3.10' +requires-python = '>=3.11' dependencies = [ 'audmath', 'audmetric >=1.1.0', @@ -60,7 +59,6 @@ dev = [ 'sphinx-autodoc-typehints', 'sphinx-copybutton', 'sphinxcontrib-katex', - 'toml', ]