Skip to content

Commit

Permalink
run tests on minimum dependencies (#664)
Browse files Browse the repository at this point in the history
run tests on minimum dependencies
  • Loading branch information
zacharyburnett authored Mar 23, 2023
2 parents 0abcadb + 39e1fba commit 6cac937
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/roman_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
cache-path: /tmp/crds_cache
cache-key: crds-${{ needs.crds_context.outputs.pmap }}
envs: |
- linux: test-oldestdeps-cov-xdist
python-version: 3.8
- linux: test-xdist
python-version: 3.8
- linux: test-xdist
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ general

- Update non-VOunits to using ``astropy.units``. [#658]

- update minimum version of ``asdf`` to ``2.14.2`` and ``jsonschema`` to ``4.0.1`` and added minimum dependency checks to CI [#664]

0.10.0 (2023-02-21)
===================

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ classifiers = [
'Programming Language :: Python :: 3',
]
dependencies = [
'asdf >=2.13.0',
'asdf >=2.14.2',
'asdf-astropy >=0.4.0',
'astropy >=5.0.4',
'crds >=11.16.16',
'gwcs >=0.18.1',
'jsonschema >=3.0.2',
'jsonschema >=4.0.1',
'numpy >=1.20',
'pyparsing >=2.4.7',
'requests >=2.22',
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ description =
run tests
alldeps: with all optional dependencies
devdeps: with the latest developer version of key dependencies
oldestdeps: with the oldest supported version of key dependencies
pyargs: with --pyargs on installed package
warnings: treating warnings as errors
regtests: with --bigdata and --slow flags
Expand All @@ -57,11 +58,11 @@ extras =
deps =
xdist: pytest-xdist
devdeps: -rrequirements-dev.txt
numpy120: numpy==1.20.*
numpy121: numpy==1.21.*
numpy122: numpy==1.22.*
ddtrace: ddtrace
oldestdeps: minimum_dependencies
commands_pre =
oldestdeps: minimum_dependencies romancal --filename requirements-min.txt
oldestdeps: pip install -r requirements-min.txt
pip freeze
commands =
pytest \
Expand Down

0 comments on commit 6cac937

Please sign in to comment.