Skip to content

Commit

Permalink
Merge pull request #103 from mhvk/revert-mininum-numpy-change
Browse files Browse the repository at this point in the history
Revert mininum numpy change
  • Loading branch information
mhvk committed Mar 22, 2023
2 parents f5bdbfa + a29d68b commit e33ee55
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
toxenv: test-oldestdeps
toxargs: -v

- name: Test with medium old supported versions of our dependencies
# Test that we do not have a problem with some specific version (gh-101).
# Comment out if not needed.
os: ubuntu-20.04
python: 3.9
toxenv: test-olddeps
toxargs: -v

- name: Test with development versions of our dependencies
os: ubuntu-latest
python: 3.11
Expand Down
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.0.0.3 (2023-03-22)
====================

- Ensure minimum numpy version of 1.17 continues to work (for astropy LTS).

2.0.0.2 (2023-03-19)
====================

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ requires = numpy
zip_safe = False
tests_require = pytest-doctestplus
setup_requires = setuptools_scm
install_requires = numpy>=1.21
install_requires = numpy>=1.17
python_requires = >=3.7

[options.packages.find]
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
test{,-oldestdeps,-devdeps}
test{,-oldestdeps,-olddeps,-devdeps}
build_docs
linkcheck
codestyle
Expand Down Expand Up @@ -32,11 +32,13 @@ changedir = .tmp/{envname}
description =
run tests
devdeps: with the latest developer version of key dependencies
olddeps: with medium old versions of key dependencies
oldestdeps: with the oldest supported version of key dependencies

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

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

0 comments on commit e33ee55

Please sign in to comment.