Skip to content

Commit

Permalink
Use more dev wheels (#206)
Browse files Browse the repository at this point in the history
* Use more devwheels

* Bump sunpy dep and update oldestdeps
  • Loading branch information
Cadair authored Sep 21, 2022
1 parent fb896ca commit 9172452
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
11 changes: 6 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down
15 changes: 9 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9172452

Please sign in to comment.