Skip to content

Commit

Permalink
TST: Fix devdeps (#1075)
Browse files Browse the repository at this point in the history
* TST: Use pyerfa-dev for devdeps

* TST: Ignore dateutil deprecation warning about utcfromtimestamp in Python 3.12
  • Loading branch information
pllim authored Nov 21, 2023
1 parent b5f943a commit e9bbd26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ filterwarnings =
ignore:numpy.ndarray size changed:RuntimeWarning
ignore:numpy.ufunc size changed:RuntimeWarning
ignore:distutils Version classes are deprecated:DeprecationWarning
# matplotlib + python-dateutil<=2.8.2 + Python 3.12
ignore:datetime\.datetime\.utcfromtimestamp:DeprecationWarning

[bdist_wheel]
universal = 1
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ envlist =

[testenv]
setenv =
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

# Pass through the following environemnt variables which are needed for the CI
passenv = HOME,WINDIR,CC,CI
Expand Down Expand Up @@ -46,6 +46,7 @@ deps =
devdeps: numpy>=0.0.dev0
devdeps: scipy>=0.0.dev0
devdeps: matplotlib>=0.0.dev0
devdeps: pyerfa>=0.0.dev0
devdeps: astropy>=0.0.dev0
devdeps: git+https://github.com/astropy/photutils@main#egg=photutils

Expand Down

0 comments on commit e9bbd26

Please sign in to comment.