Skip to content

Commit

Permalink
Also test numpy 1.20, which was problematic in gh-101
Browse files Browse the repository at this point in the history
  • Loading branch information
mhvk committed Mar 22, 2023
1 parent 525ba95 commit cd5f321
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 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
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.17.*
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 cd5f321

Please sign in to comment.