From 188a39ea2a8d2eee44d5bcfa773eb8f4a3f4b426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Wed, 15 Mar 2023 12:29:06 -0700 Subject: [PATCH 1/5] CI: adding python 3.11 testing to CI --- .github/workflows/ci_tests_run_notebooks.yml | 9 +++++++-- tox.ini | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_tests_run_notebooks.yml b/.github/workflows/ci_tests_run_notebooks.yml index f557bea0..8695b72d 100644 --- a/.github/workflows/ci_tests_run_notebooks.yml +++ b/.github/workflows/ci_tests_run_notebooks.yml @@ -30,8 +30,13 @@ jobs: os: ubuntu-latest - python-version: '3.10' - toxenv: py310-test-devdeps - name: with Python 3.10 with developer versioned dependencies + toxenv: py310-test + name: with Python 3.10 + os: ubuntu-latest + + - python-version: '3.11' + toxenv: py311-test-devdeps + name: with Python 3.11 and developer versioned dependencies os: ubuntu-latest steps: diff --git a/tox.ini b/tox.ini index a3c005b6..d1035f67 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} + py{38,39,310,311}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} requires = pip >= 19.3.1 From f0a34c9d2d6a60a581257a88469f2502e9b5fafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Wed, 19 Apr 2023 18:31:09 -0700 Subject: [PATCH 2/5] CI: adding oldest dependencies check to matrix, and more devdeps dependencies, too --- tox.ini | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index d1035f67..769f71e7 100644 --- a/tox.ini +++ b/tox.ini @@ -15,10 +15,11 @@ deps = -rsite/requirements.txt -rrequirements.txt - # TODO: add the oldest supported versions of all the dependencies here - # oldestdeps: numpy==1.18 - # oldestdeps: matplotlib==3.1.2 - # oldestdeps: scipy==1.4 + oldestdeps: numpy==1.20 + oldestdeps: matplotlib==3.4 + oldestdeps: scipy==1.6 + oldestdeps: pandas==1.2 + oldestdeps: statsmodels==0.13 allowlist_externals = bash @@ -26,6 +27,8 @@ commands = devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple scipy devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple matplotlib + devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple pandas + devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple statsmodels pip freeze From 86fc4aaa3be05e425f6bbf90ab2482a5d1e115fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Thu, 20 Apr 2023 09:24:30 -0700 Subject: [PATCH 3/5] CI: dropping python 3.8 testing --- .github/workflows/ci_tests_run_notebooks.yml | 17 ++++++----------- tox.ini | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci_tests_run_notebooks.yml b/.github/workflows/ci_tests_run_notebooks.yml index 8695b72d..5051dc9e 100644 --- a/.github/workflows/ci_tests_run_notebooks.yml +++ b/.github/workflows/ci_tests_run_notebooks.yml @@ -19,19 +19,14 @@ jobs: matrix: # Run all supported OS for one Python version, then add a few extra scenarios os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.9'] - toxenv: [py39-test] - name: ['with Python 3.9',] + python-version: ['3.10'] + toxenv: [py310-test] + name: ['with Python 3.10',] include: - - python-version: '3.8' - toxenv: py38-test-oldestdeps - name: with Python 3.8 and oldest versioned dependencies - os: ubuntu-latest - - - python-version: '3.10' - toxenv: py310-test - name: with Python 3.10 + - python-version: '3.9' + toxenv: py39-test-oldestdeps + name: with Python 3.9 and oldest versioned dependencies os: ubuntu-latest - python-version: '3.11' diff --git a/tox.ini b/tox.ini index 769f71e7..b14c817d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,311}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} + py{39,310,311}-test{,-oldestdeps,-devdeps,-predeps}{,-buildhtml} requires = pip >= 19.3.1 From ab2acfdb844f455b7f9542b4ad9add776e0f0a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 24 Apr 2023 18:48:35 -0700 Subject: [PATCH 4/5] CI: let the full CI run even when a job is failing --- .github/workflows/ci_tests_run_notebooks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_tests_run_notebooks.yml b/.github/workflows/ci_tests_run_notebooks.yml index 5051dc9e..9b55c58f 100644 --- a/.github/workflows/ci_tests_run_notebooks.yml +++ b/.github/workflows/ci_tests_run_notebooks.yml @@ -16,6 +16,7 @@ jobs: name: ${{ matrix.os }} ${{ matrix.name }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: # Run all supported OS for one Python version, then add a few extra scenarios os: [ubuntu-latest, macos-latest, windows-latest] From 2bc7a2f4ea2f97d2efe8078e8c0b7dc79788c702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 24 Apr 2023 18:52:48 -0700 Subject: [PATCH 5/5] MAINT: temporarily limit imageIO version --- environment.yml | 5 +++-- requirements.txt | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/environment.yml b/environment.yml index 1a8abe27..00870fd6 100644 --- a/environment.yml +++ b/environment.yml @@ -6,9 +6,10 @@ dependencies: - numpy - scipy - matplotlib - - pandas + - pandas - statsmodels - - imageio + # Temporary version limit, see https://github.com/numpy/numpy-tutorials/issues/179 + - imageio<2.28 # For building the site - sphinx<5 - myst-nb diff --git a/requirements.txt b/requirements.txt index 63b2eefa..3eaadb83 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ scipy matplotlib pandas statsmodels -imageio +# temporary version limit, see https://github.com/numpy/numpy-tutorials/issues/179 +imageio<2.28 # For supporting .md-based notebooks jupytext