From d17e58d8dc2a21e825edf235b6766bece03dc04c Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Mon, 29 Jan 2024 11:24:01 +0000 Subject: [PATCH] Fix #319 and hopefully oldest deps build --- setup.cfg | 6 ++++++ tox.ini | 11 +++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index fa0069c6..8c9765e5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index f74853a8..1ccd017a 100644 --- a/tox.ini +++ b/tox.ini @@ -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]