Skip to content

Commit b2ac718

Browse files
authored
Updating test matrix following NEP29 + 1 year (python-quantities#212)
* Updating test matrix following NEP29 + 1 year * add NumPy 1.24 to test matrix * Add Python 3.11 to test matrix * exclude a combination which doesn't build on Github Actions
1 parent 4e1afa1 commit b2ac718

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,22 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ ubuntu-latest ]
15-
python-version: [ "3.7", "3.8", "3.9" ]
16-
numpy-version: [ "1.16", "1.17", "1.18", "1.19", "1.20", "1.21" ]
15+
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
16+
numpy-version: [ "1.19", "1.20", "1.21", "1.22", "1.23", "1.24" ]
1717
exclude:
18-
- python-version: "3.9"
19-
numpy-version: "1.16"
18+
- python-version: "3.10"
19+
numpy-version: "1.19"
20+
os: ubuntu-latest
21+
- python-version: "3.10"
22+
numpy-version: "1.20"
2023
os: ubuntu-latest
21-
- python-version: "3.9"
22-
numpy-version: "1.17"
24+
- python-version: "3.11"
25+
numpy-version: "1.19"
2326
os: ubuntu-latest
24-
- python-version: "3.8"
25-
numpy-version: "1.17"
27+
- python-version: "3.11"
28+
numpy-version: "1.20"
2629
os: ubuntu-latest
27-
include:
28-
- python-version: "3.10"
30+
- python-version: "3.11"
2931
numpy-version: "1.21"
3032
os: ubuntu-latest
3133
steps:

doc/user/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Prerequisites
88

99
Quantities has a few dependencies:
1010

11-
* Python_ (>=3.7)
12-
* NumPy_ (>=1.16)
11+
* Python_ (>=3.8)
12+
* NumPy_ (>=1.19)
1313

1414
(bearing in mind that not all combinations of Python and NumPy versions necessarily work).
1515

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def run(self):
136136
packages = packages,
137137
platforms = 'Any',
138138
requires = [
139-
'python (>=3.7)',
140-
'numpy (>=1.16)',
139+
'python (>=3.8)',
140+
'numpy (>=1.19)',
141141
],
142142
url = 'http://python-quantities.readthedocs.io/',
143143
version = versioneer.get_version(),

0 commit comments

Comments
 (0)