Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,21 @@ jobs:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.7", "3.8", "3.9" ]
numpy-version: [ "1.18", "1.19", "1.20", "1.21" ]

numpy-version: [ "1.16", "1.17", "1.18", "1.19", "1.20", "1.21" ]
exclude:
- python-version: "3.9"
numpy-version: "1.16"
os: ubuntu-latest
- python-version: "3.9"
numpy-version: "1.17"
os: ubuntu-latest
- python-version: "3.8"
numpy-version: "1.17"
os: ubuntu-latest
include:
- python-version: "3.10"
numpy-version: "1.21"
os: ubuntu-latest
steps:
- uses: actions/checkout@v2

Expand Down
4 changes: 3 additions & 1 deletion doc/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ Prerequisites
Quantities has a few dependencies:

* Python_ (>=3.7)
* NumPy_ (>=1.18)
* NumPy_ (>=1.16)

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


Source Code Installation
Expand Down
2 changes: 1 addition & 1 deletion quantities/markup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def format_units_latex(udict,font='mathrm',mult=r'\\cdot',paren=False):
By default this is the latex \\cdot symbol. Other useful
options may be '' or '*'.

If paren=True, encapsulate the string in '\\left(' and '\right)'
If paren=True, encapsulate the string in '\\left(' and '\\right)'

The result of format_units_latex is encapsulated in $. This allows the result
to be used directly in Latex in normal text mode, or in Matplotlib text via the
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def run(self):
platforms = 'Any',
requires = [
'python (>=3.7)',
'numpy (>=1.18)',
'numpy (>=1.16)',
],
url = 'http://python-quantities.readthedocs.io/',
version = versioneer.get_version(),
Expand Down