Skip to content
Open
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
18 changes: 9 additions & 9 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ jobs:
- {torch-version: '2.3', cibw-python: 'cp312-*'}
- {torch-version: '2.4', cibw-python: 'cp312-*'}
- {torch-version: '2.5', cibw-python: 'cp312-*'}
- {torch-version: '2.6', cibw-python: 'cp312-*'}
- {torch-version: '2.7', cibw-python: 'cp312-*'}
- {torch-version: '2.8', cibw-python: 'cp312-*'}
- {torch-version: '2.9', cibw-python: 'cp312-*'}
- {torch-version: '2.10', cibw-python: 'cp312-*'}
- {torch-version: '2.6', cibw-python: 'cp313-*'}
- {torch-version: '2.7', cibw-python: 'cp313-*'}
- {torch-version: '2.8', cibw-python: 'cp313-*'}
- {torch-version: '2.9', cibw-python: 'cp314-*'}
- {torch-version: '2.10', cibw-python: 'cp314-*'}
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"

- name: install dependencies
run: python -m pip install cibuildwheel
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"

- name: install dependencies
run: python -m pip install twine wheel
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"

- name: install dependencies
run: python -m pip install wheel build twine
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
- name: setup Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"

- name: setup environment
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: setup Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"

- name: install dependencies
run: |
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/torch-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ jobs:
python-version: "3.10"
torch-version: "2.10"
- os: ubuntu-24.04
# Keep a building with Python 3.13 since TorchScript is deprecated
# in Python 3.14
python-version: "3.13"
torch-version: "2.10"
- os: ubuntu-24.04
python-version: "3.14"
torch-version: "2.10"
- os: macos-15
python-version: "3.13"
python-version: "3.14"
torch-version: "2.10"
- os: windows-2022
python-version: "3.13"
python-version: "3.14"
torch-version: "2.10"
steps:
- uses: actions/checkout@v6
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ omit = ["documentation.py"]
### ======================================================================== ###

[tool.pytest.ini_options]
# ignore" a bunch of internal warnings with Python 3.13 and PyTorch
filterwarnings = [
"error",
# internal warnings with Python 3.12+ and PyTorch
"ignore:ast.Str is deprecated and will be removed in Python 3.14:DeprecationWarning",
"ignore:Attribute s is deprecated and will be removed in Python 3.14:DeprecationWarning",
"ignore:ast.NameConstant is deprecated and will be removed in Python 3.14:DeprecationWarning",
# TorchScript deprecation warnings
"ignore:`torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`:DeprecationWarning",
"ignore:`torch.jit.save` is deprecated. Please switch to `torch.export`:DeprecationWarning",
"ignore:.*vesin.metatomic was only tested with metatomic.torch >=0.1.3,<0.2.*:UserWarning",
Expand Down
2 changes: 2 additions & 0 deletions python/metatomic_torch/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ python_files = ["*.py"]
testpaths = ["tests"]
filterwarnings = [
"error",
# TorchScript deprecation warnings
"ignore:`torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`:DeprecationWarning",
"ignore:`torch.jit.save` is deprecated. Please switch to `torch.export`:DeprecationWarning",
"ignore:`torch.jit.load` is deprecated. Please switch to `torch.export`:DeprecationWarning",
# Using vesin.metatomic with a developement version of metatomic
"ignore:.*vesin.metatomic was only tested with metatomic.torch >=0.1.3,<0.2.*:UserWarning",
]
Loading