Skip to content

Commit 4d468fb

Browse files
authored
Merge pull request numpy#172 from bsipocz/CI_add_py311
CI: Update/extend CI matrix
2 parents 366ff52 + 2bc7a2f commit 4d468fb

File tree

4 files changed

+23
-17
lines changed

4 files changed

+23
-17
lines changed

.github/workflows/ci_tests_run_notebooks.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,23 @@ jobs:
1616
name: ${{ matrix.os }} ${{ matrix.name }}
1717
runs-on: ${{ matrix.os }}
1818
strategy:
19+
fail-fast: false
1920
matrix:
2021
# Run all supported OS for one Python version, then add a few extra scenarios
2122
os: [ubuntu-latest, macos-latest, windows-latest]
22-
python-version: ['3.9']
23-
toxenv: [py39-test]
24-
name: ['with Python 3.9',]
23+
python-version: ['3.10']
24+
toxenv: [py310-test]
25+
name: ['with Python 3.10',]
2526

2627
include:
27-
- python-version: '3.8'
28-
toxenv: py38-test-oldestdeps
29-
name: with Python 3.8 and oldest versioned dependencies
28+
- python-version: '3.9'
29+
toxenv: py39-test-oldestdeps
30+
name: with Python 3.9 and oldest versioned dependencies
3031
os: ubuntu-latest
3132

32-
- python-version: '3.10'
33-
toxenv: py310-test-devdeps
34-
name: with Python 3.10 with developer versioned dependencies
33+
- python-version: '3.11'
34+
toxenv: py311-test-devdeps
35+
name: with Python 3.11 and developer versioned dependencies
3536
os: ubuntu-latest
3637

3738
steps:

environment.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ dependencies:
66
- numpy
77
- scipy
88
- matplotlib
9-
- pandas
9+
- pandas
1010
- statsmodels
11-
- imageio
11+
# Temporary version limit, see https://github.com/numpy/numpy-tutorials/issues/179
12+
- imageio<2.28
1213
# For building the site
1314
- sphinx<5
1415
- myst-nb

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ scipy
44
matplotlib
55
pandas
66
statsmodels
7-
imageio
7+
# temporary version limit, see https://github.com/numpy/numpy-tutorials/issues/179
8+
imageio<2.28
89
# For supporting .md-based notebooks
910
jupytext

tox.ini

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{38,39,310}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml}
3+
py{39,310,311}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml}
44
requires =
55
pip >= 19.3.1
66

@@ -15,17 +15,20 @@ deps =
1515
-rsite/requirements.txt
1616
-rrequirements.txt
1717

18-
# TODO: add the oldest supported versions of all the dependencies here
19-
# oldestdeps: numpy==1.18
20-
# oldestdeps: matplotlib==3.1.2
21-
# oldestdeps: scipy==1.4
18+
oldestdeps: numpy==1.20
19+
oldestdeps: matplotlib==3.4
20+
oldestdeps: scipy==1.6
21+
oldestdeps: pandas==1.2
22+
oldestdeps: statsmodels==0.13
2223

2324
allowlist_externals = bash
2425

2526
commands =
2627
devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
2728
devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple scipy
2829
devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple matplotlib
30+
devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple pandas
31+
devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple statsmodels
2932

3033
pip freeze
3134

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy