Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/requirements-old.txt
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
14 changes: 10 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand All @@ -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 = [
Expand Down
Loading