featomic-torch 0.6.1__tar.gz → 0.6.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {featomic_torch-0.6.1/featomic_torch.egg-info → featomic_torch-0.6.2}/PKG-INFO +6 -6
  2. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/build-backend/backend.py +2 -2
  3. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic/torch/system.py +1 -19
  4. featomic_torch-0.6.2/featomic-torch-cxx-0.6.2.tar.gz +0 -0
  5. {featomic_torch-0.6.1 → featomic_torch-0.6.2/featomic_torch.egg-info}/PKG-INFO +6 -6
  6. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic_torch.egg-info/SOURCES.txt +1 -1
  7. featomic_torch-0.6.2/featomic_torch.egg-info/requires.txt +3 -0
  8. featomic_torch-0.6.2/git_version_info +2 -0
  9. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/pyproject.toml +2 -3
  10. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/setup.py +2 -2
  11. featomic_torch-0.6.1/featomic-torch-cxx-0.6.1.tar.gz +0 -0
  12. featomic_torch-0.6.1/featomic_torch.egg-info/requires.txt +0 -3
  13. featomic_torch-0.6.1/git_version_info +0 -2
  14. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/AUTHORS +0 -0
  15. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/LICENSE +0 -0
  16. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/MANIFEST.in +0 -0
  17. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/README.rst +0 -0
  18. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic/torch/__init__.py +0 -0
  19. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic/torch/_c_lib.py +0 -0
  20. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic/torch/calculator_base.py +0 -0
  21. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic/torch/calculators.py +0 -0
  22. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic/torch/clebsch_gordan.py +0 -0
  23. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic/torch/utils.py +0 -0
  24. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic_torch.egg-info/dependency_links.txt +0 -0
  25. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic_torch.egg-info/not-zip-safe +0 -0
  26. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/featomic_torch.egg-info/top_level.txt +0 -0
  27. {featomic_torch-0.6.1 → featomic_torch-0.6.2}/setup.cfg +0 -0
@@ -1,16 +1,15 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: featomic-torch
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: TorchScript bindings to featomic
5
5
  Author: Guillaume Fraux, Philip Loche, Sergei Kliavinek, Kevin Kazuki Huguenin-Dumittan, Davide Tisi, Alexander Goscinski
6
- License: BSD-3-Clause
6
+ License-Expression: BSD-3-Clause
7
7
  Project-URL: homepage, https://metatensor.github.io/featomic/latest/
8
8
  Project-URL: documentation, https://metatensor.github.io/featomic/latest/
9
9
  Project-URL: repository, https://github.com/metatensor/featomic
10
10
  Keywords: computational science,machine learning,molecular modeling,atomistic representations,torch
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Intended Audience :: Science/Research
13
- Classifier: License :: OSI Approved :: BSD License
14
13
  Classifier: Operating System :: POSIX
15
14
  Classifier: Operating System :: MacOS :: MacOS X
16
15
  Classifier: Operating System :: Microsoft :: Windows
@@ -26,10 +25,11 @@ Requires-Python: >=3.9
26
25
  Description-Content-Type: text/x-rst
27
26
  License-File: LICENSE
28
27
  License-File: AUTHORS
29
- Requires-Dist: torch>=1.12
30
- Requires-Dist: metatensor-torch<0.8.0,>=0.7.0
28
+ Requires-Dist: torch>=2.1
29
+ Requires-Dist: metatensor-torch<0.8,>=0.7.6
31
30
  Requires-Dist: featomic<0.7.0,>=0.6.0
32
31
  Dynamic: author
32
+ Dynamic: license-file
33
33
  Dynamic: requires-dist
34
34
 
35
35
  featomic-torch
@@ -22,13 +22,13 @@ elif not FEATOMIC_NO_LOCAL_DEPS and os.path.exists(FEATOMIC_SRC):
22
22
  FEATOMIC_DEP = f"featomic @ file://{FEATOMIC_SRC}"
23
23
  else:
24
24
  # we are building from a sdist
25
- FEATOMIC_DEP = "featomic >=0.6.0,<0.7.0"
25
+ FEATOMIC_DEP = "featomic >=0.6.0,<0.7"
26
26
 
27
27
  FORCED_TORCH_VERSION = os.environ.get("FEATOMIC_TORCH_BUILD_WITH_TORCH_VERSION")
28
28
  if FORCED_TORCH_VERSION is not None:
29
29
  TORCH_DEP = f"torch =={FORCED_TORCH_VERSION}"
30
30
  else:
31
- TORCH_DEP = "torch >=1.12"
31
+ TORCH_DEP = "torch >=2.1"
32
32
 
33
33
 
34
34
  get_requires_for_build_sdist = build_meta.get_requires_for_build_sdist
@@ -85,22 +85,4 @@ def _is_torch_system(system):
85
85
  if not isinstance(system, torch.ScriptObject):
86
86
  return False
87
87
 
88
- torch_version_tuple = tuple(map(int, torch.__version__.split(".")[:2]))
89
- if torch_version_tuple >= (2, 1):
90
- return system._type().name() == "System"
91
-
92
- # For older torch version, we check that we have the right properties
93
- properties = system._properties()
94
- if len(properties) != 3:
95
- return False
96
-
97
- if properties[0].name != "species":
98
- return False
99
-
100
- if properties[1].name != "positions":
101
- return False
102
-
103
- if properties[2].name != "cell":
104
- return False
105
-
106
- return True
88
+ return system._type().name() == "System"
@@ -1,16 +1,15 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: featomic-torch
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: TorchScript bindings to featomic
5
5
  Author: Guillaume Fraux, Philip Loche, Sergei Kliavinek, Kevin Kazuki Huguenin-Dumittan, Davide Tisi, Alexander Goscinski
6
- License: BSD-3-Clause
6
+ License-Expression: BSD-3-Clause
7
7
  Project-URL: homepage, https://metatensor.github.io/featomic/latest/
8
8
  Project-URL: documentation, https://metatensor.github.io/featomic/latest/
9
9
  Project-URL: repository, https://github.com/metatensor/featomic
10
10
  Keywords: computational science,machine learning,molecular modeling,atomistic representations,torch
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Intended Audience :: Science/Research
13
- Classifier: License :: OSI Approved :: BSD License
14
13
  Classifier: Operating System :: POSIX
15
14
  Classifier: Operating System :: MacOS :: MacOS X
16
15
  Classifier: Operating System :: Microsoft :: Windows
@@ -26,10 +25,11 @@ Requires-Python: >=3.9
26
25
  Description-Content-Type: text/x-rst
27
26
  License-File: LICENSE
28
27
  License-File: AUTHORS
29
- Requires-Dist: torch>=1.12
30
- Requires-Dist: metatensor-torch<0.8.0,>=0.7.0
28
+ Requires-Dist: torch>=2.1
29
+ Requires-Dist: metatensor-torch<0.8,>=0.7.6
31
30
  Requires-Dist: featomic<0.7.0,>=0.6.0
32
31
  Dynamic: author
32
+ Dynamic: license-file
33
33
  Dynamic: requires-dist
34
34
 
35
35
  featomic-torch
@@ -2,7 +2,7 @@ AUTHORS
2
2
  LICENSE
3
3
  MANIFEST.in
4
4
  README.rst
5
- featomic-torch-cxx-0.6.1.tar.gz
5
+ featomic-torch-cxx-0.6.2.tar.gz
6
6
  git_version_info
7
7
  pyproject.toml
8
8
  setup.py
@@ -0,0 +1,3 @@
1
+ torch>=2.1
2
+ metatensor-torch<0.8,>=0.7.6
3
+ featomic<0.7.0,>=0.6.0
@@ -0,0 +1,2 @@
1
+ 0
2
+ git.0a393b3
@@ -4,14 +4,13 @@ dynamic = ["version", "authors", "dependencies"]
4
4
  requires-python = ">=3.9"
5
5
 
6
6
  readme = "README.rst"
7
- license = {text = "BSD-3-Clause"}
7
+ license = "BSD-3-Clause"
8
8
  description = "TorchScript bindings to featomic"
9
9
 
10
10
  keywords = ["computational science", "machine learning", "molecular modeling", "atomistic representations", "torch"]
11
11
  classifiers = [
12
12
  "Development Status :: 4 - Beta",
13
13
  "Intended Audience :: Science/Research",
14
- "License :: OSI Approved :: BSD License",
15
14
  "Operating System :: POSIX",
16
15
  "Operating System :: MacOS :: MacOS X",
17
16
  "Operating System :: Microsoft :: Windows",
@@ -34,7 +33,7 @@ repository = "https://github.com/metatensor/featomic"
34
33
  ### ======================================================================== ###
35
34
  [build-system]
36
35
  requires = [
37
- "setuptools",
36
+ "setuptools >=77",
38
37
  "wheel",
39
38
  "packaging",
40
39
  ]
@@ -340,11 +340,11 @@ if __name__ == "__main__":
340
340
  torch_version = f"== {torch_v_major}.{torch_v_minor}.*"
341
341
  except ImportError:
342
342
  # otherwise we are building a sdist
343
- torch_version = ">= 1.12"
343
+ torch_version = ">= 2.1"
344
344
 
345
345
  install_requires = [
346
346
  f"torch {torch_version}",
347
- "metatensor-torch >=0.7.0,<0.8.0",
347
+ "metatensor-torch >=0.7.6,<0.8",
348
348
  ]
349
349
 
350
350
  # when packaging a sdist for release, we should never use local dependencies
@@ -1,3 +0,0 @@
1
- torch>=1.12
2
- metatensor-torch<0.8.0,>=0.7.0
3
- featomic<0.7.0,>=0.6.0
@@ -1,2 +0,0 @@
1
- 0
2
- git.be91711
File without changes
File without changes
File without changes