-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (104 loc) · 4.18 KB
/
pyproject.toml
File metadata and controls
119 lines (104 loc) · 4.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[project]
name = "upet"
dynamic = ["version"]
requires-python = ">=3.11"
readme = "README.md"
license = {"text" = "BSD-3-Clause"}
description = "A universal interatomic potential for advanced materials modeling"
authors = [
{name = "Arslan Mazitov", email = "arslan.mazitov@epfl.ch"},
{name = "Filippo Bigi"},
{name = "Matthias Kellner"},
{name = "Paolo Pegolo"},
{name = "Davide Tisi"},
{name = "Guillaume Fraux"},
{name = "Sergey Pozdnyakov"},
{name = "Philip Loche"},
{name = "Michele Ceriotti", email = "michele.ceriotti@epfl.ch"},
]
maintainers = [
{name = "Arslan Mazitov", email = "arslan.mazitov@epfl.ch"},
{name = "Filippo Bigi", email = "filippo.bigi@epfl.ch"},
]
dependencies = [
"metatrain>=2026.2,<2026.3",
"metatomic-ase",
"nvalchemi-toolkit-ops==0.2.0",
"huggingface_hub",
"hf_xet",
"packaging",
"platformdirs",
"tqdm",
]
keywords = ["machine learning", "molecular modeling"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
repository = "https://github.com/lab-cosmo/upet"
### ======================================================================== ###
[build-system]
requires = [
"setuptools >= 68",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "upet.__version__"}
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
ignore = ["B018", "B904"]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["upet"]
known-third-party = ["torch"]
[tool.ruff.format]
docstring-code-format = true
[tool.mypy]
follow_imports = 'skip'
ignore_missing_imports = true
[tool.pytest.ini_options]
# ignore" a bunch of internal warnings with Python 3.13 and PyTorch
filterwarnings = [
"error",
# PyTorch deprecation warnings
"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",
# PyTorch does not want these, but mypy requires them
"ignore:The TorchScript type system doesn't support instance-level annotations on empty non-base types",
# Sphericart double backward warning
"ignore:Second derivatives of the spherical harmonics with respect to the Cartesian coordinates were not requested at class creation.",
# OldCompositionModel deprecation warning
"ignore:`OldCompositionModel` composition model is deprecated. Please use `CompositionModel` instead.",
# deprecation warnings from torch_geometric
"ignore:`torch_geometric.distributed` has been deprecated since 2.7.0 and will no longer be maintained",
# metatrain checkpoint upgrade warning
"ignore: trying to upgrade an old model checkpoint with unknown version, this might fail and require manual modifications",
# TorchScript deprecation warnings
"ignore: `torch.jit.script` is deprecated.*:DeprecationWarning",
"ignore: `torch.jit.save` is deprecated.*:DeprecationWarning",
"ignore: `torch.jit.load` is deprecated.*:DeprecationWarning",
"ignore: `torch.jit.script_method` is deprecated. Please switch to `torch.compile` or `torch.export`.",
# PET-MAD v1.0 deprecation warning
"ignore:.*is deprecated in favor of the newer PET-MAD-1.5.*:DeprecationWarning",
# NVAlchemiOps Deprecation warning
"ignore: The 'nvalchemiops.neighborlist' module has been renamed to 'nvalchemiops.neighbors'.*:DeprecationWarning",
"ignore: From version 0.3.0 onwards, PyTorch is now an optional dependency.*:DeprecationWarning",
]