File tree Expand file tree Collapse file tree 5 files changed +29
-6
lines changed Expand file tree Collapse file tree 5 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 2525 toxargs : -v
2626
2727 - name : Test with development versions of our dependencies
28- os : ubuntu-20.04 # currently newer than ubuntu- latest
29- python : 3.9
28+ os : ubuntu-latest
29+ python : 3.11
3030 toxenv : test-devdeps
3131 toxargs : -v
3232
7575 include :
7676
7777 - name : Tests with external liberfa
78- os : ubuntu-20.04
78+ os : ubuntu-latest
7979 python : 3.8
8080 toxenv : test
8181 toxargs : -v
Original file line number Diff line number Diff line change 1+ 2.0.0.2 (2023-03-19)
2+ ====================
3+
4+ - Fix compatibility with numpy v1.24.
5+ - Ensure documentation is correct also for functions without parameters.
6+ - CI configuration updated.
7+ - Switch building of wheels to GitHub Actions.
8+ - Min ``setuptools_scm `` updated.
9+ - Min numpy version in ``tox.ini `` updated to fix CI issues.
10+
1112.0.0.1 (2021-11-02)
212====================
313
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ requires = numpy
2424zip_safe = False
2525tests_require = pytest-doctestplus
2626setup_requires = setuptools_scm
27- install_requires = numpy>=1.17
27+ install_requires = numpy>=1.21
2828python_requires = >=3.7
2929
3030[options.packages.find]
Original file line number Diff line number Diff line change 88import setuptools
99import subprocess
1010from warnings import warn
11- from distutils .dep_util import newer
1211import packaging .version
1312
1413
2019]
2120
2221
22+ def newer (source , target ):
23+ import pathlib
24+
25+ source = pathlib .Path (source )
26+ if not source .exists ():
27+ raise FileNotFoundError (f"file '{ source .resolve ()} ' does not exist" )
28+
29+ target = pathlib .Path (target )
30+ if not target .exists ():
31+ return 1
32+
33+ return source .stat ().st_mtime > target .stat ().st_mtime
34+
35+
2336# https://mail.python.org/pipermail/distutils-sig/2007-September/008253.html
2437class NumpyExtension (setuptools .Extension ):
2538 """Extension type that adds the NumPy include directory to include_dirs."""
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ description =
3636
3737# The following provides some specific pinnings for key packages
3838deps =
39- oldestdeps: numpy ==1.20 .*
39+ oldestdeps: numpy ==1.21 .*
4040 devdeps: numpy>=0.0.dev0
4141
4242# The following indicates which extras_require from setup.cfg will be installed
You can’t perform that action at this time.
0 commit comments