Skip to content

Commit

Permalink
Raise NumPy version requirement to 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
tbekolay committed Jan 27, 2022
1 parent e87d2be commit f0c084a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 28 deletions.
21 changes: 8 additions & 13 deletions .nengobones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ setup_py:
pytest11:
- nengo = pytest_nengo
install_req:
- numpy>=1.13
- numpy>=1.19
docs_req:
- sphinx>=1.8
- jupyter
Expand Down Expand Up @@ -210,28 +210,23 @@ travis_yml:
test_args: --memory --plots
- script: test-coverage
test_args: --plots
python: 3.6
python: 3.7
- script: docs
apt_install:
- graphviz
- pandoc
- env:
NUMPY: numpy==1.13
if: "branch =~ ^release-candidate-*"
NUMPY: numpy==1.19
python: 3.8
cache: false # disable the cache for one build to make sure that works
- env:
NUMPY: numpy==1.14
if: "branch =~ ^release-candidate-*"
- env:
NUMPY: numpy==1.15
if: "branch =~ ^release-candidate-*"
- env:
NUMPY: numpy==1.16
if: "branch =~ ^release-candidate-*"
- env:
NUMPY: numpy==1.17
NUMPY: numpy==1.20
python: 3.8
if: "branch =~ ^release-candidate-*"
- dist: bionic
env:
NUMPY: numpy==1.21
python: 3.9
pypi_user: __token__
deploy_dists:
Expand Down
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
env:
SCRIPT="test-coverage"
TEST_ARGS="--plots"
python: 3.6
python: 3.7
-
env:
SCRIPT="docs"
Expand All @@ -48,26 +48,18 @@ jobs:
- pandoc
-
env:
NUMPY="numpy==1.13"
if: branch =~ ^release-candidate-*
NUMPY="numpy==1.19"
python: 3.8
cache: False
-
env:
NUMPY="numpy==1.14"
if: branch =~ ^release-candidate-*
-
env:
NUMPY="numpy==1.15"
if: branch =~ ^release-candidate-*
-
env:
NUMPY="numpy==1.16"
NUMPY="numpy==1.20"
python: 3.8
if: branch =~ ^release-candidate-*
-
env:
NUMPY="numpy==1.17"
if: branch =~ ^release-candidate-*
-
NUMPY="numpy==1.21"
dist: bionic
python: 3.9
- stage: deploy
Expand Down
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ Release history
- Added ``Conv`` and ``ConvTranspose`` aliases for ``Convolution`` and
``ConvolutionTranspose``. (`#1648`_)

**Changed**

- The minimum supported NumPy version is now 1.19, as earlier versions are
no longer officially supported. (`NEP-29`_, `#1683`_)

**Removed**

- Removed support for Python 3.5 (which reached its end of life in
Expand Down Expand Up @@ -60,6 +65,8 @@ Release history
.. _#1676: https://github.com/nengo/nengo/pull/1676
.. _#1679: https://github.com/nengo/nengo/pull/1679
.. _#1681: https://github.com/nengo/nengo/pull/1681
.. _#1683: https://github.com/nengo/nengo/pull/1683
.. _NEP-29: https://numpy.org/neps/nep-0029-deprecation_policy.html

3.1.0 (November 17, 2020)
=========================
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def read(*filenames, **kwargs):
version = runpy.run_path(str(root / "nengo" / "version.py"))["version"]

install_req = [
"numpy>=1.13",
"numpy>=1.19",
]
docs_req = [
"sphinx>=1.8",
Expand Down

0 comments on commit f0c084a

Please sign in to comment.