From 711aea7b0f56be58eb4b7013c5197184bca5262a Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Mon, 6 May 2024 11:58:54 -0400 Subject: [PATCH 1/6] update setup-python action to v4 --- .github/workflows/lint-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index ac19a9e0..9cc16ec8 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 805d741f52451429182b467ae5b5274ffc7e50e1 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Mon, 6 May 2024 11:59:56 -0400 Subject: [PATCH 2/6] drop 3.7 --- .github/workflows/lint-and-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 9cc16ec8..cbf34c60 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.7, 3.8, 3.9, "3.10", "3.11", "3.12"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] requirements: [''] include: - requirements: "-r requirements-min.txt" - python-version: 3.7 + python-version: 3.8 os: ubuntu-latest runs-on: ${{ matrix.os }} From a4aff764fd7bc430e3cc122710b218fe09c90cd3 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Mon, 6 May 2024 12:02:47 -0400 Subject: [PATCH 3/6] bump statsmodels minimum for py3.8 compat --- .github/workflows/lint-and-test.yml | 2 +- requirements-min.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index cbf34c60..b52ef04d 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -64,7 +64,7 @@ jobs: strategy: matrix: - python-version: [3.7] + python-version: [3.8] runs-on: ubuntu-latest diff --git a/requirements-min.txt b/requirements-min.txt index 9067f69e..5cfe0a0b 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -2,5 +2,5 @@ numpy~=1.16.0 pandas~=1.0.0 pvlib~=0.9.4 scipy~=1.6.0 -statsmodels~=0.9.0 +statsmodels~=0.10.0 scikit-image~=0.16.0 From f10706201463555f9cdb950b86b13bf8cff25f60 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Mon, 6 May 2024 12:04:51 -0400 Subject: [PATCH 4/6] and numpy --- requirements-min.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-min.txt b/requirements-min.txt index 5cfe0a0b..2d49e7e1 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -1,4 +1,4 @@ -numpy~=1.16.0 +numpy~=1.17.0 pandas~=1.0.0 pvlib~=0.9.4 scipy~=1.6.0 From 3ffc3dfe10096b98e75141fc6e7fb728b3a3a354 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Mon, 6 May 2024 12:10:23 -0400 Subject: [PATCH 5/6] update setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index afaadeb6..c489a091 100644 --- a/setup.py +++ b/setup.py @@ -33,11 +33,11 @@ ] INSTALL_REQUIRES = [ - 'numpy >= 1.16.0', + 'numpy >= 1.17.0', 'pandas >= 1.0.0, != 1.1.*', 'pvlib >= 0.9.4', 'scipy >= 1.6.0', - 'statsmodels >= 0.9.0', + 'statsmodels >= 0.10.0', 'scikit-image >= 0.16.0', 'importlib-metadata; python_version < "3.8"', ] From 288345886d142ff6e7532a923057a7faabf5765d Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Mon, 6 May 2024 12:11:47 -0400 Subject: [PATCH 6/6] whatsnew --- docs/whatsnew/0.2.1.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docs/whatsnew/0.2.1.rst diff --git a/docs/whatsnew/0.2.1.rst b/docs/whatsnew/0.2.1.rst new file mode 100644 index 00000000..094cf942 --- /dev/null +++ b/docs/whatsnew/0.2.1.rst @@ -0,0 +1,30 @@ +.. _whatsnew_021: + +0.2.1 (not yet released) +------------------------ + + +Enhancements +~~~~~~~~~~~~ + + +Bug Fixes +~~~~~~~~~ + + +Requirements +~~~~~~~~~~~~ +* Minimum python advanced to 3.8. (:pull:`210`) +* Minimum statsmodels advanced to 0.10.0 and numpy to 1.17.0. (:pull:`210`) + +Documentation +~~~~~~~~~~~~~ + + +Testing +~~~~~~~ + + + +Contributors +~~~~~~~~~~~~