Skip to content

Commit

Permalink
remove astropy and specutils from downstream
Browse files Browse the repository at this point in the history
astropy was included here because of astropy.io.misc.asdf
which is deprecated and uses the legacy extension api (which
will be removed during this development cycle). The remaining
usage of asdf in astropy is through asdf-astropy.

specutils includes a legacy extension that may be moved to
asdf-astropy. Per advice from WilliamJamieson specutils is being
removed from downstream testing.
  • Loading branch information
braingram committed Mar 10, 2023
1 parent 71c4f0b commit 6df6434
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ jobs:
# Any env name which does not start with `pyXY` will use this Python version.
default_python: '3.10'
envs: |
- linux: astropy
- linux: specutils
- linux: asdf-astropy
stsci:
Expand Down
35 changes: 1 addition & 34 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -114,22 +114,6 @@ commands_pre =
commands =
pytest asdf-coordinates-schemas

[testenv:astropy]
change_dir = {env_tmp_dir}
allowlist_externals =
git
bash
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/astropy/astropy.git
pip install -e astropy[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
commands=
pytest astropy/astropy/io/misc/asdf --open-files --run-slow --remote-data \
-W "ignore::asdf.exceptions.AsdfDeprecationWarning:asdf.tests.helpers"

[testenv:asdf-astropy]
change_dir = {env_tmp_dir}
allowlist_externals =
Expand All @@ -143,24 +127,7 @@ commands_pre =
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
commands =
pytest asdf-astropy \
-W "ignore::asdf.exceptions.AsdfDeprecationWarning:asdf.tests.helpers"

[testenv:specutils]
change_dir = {env_tmp_dir}
allowlist_externals =
git
bash
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/astropy/specutils.git
pip install -e specutils[test]
pip install -r {env_tmp_dir}/requirements.txt
pip freeze
commands =
pytest specutils \
-W "ignore::asdf.exceptions.AsdfDeprecationWarning:asdf.tests.helpers"
pytest asdf-astropy

[testenv:gwcs]
change_dir = {env_tmp_dir}
Expand Down

0 comments on commit 6df6434

Please sign in to comment.