Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #319 and hopefully oldest deps build #320

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/320.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix an unpinned minimum version of ``asdf-wcs-schemas`` causing potential read errors on newest asdf files with dkist 1.1.0.
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