diff --git a/.github/requirements-old.txt b/.github/requirements-old.txt index fd784ba..4f25cef 100644 --- a/.github/requirements-old.txt +++ b/.github/requirements-old.txt @@ -1,5 +1,5 @@ # Ensure changes to these dependencies are reflected in pyproject.toml -numpy==2.3.1 -scipy==1.16.0 +numpy==2.2.6 +scipy==1.15.3 matplotlib==3.6.3 autograd==1.8.0 diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 9ddff18..ef0c8fa 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -14,7 +14,7 @@ jobs: tests: strategy: matrix: - python-version: ["3.11", "3.12"] + python-version: ["3.10", "3.14"] runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v4 @@ -23,7 +23,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install oldest versions of supported dependencies - if: ${{ matrix.python-version == '3.11'}} + if: ${{ matrix.python-version == '3.10'}} run: pip install -r .github/requirements-old.txt - name: Install development version run: pip install -e .[dev] diff --git a/pyproject.toml b/pyproject.toml index 6a9799b..d12490e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,20 +10,26 @@ authors = [ description = "Minimalistic atomic DFT code." readme = "README.md" license = "GPL-3.0-or-later" -requires-python = ">=3.11" +requires-python = ">=3.10" classifiers = [ "Environment :: Console", "Intended Audience :: Education", "Operating System :: POSIX", "Operating System :: MacOS", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "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", "Topic :: Education :: Computer Aided Instruction (CAI)", ] dependencies = [ # Ensure changes to these dependencies are reflected in .github/requirements-old.txt - "numpy>=2.3.1", - "scipy>=1.16.0", + "numpy>=2.2.6", + "scipy>=1.15.3", "matplotlib>=3.6.3", "autograd>=1.8.0", ] @@ -47,7 +53,7 @@ addopts = "-vv -W error --cov=src/tinydft --cov-report=term-missing -n auto" [tool.ruff] line-length = 100 -target-version = "py311" +target-version = "py310" [tool.ruff.lint] select = [