Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (61 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (61 loc) · 1.58 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
[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",
# scipy 1.18.0 alone returns a shape-(1,) array from
# RectBivariateSpline(scalar, scalar, grid=False), which breaks the BBN Y_He
# predictor of camb < 2.0; scipy 1.18.1 restores the 0-d result.
"scipy>=1.13.0,!=1.18.0",
"vos>=3.6.1",
"keyring>=25.2.0",
# pyccl 3.3.5 is the first release whose boltzmann_camb path runs on camb 2
# (LSSTDESC/CCL#1303); pyccl declares no camb dependency, so the floor lives here.
"pyccl>=3.3.5",
"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",
]