Skip to content

Commit 55012b4

Browse files
authored
Merge pull request python-quantities#196 from apdavison/nep29plus1
Extend the testing matrix to NEP29 + 1 year
2 parents 269d81e + 687decd commit 55012b4

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,21 @@ jobs:
1313
matrix:
1414
os: [ ubuntu-latest ]
1515
python-version: [ "3.7", "3.8", "3.9" ]
16-
numpy-version: [ "1.18", "1.19", "1.20", "1.21" ]
17-
16+
numpy-version: [ "1.16", "1.17", "1.18", "1.19", "1.20", "1.21" ]
17+
exclude:
18+
- python-version: "3.9"
19+
numpy-version: "1.16"
20+
os: ubuntu-latest
21+
- python-version: "3.9"
22+
numpy-version: "1.17"
23+
os: ubuntu-latest
24+
- python-version: "3.8"
25+
numpy-version: "1.17"
26+
os: ubuntu-latest
27+
include:
28+
- python-version: "3.10"
29+
numpy-version: "1.21"
30+
os: ubuntu-latest
1831
steps:
1932
- uses: actions/checkout@v2
2033

doc/user/installation.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Prerequisites
99
Quantities has a few dependencies:
1010

1111
* Python_ (>=3.7)
12-
* NumPy_ (>=1.18)
12+
* NumPy_ (>=1.16)
13+
14+
(bearing in mind that not all combinations of Python and NumPy versions necessarily work).
1315

1416

1517
Source Code Installation

quantities/markup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def format_units_latex(udict,font='mathrm',mult=r'\\cdot',paren=False):
100100
By default this is the latex \\cdot symbol. Other useful
101101
options may be '' or '*'.
102102
103-
If paren=True, encapsulate the string in '\\left(' and '\right)'
103+
If paren=True, encapsulate the string in '\\left(' and '\\right)'
104104
105105
The result of format_units_latex is encapsulated in $. This allows the result
106106
to be used directly in Latex in normal text mode, or in Matplotlib text via the

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def run(self):
137137
platforms = 'Any',
138138
requires = [
139139
'python (>=3.7)',
140-
'numpy (>=1.18)',
140+
'numpy (>=1.16)',
141141
],
142142
url = 'http://python-quantities.readthedocs.io/',
143143
version = versioneer.get_version(),

0 commit comments

Comments
 (0)