Skip to content

Commit

Permalink
Drop python 3.7; fix Mac OS CI jobs (#210)
Browse files Browse the repository at this point in the history
* update setup-python action to v4

* drop 3.7

* bump statsmodels minimum for py3.8 compat

* and numpy

* update setup.py

* whatsnew
  • Loading branch information
kandersolar authored May 6, 2024
1 parent 8efa87d commit 17ed48d
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ 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 }}

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
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:

strategy:
matrix:
python-version: [3.7]
python-version: [3.8]

runs-on: ubuntu-latest

Expand Down
30 changes: 30 additions & 0 deletions docs/whatsnew/0.2.1.rst
Original file line number Diff line number Diff line change
@@ -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
~~~~~~~~~~~~
4 changes: 2 additions & 2 deletions requirements-min.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy~=1.16.0
numpy~=1.17.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
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
]
Expand Down

0 comments on commit 17ed48d

Please sign in to comment.