-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (63 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (63 loc) · 1.71 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
[project]
name = "cs_util"
version = "0.2.2"
description = "Utility library for CosmoStat"
authors = [
{ name = "Martin Kilbinger", email = "martin.kilbinger@cea.fr" },
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"astropy>=6.1",
"datetime>=5.5",
"numpy>=1.26.4",
"matplotlib>=3.8.4",
"swig>=4.2.1",
# Cap scipy < 1.18: scipy 1.18 ported FITPACK from Fortran to C, changing
# RectBivariateSpline(scalar, scalar, grid=False) from a 0-d array to a
# shape-(1,) array. camb's BBN Y_He predictor then fails set_cosmology with
# "only 0-dimensional arrays can be converted to Python scalars", breaking
# every get_cosmo path (and pyccl's Boltzmann spline path likewise). camb
# 1.6.6 is unfixed; lift the cap when camb ships the scipy-1.18 fix. Mirrors
# the same cap in sp_validation.
"scipy>=1.13.0,<1.18",
"vos>=3.6.1",
"keyring>=25.2.0",
"pyccl>=3.0.2",
"camb>=1.5.9",
"healpy>=1.16.0",
"healsparse>=1.8.0",
]
[project.optional-dependencies]
skyproj = [
"skyproj>=1.0.0",
]
lint = [
"black",
]
release = [
"build",
"twine",
]
test = [
# pytest-pydocstyle removed: its upstream is archived and incompatible
# with the pytest 9.1 collect-file hookspec (it crashed CI at startup).
# Docstring linting, if wanted, should move to a maintained tool (ruff's
# pydocstyle `D` rules).
"pytest",
"pytest-cov",
]
docs = [
"sphinx>=8.0",
"numpydoc>=1.8",
"sphinxcontrib-bibtex>=2.6",
# 6.0.3 is a broken wheel on PyPI (dist-info only, no python module)
"sphinxawesome-theme>=5.3,!=6.0.3",
"nbsphinx>=0.9",
"nbsphinx-link>=1.3",
]
[tool.pytest.ini_options]
markers = [
"fast: quick unit test (the default for the cosmo theory-curve suite)",
"slow: slower integration / precision test",
]