Skip to content

Commit e33ee55

Browse files
authored
Merge pull request #103 from mhvk/revert-mininum-numpy-change
Revert mininum numpy change
2 parents f5bdbfa + a29d68b commit e33ee55

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

.github/workflows/ci_workflows.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ jobs:
2424
toxenv: test-oldestdeps
2525
toxargs: -v
2626

27+
- name: Test with medium old supported versions of our dependencies
28+
# Test that we do not have a problem with some specific version (gh-101).
29+
# Comment out if not needed.
30+
os: ubuntu-20.04
31+
python: 3.9
32+
toxenv: test-olddeps
33+
toxargs: -v
34+
2735
- name: Test with development versions of our dependencies
2836
os: ubuntu-latest
2937
python: 3.11

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.0.0.3 (2023-03-22)
2+
====================
3+
4+
- Ensure minimum numpy version of 1.17 continues to work (for astropy LTS).
5+
16
2.0.0.2 (2023-03-19)
27
====================
38

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ requires = numpy
2424
zip_safe = False
2525
tests_require = pytest-doctestplus
2626
setup_requires = setuptools_scm
27-
install_requires = numpy>=1.21
27+
install_requires = numpy>=1.17
2828
python_requires = >=3.7
2929

3030
[options.packages.find]

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
test{,-oldestdeps,-devdeps}
3+
test{,-oldestdeps,-olddeps,-devdeps}
44
build_docs
55
linkcheck
66
codestyle
@@ -32,11 +32,13 @@ changedir = .tmp/{envname}
3232
description =
3333
run tests
3434
devdeps: with the latest developer version of key dependencies
35+
olddeps: with medium old versions of key dependencies
3536
oldestdeps: with the oldest supported version of key dependencies
3637

3738
# The following provides some specific pinnings for key packages
3839
deps =
39-
oldestdeps: numpy==1.21.*
40+
oldestdeps: numpy==1.17.* # astropy LTS
41+
olddeps: numpy==1.20.* # something potentially problematic (see gh-101)
4042
devdeps: numpy>=0.0.dev0
4143

4244
# The following indicates which extras_require from setup.cfg will be installed

0 commit comments

Comments
 (0)