diff --git a/setup.cfg b/setup.cfg index be666013..e2a85049 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,7 +33,7 @@ install_requires = ndcube[plotting,reproject]>=2.0 numpy>=1.17 parfive[ftp]>=1.3 - sunpy[net,asdf]>=3.0.2 + sunpy[net,asdf]>=4 setup_requires = setuptools_scm [options.extras_require] @@ -107,16 +107,17 @@ filterwarnings = ignore:File.*asdf.extension.BuiltinExtension.*:asdf.exceptions.AsdfWarning # pytest / asdf interaction ignore:The .* argument to AsdfSchemaFile is deprecated - # Happens on oldestdeps for some reason - ignore:leap-second auto-update failed due to the following exception # gwcs main has the wrong version number: https://github.com/spacetelescope/gwcs/issues/399 ignore:File.*from package gwcs\=\=0\.18\.0\), but older package \(gwcs.*\) is installed. - # Ignore older version errors for test data - ignore: File.*eit_test_dataset.asdf.* was created with extension class.*but older package.*is installed. + # Ignore asdf older version errors + ignore: File.* was created with extension.*but older package.*is installed. ignore:The distutils.sysconfig module is deprecated, use sysconfig instead:DeprecationWarning ignore:ASDF functionality for astropy is being moved out of the astropy package to the new asdf-astropy package ignore:FLIP_TOP_BOTTOM is deprecated and will be removed in Pillow.* ignore::ResourceWarning + # Oldestdeps below here + ignore:`np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself.::dask.array + ignore:leap-second auto-update failed due to the following exception [flake8] exclude = extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py,__init__.py diff --git a/tox.ini b/tox.ini index 92f897e4..4ad091e2 100644 --- a/tox.ini +++ b/tox.ini @@ -12,8 +12,11 @@ setenv = MPLBACKEND = agg COLUMNS = 180 PYTEST_COMMAND = pytest --cov=dkist --cov-config={toxinidir}/setup.cfg --verbose --timeout=120 + devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scipy-wheels-nightly/simple extras = tests -commands = {env:PYTEST_COMMAND} {posargs} +commands = + pip freeze --all --no-input + {env:PYTEST_COMMAND} {posargs} description = run tests devdeps: with the latest developer version of key dependencies @@ -24,8 +27,10 @@ deps = # Devdeps installs our key dependancies from git to ensure we catch future # breaking changes before they make it to release - # Astropy is installed from nightly wheels - devdeps: astropy>=5.1.dev0 + devdeps: astropy>=0.0.dev0 + devdeps: numpy>=0.0.dev0 + devdeps: scipy>=0.0.dev0 + devdeps: matplotlib>=0.0.dev0 devdeps: git+https://github.com/sunpy/sunpy devdeps: git+https://github.com/sunpy/ndcube devdeps: git+https://github.com/spacetelescope/gwcs @@ -43,10 +48,8 @@ deps = oldestdeps: ndcube<2.1 oldestdeps: numpy<1.19 oldestdeps: parfive[ftp]<1.3 - oldestdeps: sunpy[net,asdf]<3.0.3 + oldestdeps: sunpy[net,asdf]<4.0.1 oldestdeps: setuptools<60 # Use older setuptools to prevent distutils warning -install_command = - devdeps: pip install --extra-index-url=https://pkgs.dev.azure.com/astropy-project/astropy/_packaging/nightly/pypi/simple/ {opts} {packages} [testenv:build_docs] extras = docs