From 70c186dbe32be045cb202f0d7b21f701df95f64a Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 16 Apr 2025 15:34:13 -0400 Subject: [PATCH 1/4] drop python 3.8 --- .github/workflows/lint-and-test.yml | 10 +++++----- .readthedocs.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 0e5c66f1..ec294439 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -8,11 +8,11 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] requirements: [''] include: - requirements: "-r requirements-min.txt" - python-version: 3.8 + python-version: 3.9 os: ubuntu-latest runs-on: ${{ matrix.os }} @@ -48,10 +48,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Finish Coveralls Upload run: | pip install --upgrade pip @@ -64,7 +64,7 @@ jobs: strategy: matrix: - python-version: [3.8] + python-version: [3.9] runs-on: ubuntu-latest diff --git a/.readthedocs.yml b/.readthedocs.yml index 020a8411..f3a06cfb 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,7 +3,7 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "3.7" + python: "3.9" sphinx: configuration: docs/conf.py From eb6fbdea5f972e66b2d4a2248713435d91c05055 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 16 Apr 2025 15:43:59 -0400 Subject: [PATCH 2/4] update minimum dependency versions --- requirements-min.txt | 8 ++++---- setup.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/requirements-min.txt b/requirements-min.txt index 2d49e7e1..14809a22 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -1,6 +1,6 @@ -numpy~=1.17.0 -pandas~=1.0.0 +numpy~=1.20.0 +pandas~=1.2.0 pvlib~=0.9.4 scipy~=1.6.0 -statsmodels~=0.10.0 -scikit-image~=0.16.0 +statsmodels~=0.13.0 +scikit-image~=0.18.0 diff --git a/setup.py b/setup.py index c489a091..7d235182 100644 --- a/setup.py +++ b/setup.py @@ -33,12 +33,12 @@ ] INSTALL_REQUIRES = [ - 'numpy >= 1.17.0', - 'pandas >= 1.0.0, != 1.1.*', + 'numpy >= 1.20.0', + 'pandas >= 1.2.0', 'pvlib >= 0.9.4', 'scipy >= 1.6.0', - 'statsmodels >= 0.10.0', - 'scikit-image >= 0.16.0', + 'statsmodels >= 0.13.0', + 'scikit-image >= 0.18.0', 'importlib-metadata; python_version < "3.8"', ] From 40ea1e979fdf0bc9232f9b594d9cf66f6d4c2722 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 23 Apr 2025 13:23:55 -0400 Subject: [PATCH 3/4] whatsnew --- docs/whatsnew/v0.2.3.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/whatsnew/v0.2.3.rst b/docs/whatsnew/v0.2.3.rst index 28f9d364..a3aa86f7 100644 --- a/docs/whatsnew/v0.2.3.rst +++ b/docs/whatsnew/v0.2.3.rst @@ -15,6 +15,12 @@ Bug Fixes Requirements ~~~~~~~~~~~~ +* Advance minimum python to 3.8, and the following dependencies (:pull:`220`): + + - numpy: 1.20.0 + - pandas: 1.2.0 + - statsmodels: 0.13.0 + - scikit-image: 0.18.0 Documentation From e1b82222187e61b93360ee31f8f02a98c0cb569b Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 23 Apr 2025 14:40:39 -0400 Subject: [PATCH 4/4] fix pandas issue by bumping to 1.3.0 --- docs/whatsnew/v0.2.3.rst | 2 +- requirements-min.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/whatsnew/v0.2.3.rst b/docs/whatsnew/v0.2.3.rst index a3aa86f7..df110cfc 100644 --- a/docs/whatsnew/v0.2.3.rst +++ b/docs/whatsnew/v0.2.3.rst @@ -18,7 +18,7 @@ Requirements * Advance minimum python to 3.8, and the following dependencies (:pull:`220`): - numpy: 1.20.0 - - pandas: 1.2.0 + - pandas: 1.3.0 - statsmodels: 0.13.0 - scikit-image: 0.18.0 diff --git a/requirements-min.txt b/requirements-min.txt index 14809a22..ebab7b3b 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -1,5 +1,5 @@ numpy~=1.20.0 -pandas~=1.2.0 +pandas~=1.3.0 pvlib~=0.9.4 scipy~=1.6.0 statsmodels~=0.13.0 diff --git a/setup.py b/setup.py index 7d235182..c67c4e56 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ INSTALL_REQUIRES = [ 'numpy >= 1.20.0', - 'pandas >= 1.2.0', + 'pandas >= 1.3.0', 'pvlib >= 0.9.4', 'scipy >= 1.6.0', 'statsmodels >= 0.13.0',