Skip to content

Commit 3b53159

Browse files
mairanteodoroschlaflyPaulHuwe
authored
Use latest roman-datamodels release. (#241)
* Use latest roman-datamodels release. * Update pyproject.toml Co-authored-by: Paul Huwe <42071634+PaulHuwe@users.noreply.github.com> --------- Co-authored-by: Eddie Schlafly <eschlafly@gmail.com> Co-authored-by: Paul Huwe <42071634+PaulHuwe@users.noreply.github.com> Co-authored-by: Eddie Schlafly <eschlafly@stsci.edu>
1 parent d05035f commit 3b53159

1 file changed

Lines changed: 59 additions & 71 deletions

File tree

pyproject.toml

Lines changed: 59 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -7,50 +7,48 @@ authors = [
77
{ name = "STScI", email = "help@stsci.edu" },
88
]
99
classifiers = [
10-
"Intended Audience :: Science/Research",
11-
"Topic :: Scientific/Engineering :: Astronomy",
12-
"Operating System :: MacOS :: MacOS X",
13-
"Operating System :: POSIX",
14-
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3 :: Only",
16-
"Programming Language :: Python :: 3.11",
10+
"Intended Audience :: Science/Research",
11+
"Topic :: Scientific/Engineering :: Astronomy",
12+
"Operating System :: MacOS :: MacOS X",
13+
"Operating System :: POSIX",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3 :: Only",
16+
"Programming Language :: Python :: 3.11",
1717
]
1818
dependencies = [
19-
"asdf >=4.1.0",
20-
"astropy >=6.0",
21-
"astropy_healpix >= 1.1.2",
22-
"crds >=13.0.2",
23-
"defusedxml >=0.5.0",
24-
"galsim >=2.5.1",
25-
# "roman_datamodels>=0.26.0,<0.27.0",
26-
"roman_datamodels @ git+https://github.com/spacetelescope/roman_datamodels.git",
27-
"gwcs >=0.25.0",
28-
"jsonschema >=4.8",
29-
"numpy >1.26",
30-
"stpsf >=2.1.0",
31-
"Cython >=0.29.21",
19+
"asdf >=4.1.0",
20+
"astropy >=6.0",
21+
"astropy_healpix >= 1.1.2",
22+
"crds >=13.0.2",
23+
"defusedxml >=0.5.0",
24+
"galsim >=2.5.1",
25+
"roman_datamodels>=0.27.0",
26+
# "roman_datamodels @ git+https://github.com/spacetelescope/roman_datamodels.git",
27+
"gwcs >=0.25.0",
28+
"jsonschema >=4.8",
29+
"numpy >1.26",
30+
"stpsf >=2.1.0",
31+
"Cython >=0.29.21",
3232
]
3333
license-files = ["LICENSE"]
34-
dynamic = [
35-
"version",
36-
]
34+
dynamic = ["version"]
3735

3836
[project.optional-dependencies]
3937
docs = [
40-
"sphinx <7",
41-
"sphinx-automodapi",
42-
"sphinx-rtd-theme",
43-
"stsci-rtd-theme",
44-
"sphinx-astropy",
45-
"sphinx-asdf >=0.1.1",
46-
"tomli; python_version <\"3.11\"",
38+
"sphinx <7",
39+
"sphinx-automodapi",
40+
"sphinx-rtd-theme",
41+
"stsci-rtd-theme",
42+
"sphinx-astropy",
43+
"sphinx-asdf >=0.1.1",
44+
"tomli; python_version <\"3.11\"",
4745
]
4846
test = [
49-
"ci-watson >=0.3.0",
50-
"pytest >=4.6.0, <=8.0",
51-
"pytest-openfiles >=0.5.0",
52-
"pytest-doctestplus >=0.10.0",
53-
"pytest-cov >=2.9.0",
47+
"ci-watson >=0.3.0",
48+
"pytest >=4.6.0, <=8.0",
49+
"pytest-openfiles >=0.5.0",
50+
"pytest-doctestplus >=0.10.0",
51+
"pytest-cov >=2.9.0",
5452
]
5553

5654
[project.urls]
@@ -60,11 +58,11 @@ Documentation = "https://romanisim.readthedocs.io/en/stable/"
6058

6159
[build-system]
6260
requires = [
63-
"setuptools >=61",
64-
"setuptools_scm[toml] >=3.4",
65-
"wheel",
66-
"Cython >=0.29.21",
67-
"numpy >=2.0.0",
61+
"setuptools >=61",
62+
"setuptools_scm[toml] >=3.4",
63+
"wheel",
64+
"Cython >=0.29.21",
65+
"numpy >=2.0.0",
6866
]
6967
build-backend = "setuptools.build_meta"
7068

@@ -74,56 +72,46 @@ build-backend = "setuptools.build_meta"
7472
zip-safe = false
7573

7674
[tool.setuptools.packages.find]
77-
exclude = [
78-
"examples",
79-
]
75+
exclude = ["examples"]
8076

8177
[tool.pytest.ini_options]
8278
minversion = "4.6"
83-
norecursedirs = [
84-
"docs/_build",
85-
"docs/exts",
86-
"scripts",
87-
"build",
88-
".tox",
89-
]
79+
norecursedirs = ["docs/_build", "docs/exts", "scripts", "build", ".tox"]
9080
doctest_plus = "enabled"
9181
doctest_rst = "enabled"
9282
markers = [
93-
"soctests: run only the SOC tests in the suite.",
94-
"bigdata: uses a lot of data.",
83+
"soctests: run only the SOC tests in the suite.",
84+
"bigdata: uses a lot of data.",
9585
]
9686
addopts = [
97-
"--color=yes", # Enable colored output by default
87+
"--color=yes", # Enable colored output by default
9888
]
9989

10090
[tool.coverage.run]
10191
omit = [
102-
"romanisim/conftest.py",
103-
"romanisim/setup.py",
104-
"romanisim/tests/test*",
105-
"docs/*",
106-
"*/romanisim/conftest.py",
107-
"*/romanisim/tests/test*",
108-
"*/romanisim/regtest/test*",
109-
"*/romanisim/*/tests/*",
110-
"*/docs/*",
92+
"romanisim/conftest.py",
93+
"romanisim/setup.py",
94+
"romanisim/tests/test*",
95+
"docs/*",
96+
"*/romanisim/conftest.py",
97+
"*/romanisim/tests/test*",
98+
"*/romanisim/regtest/test*",
99+
"*/romanisim/*/tests/*",
100+
"*/docs/*",
111101
]
112102

113103
[tool.coverage.report]
114104
exclude_lines = [
115-
"pragma: no cover",
116-
"if self.debug:",
117-
"except ImportError",
118-
"raise AssertionError",
119-
"raise NotImplementedError",
120-
"if __name__ == \"__main__\":",
105+
"pragma: no cover",
106+
"if self.debug:",
107+
"except ImportError",
108+
"raise AssertionError",
109+
"raise NotImplementedError",
110+
"if __name__ == \"__main__\":",
121111
]
122112

123113
[tool.ruff.lint]
124-
extend-ignore = [
125-
"E501",
126-
]
114+
extend-ignore = ["E501"]
127115

128116
[tool.cibuildwheel.macos]
129117
before-build = "brew install eigen fftw"

0 commit comments

Comments
 (0)