forked from AstarVienna/ScopeSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (110 loc) · 3.93 KB
/
pyproject.toml
File metadata and controls
126 lines (110 loc) · 3.93 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
[project]
name = "ScopeSim"
version = "0.11.3a0"
description = "Generalised telescope observation simulator"
license = {text = "GPL-3.0-or-later"}
authors = [
{name = "Kieran Leschinski", email = "kieran.leschinski@univie.ac.at"}
]
maintainers = [
{name = "Kieran Leschinski", email = "kieran.leschinski@univie.ac.at"},
{name = "Hugo Buddelmeijer", email = "hugo@buddelmeijer.nl"},
{name = "Fabian Haberhauer", email = "fabian.haberhauer@univie.ac.at"},
]
readme = "README.md"
keywords = [ "astronomy" ]
dynamic = [ "classifiers" ]
requires-python = ">=3.10,<3.15"
dependencies = [
"numpy (>=1.26.4,<2.3.0) ; python_version >= '3.10' and python_version < '3.13'",
"numpy (>=2.2.6,<3.0.0) ; python_version >= '3.13'",
# SciPy is only an indirect dependency through synphot, but has limited
# wheels for Python versions, so needs to be specified explicitly.
"scipy (>=1.15.3,<1.16.0) ; python_version >= '3.10' and python_version < '3.11'",
"scipy (>=1.17.0,<1.18.0) ; python_version >= '3.11'",
"astropy (>=6.1.7,<8.0.0)",
"matplotlib (>=3.10.5,<4.0.0)",
"pooch (>=1.8.2,<2.0.0)",
"docutils (>=0.19,<1.0)",
"httpx (>=0.28.1,<1.0)",
"beautifulsoup4 (>=4.13.3,<5.0.0)",
"lxml (>=6.0.2,<7.0.0)",
"pyyaml (>=6.0.3,<7.0.0)",
"more-itertools (>=10.2.0,<11.0.0)",
"tqdm (>=4.66.6,<5.0.0)",
"packaging (>=25.0,<26.0)",
"synphot (>=1.5.0,<2.0.0)",
"skycalc-ipy (>=0.7.0,<1.0)",
"anisocado (>=0.5.0,<1.0)",
"astar-utils (>=0.5.0,<1.0)"
]
[project.urls]
Repository = "https://github.com/AstarVienna/ScopeSim"
Documentation = "https://scopesim.readthedocs.io/en/latest/"
"Bug Tracker" = "https://github.com/AstarVienna/ScopeSim/issues"
Changelog = "https://github.com/AstarVienna/ScopeSim/blob/main/CHANGELOG.md"
[tool.poetry]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Astronomy",
]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
jupyter = "^1.1.1"
jupytext = "^1.18.1"
ipykernel = "^6.31.0"
ipympl = "^0.9.8"
[tool.poetry.group.test.dependencies]
pytest = "^9.0.2"
pytest-cov = "^7.0.0"
ipykernel = "^6.31.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^8.1.3"
sphinx-book-theme = "^1.1.4"
jupyter-sphinx = ">=0.5.3"
sphinx-copybutton = ">=0.5.2,<1.0"
myst-nb = "^1.3.0"
sphinxcontrib-apidoc = ">=0.6.0,<1.0"
sphinxcontrib-mermaid = "^2.0"
nbsphinx = "^0.9.8"
numpydoc = "^1.9.0"
ipykernel = "^6.31.0"
ipympl = "^0.9.8"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--strict-markers -m 'not webtest(github=True)'"
markers = [
"webtest: marks tests as requiring network (deselect with '-m \"not webtest\"')",
"webtest_github: marks tests that download from GitHub (select with '-m \"webtest_github\"')",
"slow: marks tests that take a while (deselect with '-m \"not slow\"')",
]
filterwarnings = [
"error",
# Should probably be fixed:
"ignore::ResourceWarning",
"ignore:The fit may be poorly conditioned:astropy.utils.exceptions.AstropyUserWarning",
"ignore::astropy.units.core.UnitsWarning",
# Perhaps fix?
"ignore:divide by zero encountered in scalar divide:RuntimeWarning",
"ignore:divide by zero encountered in double_scalars:RuntimeWarning",
"ignore:invalid value encountered in multiply:RuntimeWarning",
"ignore:invalid value encountered in divide:RuntimeWarning",
"ignore:Cannot merge meta key.*:astropy.utils.metadata.MergeConflictWarning",
"ignore::astropy.wcs.wcs.FITSFixedWarning",
"default:The fov_grid*:DeprecationWarning",
# Pytest Notebook stuff
"ignore:Proactor*:RuntimeWarning",
]
[tool.coverage.report]
omit = ["scopesim/tests/*", "docs/*"]
[tool.pylint.main]
ignored-classes = "astropy.units"
fail-under = 8
output-format = "colorized"
ignore-paths = "scopesim.tests"