From 5f2a2b3bc1832daa83adf338a2d55da52ce68614 Mon Sep 17 00:00:00 2001 From: cdeline Date: Sun, 13 Oct 2024 23:05:46 -0600 Subject: [PATCH] update requirements.txt, pytest.yaml, setup.py versions --- .github/workflows/pytest.yaml | 8 ++++++-- requirements.txt | 38 +++++++++++++++++------------------ setup.py | 6 +++--- 3 files changed, 28 insertions(+), 24 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index bb080c9b..9dbc5f78 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false # don't cancel other matrix jobs when one fails matrix: - python-version: ["3.8","3.12"] + python-version: ["3.8","3.11"] # Test two environments: # 1) dependencies with pinned versions from requirements.txt # 2) 'pip install --upgrade --upgrade-strategy=eager .' to install upgraded @@ -18,6 +18,10 @@ jobs: '-r requirements.txt .[all]', '--upgrade --upgrade-strategy=eager .[all]' ] + include: + - python-version: "3.12" + env: '--upgrade --upgrade-strategy=eager .[all]' + steps: - uses: actions/checkout@v4 @@ -70,7 +74,7 @@ jobs: - name: Coveralls continue-on-error: true #prevent coveralls from blowing the test report - if: matrix.python-version == 3.12 # && ${{ matrix.env }} == '-r requirements.txt .[all]' + if: matrix.python-version == 3.11 # && ${{ matrix.env }} == '-r requirements.txt .[all]' run: | coveralls --service=github env: diff --git a/requirements.txt b/requirements.txt index c7bc6576..58a5d8ad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,29 +1,29 @@ -docutils<0.18 -coverage==7.2.1 -cycler==0.11.0 -idna==3.4 -importlib-metadata==6.0.0 +docutils<0.20 +coverage==7.6.1 +cycler==0.12.1 +idna==3.10 +importlib-metadata==8.5.0 ipython==8.13.0 -kiwisolver==1.4.4 -matplotlib==3.5.1 -more-itertools==9.1.0 +kiwisolver==1.4.7 +matplotlib==3.7.5 +more-itertools==10.5.0 numba==0.58.1 -numpy==1.24.2 -pandas==1.4.4 -pluggy==1.0.0 -pvlib==0.9.4 +numpy==1.24.4 +pandas==2.0.3 +pluggy==1.5.0 +pvlib==0.11.0 pvmismatch==4.1 py==1.11.0 -pyparsing==3.0.9 +pyparsing==3.1.4 pysmarts==0.0.1 -pytest==7.2.2 -pytest-cov==4.0.0 -python-dateutil==2.8.2 -pytz==2021.3 +pytest==8.3.3 +pytest-cov==5.0.0 +python-dateutil==2.9.0.post0 +pytz==2024.2 six==1.16.0 sphinx == 7.1.2 -pydata-sphinx-theme == 0.15.4 -sphinx-autoapi==1.8.4 +pydata-sphinx-theme == 0.14.4 +sphinx-autoapi==3.3.2 sphinx-rtd-theme==3.0.1 requests future diff --git a/setup.py b/setup.py index 40ad3cc5..0b3f99ac 100644 --- a/setup.py +++ b/setup.py @@ -113,11 +113,11 @@ 'ipython', 'sphinx >= 1.8.0', 'sphinx-autoapi>=1.1.0', - 'pydata-sphinx-theme==0.8.1', - 'nbsphinx==0.8.8', + 'pydata-sphinx-theme>=0.14.4', + 'nbsphinx>=0.8.8', # sphinx-gallery is used indirectly for nbsphinx thumbnail galleries; see: # https://nbsphinx.readthedocs.io/en/0.6.0/subdir/gallery.html#Creating-Thumbnail-Galleries - 'sphinx-gallery==0.8.1', + 'sphinx-gallery>=0.8.1', 'tqdm', ], 'all': [