Skip to content

Commit

Permalink
cleanup downstream
Browse files Browse the repository at this point in the history
- remove weldx
- only clone 1 deep
- change abacusutils tests per suggestion
  • Loading branch information
braingram committed Dec 20, 2024
1 parent dd84c66 commit ec0c0cb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
1 change: 0 additions & 1 deletion .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ jobs:
# Any env name which does not start with `pyXY` will use this Python version.
default_python: '3.12'
envs: |
- linux: weldx
- linux: sunpy
- linux: dkist
- linux: abacusutils
40 changes: 19 additions & 21 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/asdf-format/asdf-standard.git
git https://github.com/asdf-format/asdf-standard.git
pip install -e asdf-standard[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -78,7 +78,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/asdf-format/asdf-compression.git
git clone --depth 1 https://github.com/asdf-format/asdf-compression.git
pip install -e asdf-compression[tests,all]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -93,7 +93,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/asdf-format/asdf-zarr.git
git clone --depth 1 https://github.com/asdf-format/asdf-zarr.git
pip install -e asdf-zarr[tests]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -108,7 +108,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/asdf-format/asdf-transform-schemas.git
git clone --depth 1 https://github.com/asdf-format/asdf-transform-schemas.git
pip install -e asdf-transform-schemas[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -123,7 +123,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/asdf-format/asdf-wcs-schemas.git
git clone --depth 1 https://github.com/asdf-format/asdf-wcs-schemas.git
pip install -e asdf-wcs-schemas[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -138,7 +138,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/asdf-format/asdf-coordinates-schemas.git
git clone --depth 1 https://github.com/asdf-format/asdf-coordinates-schemas.git
pip install -e asdf-coordinates-schemas[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -153,7 +153,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/astropy/asdf-astropy.git
git clone --depth 1 https://github.com/astropy/asdf-astropy.git
pip install -e asdf-astropy[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -168,7 +168,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/astropy/specutils.git
git clone --depth 1 https://github.com/astropy/specutils.git
pip install -e specutils[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -183,7 +183,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/spacetelescope/astrocut.git
git clone --depth 1 https://github.com/spacetelescope/astrocut.git
pip install -e astrocut[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -198,7 +198,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/spacetelescope/gwcs.git
git clone --depth 1 https://github.com/spacetelescope/gwcs.git
pip install -e gwcs[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -220,7 +220,7 @@ set_env =
CRDS_CLIENT_RETRY_DELAY_SECONDS = 20
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/spacetelescope/jwst.git
git clone --depth 1 https://github.com/spacetelescope/jwst.git
pip install -e jwst[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -240,7 +240,7 @@ set_env =
CRDS_CLIENT_RETRY_DELAY_SECONDS = 20
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/spacetelescope/stdatamodels.git
git clone --depth 1 https://github.com/spacetelescope/stdatamodels.git
pip install -e stdatamodels[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -254,7 +254,7 @@ allowlist_externals =
bash
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/spacetelescope/stpipe.git
git clone --depth 1 https://github.com/spacetelescope/stpipe.git
pip install -e stpipe[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -269,7 +269,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/spacetelescope/roman_datamodels.git
git clone --depth 1 https://github.com/spacetelescope/roman_datamodels.git
pip install -e roman_datamodels[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -284,7 +284,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/BAMWelDX/weldx.git
git clone --depth 1 https://github.com/BAMWelDX/weldx.git
pip install -e weldx[test,media]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -299,7 +299,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/sunpy/sunpy.git
git clone --depth 1 https://github.com/sunpy/sunpy.git
pip install -e sunpy[tests,all]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -314,7 +314,7 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/DKISTDC/dkist.git
git clone --depth 1 https://github.com/DKISTDC/dkist.git
pip install -e dkist[tests]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
Expand All @@ -333,10 +333,8 @@ allowlist_externals =
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/abacusorg/abacusutils.git
pip install -vU setuptools wheel scipy Cython 'numpy<2' # for classy and corrfunc
pip install --no-build-isolation classy corrfunc
pip install -e abacusutils[test]
git clone --depth 1 https://github.com/abacusorg/abacusutils.git
pip install -e ./abacusutils pytest
pip install -r {env_tmp_dir}/requirements.txt
# make an empty pytest.ini to prevent pytest from crawling up
# one directory and finding the pytest configuration for the asdf
Expand Down

0 comments on commit ec0c0cb

Please sign in to comment.