Skip to content

Commit 0bdb8c4

Browse files
Try downgrading version of NumPy used in CI
But not for doctests, because the formatting was so ugly back then. The `pip install` right before the doctests are run should re-upgrade to a prettier NumPy.
1 parent 2070411 commit 0bdb8c4

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ install:
2323
- "pip install --upgrade pip"
2424
- "pip install $(echo ../dist/skyfield-*.tar.gz)'[tests]'"
2525
- "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
26-
- "pip install pandas==0.24.2 unittest2"
26+
- "pip install numpy==1.11.3 pandas==0.24.2 unittest2"
2727
- "python -c 'import pandas'"
2828

2929
script:

skyfield/documentation/design.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,12 @@ the hundreds of ``np.`` prefixes would add only noise.
180180
As a consequence, Skyfield’s modules themselves simply do a
181181
``from`` ``numpy`` ``import`` of any names that they need.
182182

183+
Skyfield strives to support old versions of both Python and of NumPy,
184+
because many users in industry and government
185+
cannot upgrade their supporting libraries whenever they want.
186+
So the unit tests in CI are run against NumPy 1.11.3
187+
to maintain compatibility with that older version.
188+
183189
Cross products
184190
==============
185191

0 commit comments

Comments
 (0)