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/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
include:
- os: ubuntu-24.04
python-version: "3.9"
python-version: "3.10"
- os: ubuntu-24.04
python-version: "3.13"
- os: macos-15
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
name: Python ${{ matrix.python-version }} / check build
strategy:
matrix:
python-version: ['3.9', '3.13']
python-version: ['3.10', '3.13']
os: [ubuntu-24.04]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/torch-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
include:
- os: ubuntu-24.04
torch-version: "2.1"
python-version: "3.9"
python-version: "3.10"
cargo-test-flags: --release

- os: ubuntu-24.04
Expand Down
4 changes: 4 additions & 0 deletions featomic-torch/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ a changelog](https://keepachangelog.com/en/1.1.0/) format. This project follows
### Removed
-->

### Changed

- We now require Python >= 3.10

## [Version 0.7.1](https://github.com/metatensor/featomic/releases/tag/featomic-torch-v0.7.1) - 2025-09-17

- Added support for torch v2.8, and metatensor-torch v0.8.0
Expand Down
4 changes: 4 additions & 0 deletions featomic/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ a changelog](https://keepachangelog.com/en/1.1.0/) format. This project follows
### Removed
-->

### Changed

- We now require Python >= 3.10

## [Version 0.6.3](https://github.com/metatensor/featomic/releases/tag/featomic-v0.6.2) - 2025-10-06

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def _do_coupling(
)

# create one block for each output of `cg_couple`
for o3_lambda, values in zip(o3_lambdas, outputs):
for o3_lambda, values in zip(o3_lambdas, outputs, strict=True):
o3_sigma = int(old_sigma * (-1) ** (l1 + l2 + o3_lambda))
new_keys_values.append(
[o3_lambda, o3_sigma] + _dispatch.to_int_list(key.values)
Expand Down
4 changes: 2 additions & 2 deletions python/featomic/featomic/clebsch_gordan/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _group_combinations_of_same_blocks(

keys_values: List[List[int]] = []
combinations: List[Combination] = []
for (block_1, block_2), keys_idx in zip(groups, groups_keys):
for (block_1, block_2), keys_idx in zip(groups, groups_keys, strict=True):
o3_lambdas: List[int] = []
for key_i in keys_idx:
keys_values.append(_dispatch.to_int_list(output_keys.values[key_i]))
Expand Down Expand Up @@ -248,7 +248,7 @@ def cg_tensor_product_blocks(

# Create the TensorBlocks
results: List[TensorBlock] = []
for values, o3_lambda in zip(combined_values, o3_lambdas):
for values, o3_lambda in zip(combined_values, o3_lambdas, strict=True):
block = TensorBlock(
values=values,
samples=block_1.samples,
Expand Down
1 change: 1 addition & 0 deletions python/featomic/featomic/splines.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def get_hypers(self):
self.spline.positions,
self.spline.values,
self.spline.derivatives,
strict=True,
)
],
}
Expand Down
2 changes: 1 addition & 1 deletion python/featomic/featomic/systems/ase.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def compute_neighbors(self, cutoff):
self._pairs = []

nl_result = neighborlist.neighbor_list("ijdDS", self._atoms, cutoff)
for i, j, d, D, S in zip(*nl_result):
for i, j, d, D, S in zip(*nl_result, strict=True):
# we want a half neighbor list, so drop all duplicated neighbors
if j < i:
continue
Expand Down
2 changes: 1 addition & 1 deletion python/featomic/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "featomic"
dynamic = ["version", "authors", "optional-dependencies"]
requires-python = ">=3.9"
requires-python = ">=3.10"

readme = "README.rst"
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion python/featomic_torch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "featomic-torch"
dynamic = ["version", "authors", "dependencies"]
requires-python = ">=3.9"
requires-python = ">=3.10"

readme = "README.rst"
license = "BSD-3-Clause"
Expand Down
Loading