Skip to content

Commit ec0c0cb

Browse files
committed
cleanup downstream
- remove weldx - only clone 1 deep - change abacusutils tests per suggestion
1 parent dd84c66 commit ec0c0cb

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

.github/workflows/downstream.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ jobs:
7070
# Any env name which does not start with `pyXY` will use this Python version.
7171
default_python: '3.12'
7272
envs: |
73-
- linux: weldx
7473
- linux: sunpy
7574
- linux: dkist
7675
- linux: abacusutils

tox.ini

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ allowlist_externals =
6363
extras =
6464
commands_pre =
6565
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
66-
git clone https://github.com/asdf-format/asdf-standard.git
66+
git https://github.com/asdf-format/asdf-standard.git
6767
pip install -e asdf-standard[test]
6868
pip install -r {env_tmp_dir}/requirements.txt
6969
pip freeze
@@ -78,7 +78,7 @@ allowlist_externals =
7878
extras =
7979
commands_pre =
8080
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
81-
git clone https://github.com/asdf-format/asdf-compression.git
81+
git clone --depth 1 https://github.com/asdf-format/asdf-compression.git
8282
pip install -e asdf-compression[tests,all]
8383
pip install -r {env_tmp_dir}/requirements.txt
8484
pip freeze
@@ -93,7 +93,7 @@ allowlist_externals =
9393
extras =
9494
commands_pre =
9595
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
96-
git clone https://github.com/asdf-format/asdf-zarr.git
96+
git clone --depth 1 https://github.com/asdf-format/asdf-zarr.git
9797
pip install -e asdf-zarr[tests]
9898
pip install -r {env_tmp_dir}/requirements.txt
9999
pip freeze
@@ -108,7 +108,7 @@ allowlist_externals =
108108
extras =
109109
commands_pre =
110110
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
111-
git clone https://github.com/asdf-format/asdf-transform-schemas.git
111+
git clone --depth 1 https://github.com/asdf-format/asdf-transform-schemas.git
112112
pip install -e asdf-transform-schemas[test]
113113
pip install -r {env_tmp_dir}/requirements.txt
114114
pip freeze
@@ -123,7 +123,7 @@ allowlist_externals =
123123
extras =
124124
commands_pre =
125125
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
126-
git clone https://github.com/asdf-format/asdf-wcs-schemas.git
126+
git clone --depth 1 https://github.com/asdf-format/asdf-wcs-schemas.git
127127
pip install -e asdf-wcs-schemas[test]
128128
pip install -r {env_tmp_dir}/requirements.txt
129129
pip freeze
@@ -138,7 +138,7 @@ allowlist_externals =
138138
extras =
139139
commands_pre =
140140
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
141-
git clone https://github.com/asdf-format/asdf-coordinates-schemas.git
141+
git clone --depth 1 https://github.com/asdf-format/asdf-coordinates-schemas.git
142142
pip install -e asdf-coordinates-schemas[test]
143143
pip install -r {env_tmp_dir}/requirements.txt
144144
pip freeze
@@ -153,7 +153,7 @@ allowlist_externals =
153153
extras =
154154
commands_pre =
155155
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
156-
git clone https://github.com/astropy/asdf-astropy.git
156+
git clone --depth 1 https://github.com/astropy/asdf-astropy.git
157157
pip install -e asdf-astropy[test]
158158
pip install -r {env_tmp_dir}/requirements.txt
159159
pip freeze
@@ -168,7 +168,7 @@ allowlist_externals =
168168
extras =
169169
commands_pre =
170170
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
171-
git clone https://github.com/astropy/specutils.git
171+
git clone --depth 1 https://github.com/astropy/specutils.git
172172
pip install -e specutils[test]
173173
pip install -r {env_tmp_dir}/requirements.txt
174174
pip freeze
@@ -183,7 +183,7 @@ allowlist_externals =
183183
extras =
184184
commands_pre =
185185
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
186-
git clone https://github.com/spacetelescope/astrocut.git
186+
git clone --depth 1 https://github.com/spacetelescope/astrocut.git
187187
pip install -e astrocut[test]
188188
pip install -r {env_tmp_dir}/requirements.txt
189189
pip freeze
@@ -198,7 +198,7 @@ allowlist_externals =
198198
extras =
199199
commands_pre =
200200
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
201-
git clone https://github.com/spacetelescope/gwcs.git
201+
git clone --depth 1 https://github.com/spacetelescope/gwcs.git
202202
pip install -e gwcs[test]
203203
pip install -r {env_tmp_dir}/requirements.txt
204204
pip freeze
@@ -220,7 +220,7 @@ set_env =
220220
CRDS_CLIENT_RETRY_DELAY_SECONDS = 20
221221
commands_pre =
222222
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
223-
git clone https://github.com/spacetelescope/jwst.git
223+
git clone --depth 1 https://github.com/spacetelescope/jwst.git
224224
pip install -e jwst[test]
225225
pip install -r {env_tmp_dir}/requirements.txt
226226
pip freeze
@@ -240,7 +240,7 @@ set_env =
240240
CRDS_CLIENT_RETRY_DELAY_SECONDS = 20
241241
commands_pre =
242242
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
243-
git clone https://github.com/spacetelescope/stdatamodels.git
243+
git clone --depth 1 https://github.com/spacetelescope/stdatamodels.git
244244
pip install -e stdatamodels[test]
245245
pip install -r {env_tmp_dir}/requirements.txt
246246
pip freeze
@@ -254,7 +254,7 @@ allowlist_externals =
254254
bash
255255
commands_pre =
256256
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
257-
git clone https://github.com/spacetelescope/stpipe.git
257+
git clone --depth 1 https://github.com/spacetelescope/stpipe.git
258258
pip install -e stpipe[test]
259259
pip install -r {env_tmp_dir}/requirements.txt
260260
pip freeze
@@ -269,7 +269,7 @@ allowlist_externals =
269269
extras =
270270
commands_pre =
271271
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
272-
git clone https://github.com/spacetelescope/roman_datamodels.git
272+
git clone --depth 1 https://github.com/spacetelescope/roman_datamodels.git
273273
pip install -e roman_datamodels[test]
274274
pip install -r {env_tmp_dir}/requirements.txt
275275
pip freeze
@@ -284,7 +284,7 @@ allowlist_externals =
284284
extras =
285285
commands_pre =
286286
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
287-
git clone https://github.com/BAMWelDX/weldx.git
287+
git clone --depth 1 https://github.com/BAMWelDX/weldx.git
288288
pip install -e weldx[test,media]
289289
pip install -r {env_tmp_dir}/requirements.txt
290290
pip freeze
@@ -299,7 +299,7 @@ allowlist_externals =
299299
extras =
300300
commands_pre =
301301
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
302-
git clone https://github.com/sunpy/sunpy.git
302+
git clone --depth 1 https://github.com/sunpy/sunpy.git
303303
pip install -e sunpy[tests,all]
304304
pip install -r {env_tmp_dir}/requirements.txt
305305
pip freeze
@@ -314,7 +314,7 @@ allowlist_externals =
314314
extras =
315315
commands_pre =
316316
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
317-
git clone https://github.com/DKISTDC/dkist.git
317+
git clone --depth 1 https://github.com/DKISTDC/dkist.git
318318
pip install -e dkist[tests]
319319
pip install -r {env_tmp_dir}/requirements.txt
320320
pip freeze
@@ -333,10 +333,8 @@ allowlist_externals =
333333
extras =
334334
commands_pre =
335335
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
336-
git clone https://github.com/abacusorg/abacusutils.git
337-
pip install -vU setuptools wheel scipy Cython 'numpy<2' # for classy and corrfunc
338-
pip install --no-build-isolation classy corrfunc
339-
pip install -e abacusutils[test]
336+
git clone --depth 1 https://github.com/abacusorg/abacusutils.git
337+
pip install -e ./abacusutils pytest
340338
pip install -r {env_tmp_dir}/requirements.txt
341339
# make an empty pytest.ini to prevent pytest from crawling up
342340
# one directory and finding the pytest configuration for the asdf

0 commit comments

Comments
 (0)