-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
210 lines (201 loc) · 6.41 KB
/
Copy pathpyproject.toml
File metadata and controls
210 lines (201 loc) · 6.41 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
# brew install pdm
# https://pdm-project.org/latest/usage/publish/
# pdm publish --repository testpypi
# pdm publish
[build-system]
requires = ["pdm-backend","setuptools","wheel"]
build-backend = "pdm.backend"
[project.urls]
Documentation = "https://qmcsoftware.github.io/QMCSoftware/"
Repository = "https://github.com/QMCSoftware/QMCSoftware"
Issues = "https://github.com/QMCSoftware/QMCSoftware/issues"
[project]
name = "qmcpy"
description = "Quasi-Monte Carlo point generators, automatic transformations, and adaptive stopping criteria"
authors = [
{name="Aleksei G Sorokin"},
{name="Fred Hickernell"},
{name="Sou-Cheng T. Choi"},
{name="Jagadeeswaran Rathinavel"},
{name="Mike McCourt"},
]
classifiers= [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
# Keep these aligned with `requires-python` and the tested interpreter
# matrix. See CONTRIBUTING.md.
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Mathematics",
]
readme = "README.md"
keywords=[
"quasi",
"monte",
"carlo",
"community",
"software",
"cubature",
"numerical",
"integration",
"discrepancy",
"sobol",
"lattice",
]
license = {file = "LICENSE"}
dynamic = ["version"]
# Deliberate QMCPy support-policy floor, not a source-language or transitive
# dependency floor. CI verifies the built wheel on 3.9; see CONTRIBUTING.md.
requires-python = ">= 3.9"
dependencies = [
"numpy >= 1.17.0",
"scipy >= 1.1.0",
"qmctoolscl >= 1.2.1",
]
[project.scripts]
qmcpy-install-mpmc = "qmcpy.util.install_mpmc_pyg:main"
[project.optional-dependencies]
torch = [
"torch >= 2.2.0",
]
gpytorch = [
"gpytorch >= 1.7.0, <= 1.15.1", # some issue with gpytorch == 1.15.2, see qmcpy/util/exact_gpytorch_regression_model.py, see # https://github.com/cornellius-gp/gpytorch/issues/2736
]
botorch = [
"botorch >= 0.10.0, <= 1.17.0", # some issue with gpytorch == 1.15.2, see qmcpy/util/exact_gpytorch_regression_model.py, see # https://github.com/cornellius-gp/gpytorch/issues/2736
]
umbridge = [
"umbridge >= 1.2.1",
]
mpmc = [
"torch >= 2.10.0, < 2.13", # PyG publishes pyg_lib >= 0.6 wheels for torch 2.10-2.12 (https://data.pyg.org/whl/)
"torch-geometric >= 2.6.1",
]
test = [
"pytest >= 9.0.3",
"pytest-cov >= 6.1.1",
"phmutest >= 1.0.1",
"pytest-accept >= 0.1.10",
"testbook >= 0.4.2",
"psutil >= 5.9.5",
"parsl >= 2026.01.05",
"seaborn >= 0.8",
"scikit-learn >= 1.0.0",
"scikit-optimize",
"ipykernel",
"matplotlib >= 3.9.0",
"pandas >= 1.3.0",
"yfinance >= 0.2.0",
"quantlib >= 1.38",
"ipywidgets >= 8.1.7, < 9",
"nbconvert >= 7.2.9",
"pytest-xdist >= 3.8.0",
]
# Minimal set for `make unittests_core` (test/test_*.py only). Omits the
# notebook/booktest stack (parsl, testbook, ...) whose 3.10 floor would
# otherwise force every unit-test job onto 3.10+, so CI can exercise the
# published `requires-python` floor. See CONTRIBUTING.md.
test_core = [
"pytest >= 7.0",
"pytest-cov >= 4.0",
"pytest-xdist >= 3.0",
"scikit-learn >= 1.0.0",
"pandas >= 1.3.0",
"pyyaml >= 6.0",
]
test_torch = [
"torch >= 2.7.0, < 2.13", # kept in sync with the mpmc extra: PyG pyg_lib wheels stop at torch 2.12
]
test_gpytorch = [
"gpytorch >= 1.11, <= 1.15.1", # some issue with gpytorch == 1.15.2, see qmcpy/util/exact_gpytorch_regression_model.py, see # https://github.com/cornellius-gp/gpytorch/issues/2736
]
test_botorch = [
"botorch >= 0.10.0, <= 1.17.0", # some issue with gpytorch == 1.15.2, see qmcpy/util/exact_gpytorch_regression_model.py, see # https://github.com/cornellius-gp/gpytorch/issues/2736
]
test_umbridge = [
"umbridge >= 1.2.4",
]
test_mpmc = [
"torch >= 2.10.0, < 2.13", # kept in sync with the mpmc extra
"torch-geometric >= 2.6.1",
]
docs = [ # brew install weasyprint
"qmcpy[test,test_torch,test_gpytorch,test_botorch,test_umbridge]",
"nbval >= 0.10.0",
"attrs >= 21.0.0",
"pyyaml >= 6.0",
"mkdocs >= 1.5.0, < 2.0",
"mkdocs-material >= 9.6.12",
"mkdocs-jupyter >= 0.25.0",
"mkdocstrings-python >= 1.16.0",
"mkdocs-with-pdf >= 0.9.3",
"mkdocs-glightbox >= 0.4.0",
# Ceiling: 1.2.3 moved to the ProperDocs fork, adding a `properdocs` dependency
# (a second full MkDocs engine) and capping `mkdocs <= 1.6.1`.
# "mkdocs-redirects >= 1.2.2, < 1.2.3",
"graphviz >= 0.20.0",
"phmutest >= 1.0.1",
"mkpdfs-mkdocs >= 1.0.1",
"mkdocs-print-site-plugin >= 2.7.2",
"mkdocs-exclude >= 1.0.2",
"pylint >= 4.0.5",
]
dev = [ # brew install weasyprint
"qmcpy[docs,test,torch,gpytorch,botorch,umbridge,mpmc]",
"jupyterlab >= 4.0.0",
"jupyterlab_execute_time >= 3.2.0",
"ipynbname >= 2025.8.0.0",
"pypistats >= 1.0.0",
"sympy >= 1.14.0",
"matplotlib >= 3.9.0",
"tueplots >= 0.2.0",
"pandas >= 2.0.0",
"scikit-learn >= 1.0.0",
"scikit-optimize >= 0.10.2",
]
class = [
"jupyterlab >= 4.0.0",
"matplotlib >= 3.9.0",
"seaborn >= 0.13.0",
"tueplots >= 0.2.0",
"pandas >= 2.0.0",
"scikit-learn >= 1.0.0",
"scikit-optimize >= 0.10.2",
"ipynbname >= 2023.2.0.0",
"jupyterlab_execute_time >= 3.1.2",
"ipywidgets >= 8.1.0",
"statsmodels >= 0.14.3",
"tqdm >= 4.66.0",
"sympy >= 1.12",
"arviz >= 0.17",
"plotly >= 5.0",
"networkx >= 3.0",
]
[tool.pylint.typecheck]
# Members that live on compiled/C-extension objects (numpy, scipy, matplotlib)
# which pylint's static inference cannot see, so they should not trigger
# no-member (E1101) false positives.
generated-members = [
"numpy.*",
"scipy.*",
"matplotlib.cm.*",
]
[tool.pdm.build]
run-setuptools = true
includes = [
"qmcpy",
"qmcpy/discrete_distribution/generating_params/korobov_p2_table.npz",
"qmcpy/discrete_distribution/digital_net_b2/generating_matrices/*.npy",
"qmcpy/discrete_distribution/lattice/generating_vectors/*.npy",
"qmcpy/util/qmcpy.mplstyle",
]
excludes = []
[tool.pdm.version]
source = "file"
path = "qmcpy/__init__.py"