Skip to content

Commit dfaa404

Browse files
combine requirements-dev-st.txt and requirements-dev-thirdparty.txt into requirements-dev.txt
move dependency override commands from `commands_pre` to `commands` so they run AFTER `pip install .` force install numpy dev
1 parent 7a91f90 commit dfaa404

File tree

5 files changed

+19
-25
lines changed

5 files changed

+19
-25
lines changed

.github/workflows/tests_extra.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ jobs:
6464
- macos: py311
6565
- macos: py312
6666
- macos: py313
67-
# TODO: merge stdevdeps into devdeps
68-
- linux: py313-stdevdeps
69-
pytest-results-summary: true
70-
- macos: py313-stdevdeps
71-
pytest-results-summary: true
7267
- linux: py313-devdeps
7368
pytest-results-summary: true
7469
- macos: py313-devdeps

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,10 @@ tools used for linting and reproducible environments run:
104104

105105
This will install `tox` and the `pre-commit` tools in addition to all development dependencies.
106106

107-
Development versions of dependencies are listed in `requirements-dev-st.txt` and `requirements-dev-thirdparty.txt`, containing STScI and third-party packages respectively.
107+
Development versions of dependencies are listed in `requirements-dev.txt`.
108108
To install these dependencies, run the following:
109109

110-
pip install -r requirements-dev-st.txt
111-
pip install -r requirements-dev-thirdparty.txt
110+
pip install -r requirements-dev.txt
112111

113112
Need other useful packages in your development environment?
114113

requirements-dev-st.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# Roman upstream packages
2+
git+https://github.com/spacetelescope/roman_datamodels.git
3+
git+https://github.com/spacetelescope/rad.git
4+
5+
# shared upstream packages
6+
git+https://github.com/spacetelescope/stcal.git
7+
git+https://github.com/spacetelescope/stpipe.git
8+
9+
# Other important upstream packages
10+
git+https://github.com/spacetelescope/crds.git
11+
git+https://github.com/spacetelescope/gwcs.git
12+
git+https://github.com/spacetelescope/tweakwcs.git
13+
114
# ASDF upstream packages
215
git+https://github.com/asdf-format/asdf-standard.git
316
git+https://github.com/asdf-format/asdf.git

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ commands =
1515
description =
1616
run tests
1717
alldeps: with all optional dependencies
18-
stdevdeps: with the latest developer version of key upstream spacetelescope dependencies
19-
devdeps: with the latest developer version of key upstream third-party dependencies
18+
devdeps: with the latest developer version of key upstream dependencies
2019
oldestdeps: with the oldest supported version of key dependencies
2120
pyargs: with --pyargs on installed package
2221
warnings: treating warnings as errors
@@ -42,10 +41,10 @@ deps =
4241
commands_pre =
4342
oldestdeps: minimum_dependencies romancal --filename requirements-min.txt
4443
oldestdeps: pip install -r requirements-min.txt
45-
stdevdeps: pip install -r requirements-dev-st.txt -U --upgrade-strategy eager
46-
devdeps: pip install -r requirements-dev-thirdparty.txt -U --upgrade-strategy eager
47-
pip list
4844
commands =
45+
devdeps: pip install --ignore-installed -r requirements-dev.txt -U --upgrade-strategy eager --ignore-installed
46+
devdeps: pip install numpy>=0.0.dev0 -U --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
47+
pip list
4948
pytest \
5049
cov: --cov --cov-config pyproject.toml --cov-report term-missing --cov-report xml \
5150
warnings: -W error \

0 commit comments

Comments
 (0)