File tree Expand file tree Collapse file tree 4 files changed +9
-23
lines changed
Expand file tree Collapse file tree 4 files changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,10 @@ jobs:
2424
2525 - name : Test with oldest supported versions of our dependencies
2626 os : ubuntu-22.04
27- python : 3.9
27+ python : ' 3.10 '
2828 toxenv : test-oldestdeps
2929 toxargs : -v
3030
31- - name : Test with medium old supported versions of our dependencies
32- # Test that we do not have a problem with some specific version (gh-101).
33- # Comment out if not needed.
34- os : ubuntu-22.04
35- python : 3.9
36- toxenv : test-olddeps
37- toxargs : -v
38-
3931 - name : Test with development versions of our dependencies
4032 os : ubuntu-latest
4133 python : ' 3.14'
9385
9486 - name : Tests with external liberfa
9587 os : ubuntu-latest
96- python : 3.9
88+ python : ' 3.10 '
9789 toxenv : test
9890 toxargs : -v
9991 apt_packages : python3-venv python3-pip liberfa-dev python3-numpy
@@ -134,7 +126,7 @@ jobs:
134126 with :
135127 # this is mainly meant to be useful on old or exotic archs
136128 # so we use our oldest-supported Python
137- python-version : ' 3.9 '
129+ python-version : ' 3.10 '
138130 - name : Install build-time dependencies
139131 run : |
140132 python -m pip install --upgrade wheel setuptools setuptools_scm jinja2 'numpy<2.0'
Original file line number Diff line number Diff line change @@ -602,12 +602,8 @@ def xfail(self):
602602 Right now this will be true for functions without inputs such
603603 as eraIr with numpy < 1.24.
604604 """
605- if self .nin + self .ninout == 0 :
606- if self .name == 'zpv' :
607- # Works on newer numpy
608- return "np.__version__ < '1.21', reason='needs numpy >= 1.21'"
609- else :
610- return "np.__version__ < '1.24', reason='numpy < 1.24 do not support no-input ufuncs'"
605+ if self .nin + self .ninout == 0 and self .name != "zpv" :
606+ return "np.__version__ < '1.24', reason='numpy < 1.24 do not support no-input ufuncs'"
611607 else :
612608 return None
613609
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ classifiers = [
2525 " Topic :: Scientific/Engineering :: Physics" ,
2626]
2727urls = {Homepage = " https://github.com/liberfa/pyerfa" }
28- requires-python = " >=3.9 "
29- dependencies = [" numpy>=1.19 .3" ]
28+ requires-python = " >=3.10 "
29+ dependencies = [" numpy>=1.21 .3" ]
3030dynamic = [" version" ]
3131
3232[project .optional-dependencies ]
Original file line number Diff line number Diff line change 11[tox]
22envlist =
3- test{,-oldestdeps,-olddeps,- devdeps}
3+ test{,-oldestdeps,-devdeps}
44 build_docs
55 linkcheck
66 codestyle
@@ -32,13 +32,11 @@ changedir = .tmp/{envname}
3232description =
3333 run tests
3434 devdeps: with the latest developer version of key dependencies
35- olddeps: with medium old versions of key dependencies
3635 oldestdeps: with the oldest supported version of key dependencies
3736
3837# The following provides some specific pinnings for key packages
3938deps =
40- oldestdeps: numpy ==1.19.* # astropy LTS
41- olddeps: numpy ==1.20.* # something potentially problematic (see gh-101)
39+ oldestdeps: numpy ==1.21.*
4240 devdeps: numpy>=0.0.dev0
4341
4442# The following indicates which extras_require from setup.cfg will be installed
You can’t perform that action at this time.
0 commit comments