-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (103 loc) · 2.55 KB
/
pyproject.toml
File metadata and controls
125 lines (103 loc) · 2.55 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
120
121
122
123
124
[project]
name = "opencosmo"
version = "1.2.6"
description = "OpenCosmo Python Toolkit"
authors = [
{ name = "Patrick Wells", email = "pwells@anl.gov" },
{ name = "Will Hicks", email = "whicks@anl.gov"},
{ name = "Patricia Larsen", email = "prlarsen@anl.gov" },
{ name = "Michael Buehlmann", email = "mbuehlmann@anl.gov" }
]
readme = "README.md"
requires-python = ">=3.12,<3.15"
dependencies = [
"h5py>=3.12.1,<4.0.0",
"astropy>=7.2.0,<8.0.0",
"pydantic>=2.10.6,<3.0.0",
"hdf5plugin>=5.0.0,!=5.1,<7.0",
"healpy>=1.19.0,<2.0.0",
"healsparse>=1.11,<2.0",
"deprecated>=1.2.58,<2.0.0",
"numpy>=2.0,<2.5",
"click (>=8.2.1,<9.0.0)",
"rustworkx>=0.17.1,<1.0",
]
[project.urls]
Repository = "https://github.com/ArgonneCPAC/OpenCosmo"
Documentation = "https://opencosmo.readthedocs.io/en/stable/"
[dependency-groups]
dev = [
"ruff>=0.9.4,<1.0.0",
"mypy>=1.15,<2.0.0",
"types-deprecated>=1.2.55.20250304",
"pre-commit>=4.2.0,<5.0.0",
"towncrier (>=24.8.0,<25.0.0)",
"pip>=25.1.1",
"pytest>=8.3.4,<9.0.0",
"pytest-timeout>=2.4.0",
]
docs = [
"sphinx>=9.0.0",
"sphinx-rtd-theme>=3.0.2,<4.0.0",
"autodoc-pydantic>=2.2.0,<3.0.0",
]
mpi = [
"mpi4py>=3.1.6,<5.0.0"
]
test = [
"pandas>=2.3.3",
"pandas-stubs>=2.3.2.250926",
"polars>=1.35.2",
"pyarrow>=21.0.0",
"pyxsim>=4.4.3",
"yt>=4.4.1",
]
test-mpi = [
"mpi-pytest>=2025.4.0,<2026.0.0"
]
[project.scripts]
opencosmo = "opencosmo.analysis.cli:cli"
[project.optional-dependencies]
io = [
"pyarrow>=21.0.0",
]
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.maturin]
module-name = "opencosmo._lib"
include = ["LICENSE.md"]
python-source = "python"
[tool.uv]
cache-keys = [{file = "pyproject.toml"}, {file = "Cargo.toml"}, {file = "**/*.rs"}]
[[tool.mypy.overrides]]
module = ["h5py", "astropy.*", "healpy", "healsparse", "numba"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["test"]
log_cli = true
log_cli_level = "INFO"
[lint.pycodestyle]
max-doc-length = 90
[tool.ruff.lint]
future-annotations = true
preview = false
extend-select = ["TC"]
[tool.towncrier]
directory = "changes"
package = "opencosmo"
name = "opencosmo"
filename = "docs/source/changelog.rst"
[tool.towncrier.fragment.improvement]
name = "Improvements"
showcontent = true
[tool.towncrier.fragment.feature]
name = "New Features"
[tool.towncrier.fragment.bugfix]
name = "Bugfixes"
[tool.towncrier.fragment.doc]
name = "Documentation"
[tool.towncrier.fragment.removal]
name = "Deprecations and Removals"
[tool.towncrier.fragment.misc]
name = "Miscellaneous"