Skip to content

Commit

Permalink
Bump max Python test version to 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri committed Feb 6, 2025
1 parent ddff22b commit e32b7d3
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- run: python -m pip install tox
- name: Build package
run: tox -e build
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- name: install dependencies
run: python -m pip install tox
- name: build documentation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- run: pip install tox
- name: Lint the code
run: tox -e lint
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- run: python -m pip install tox
- name: Build package
run: tox -e build
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- os: ubuntu-22.04
python-version: "3.9"
- os: ubuntu-22.04
python-version: "3.12"
python-version: "3.13"
- os: macos-14
python-version: "3.12"
python-version: "3.13"
- os: windows-2022
python-version: "3.12"
python-version: "3.13"

steps:
- uses: actions/checkout@v4
Expand All @@ -41,11 +41,11 @@ jobs:
- os: ubuntu-22.04
python-version: "3.9"
- os: ubuntu-22.04
python-version: "3.12"
python-version: "3.13"
- os: macos-14
python-version: "3.12"
python-version: "3.13"
- os: windows-2022
python-version: "3.12"
python-version: "3.13"

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
python: "3.13"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ examples = [
"matplotlib",
"metatensor-operations",
"scipy",
"torch < 2.6", # vesin requires this pinning
"vesin >= 0.3.0",
"vesin-torch >= 0.3.0",
]
Expand Down
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ pytest
pytest-cov
pytest-doctestplus
scipy
torch < 2.6 # limit version in tests due to vesin
vesin >= 0.3.0
vesin[torch] >= 0.3.0

0 comments on commit e32b7d3

Please sign in to comment.