Skip to content

Commit

Permalink
Fix #319 and hopefully oldest deps build
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Jan 29, 2024
1 parent 5bafc28 commit d17e58d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ include_package_data = True
install_requires =
aiohttp>=3.6
platformdirs>=3.0
# Provide minimum deps for all asdf packages used to generate or read asdf
# files so that we test with these minimums and also generate asdf's with
# them
asdf>=2.11.2 # Pick up jsonschema bug fix
asdf-astropy>=0.2.0
asdf-standard>=1.0.3
asdf-transform-schemas>=0.3.0
asdf-unit-schemas>=0.1.0
asdf-wcs-schemas>=0.3.0 # We left this unpinned so we need it for gwcs 1.2.0 now
astropy>=5.3
dask[array]>=2021.8.0
globus-sdk>=3.0
Expand Down
11 changes: 7 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,18 @@ deps =
devdeps: git+https://github.com/astropy/asdf-astropy
# Autogenerate oldest dependencies from info in setup.cfg
oldestdeps: minimum_dependencies
# Very new versions of jsonschema raise warnings, but we don't want to
# depend on jsonschema as new asdf (3.0+) does not use it any more.
oldestdeps: jsonschema==4.0.1

# The oldest deps build runs all our tests against the oldest supported
# versions
commands_pre =
oldestdeps: minimum_dependencies dkist --filename requirements-min.txt
oldestdeps: pip install -r requirements-min.txt
# Put the other requirements here to not have pip run more than once
#
# Very new versions of jsonschema raise warnings, but we don't want to
# depend on jsonschema as new asdf (3.0+) does not use it any more.
#
# The newest cryptography releases break globus
oldestdeps: pip install -r requirements-min.txt cryptography<42 jsonschema==4.0.1
pip freeze --all --no-input

[testenv:build_docs]
Expand Down

0 comments on commit d17e58d

Please sign in to comment.