Skip to content

Commit 52afdcf

Browse files
Remove Python version 3.8 (#2213)
* Remove python version 3.8 * Add py3.9-min * Update min numpy in pyproject.toml * Update asv.conf.json * Update v0.11.1.rst * Update versions in asv.conf.json * Bumping numpy version in asv.conf.json * Update v0.11.1.rst * Update codecov python version * Remove dataclassees in requirements-py3.9-min.yml Co-authored-by: Kevin Anderson <[email protected]> --------- Co-authored-by: Kevin Anderson <[email protected]>
1 parent cc700f9 commit 52afdcf

File tree

8 files changed

+22
-49
lines changed

8 files changed

+22
-49
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v2
2424
with:
25-
python-version: 3.8
25+
python-version: 3.9
2626

2727
- name: Install build tools
2828
run: |

.github/workflows/pytest-remote-data.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
strategy:
5757
fail-fast: false # don't cancel other matrix jobs when one fails
5858
matrix:
59-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
59+
python-version: [3.9, "3.10", "3.11", "3.12"]
6060
suffix: [''] # the alternative to "-min"
6161
include:
62-
- python-version: 3.8
62+
- python-version: 3.9
6363
suffix: -min
6464

6565
runs-on: ubuntu-latest
@@ -103,7 +103,7 @@ jobs:
103103
run: pytest pvlib/tests/iotools --cov=./ --cov-report=xml --remote-data
104104

105105
- name: Upload coverage to Codecov
106-
if: matrix.python-version == 3.8 && matrix.suffix == ''
106+
if: matrix.python-version == 3.9 && matrix.suffix == ''
107107
uses: codecov/codecov-action@v4
108108
with:
109109
fail_ci_if_error: true

.github/workflows/pytest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
fail-fast: false # don't cancel other matrix jobs when one fails
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
15+
python-version: [3.9, "3.10", "3.11", "3.12"]
1616
environment-type: [conda, bare]
1717
suffix: [''] # placeholder as an alternative to "-min"
1818
include:
1919
- os: ubuntu-latest
20-
python-version: 3.8
20+
python-version: 3.9
2121
environment-type: conda
2222
suffix: -min
2323
exclude:
@@ -82,7 +82,7 @@ jobs:
8282
pytest pvlib --cov=./ --cov-report=xml --ignore=pvlib/tests/iotools
8383
8484
- name: Upload coverage to Codecov
85-
if: matrix.python-version == 3.8 && matrix.suffix == '' && matrix.os == 'ubuntu-latest' && matrix.environment-type == 'conda'
85+
if: matrix.python-version == 3.9 && matrix.suffix == '' && matrix.os == 'ubuntu-latest' && matrix.environment-type == 'conda'
8686
uses: codecov/codecov-action@v4
8787
with:
8888
fail_ci_if_error: true

benchmarks/asv.conf.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,19 @@
113113
"include": [
114114
// minimum supported versions
115115
{
116-
"python": "3.8",
116+
"python": "3.9",
117117
"build": "",
118-
"numpy": "1.17.5",
118+
"numpy": "1.19.5",
119119
"pandas": "1.3.0",
120120
"scipy": "1.6.0",
121121
// Note: these don't have a minimum in setup.py
122122
"h5py": "3.1.0",
123-
"ephem": "3.7.7.0", // first version to support py 3.8
124-
"numba": "0.47.0", // first version to support py 3.8
123+
"ephem": "4.0.0.1", // first version to support py 3.9
124+
"numba": "0.53.0", // first version to support py 3.9
125125
},
126126
// latest versions available
127127
{
128-
"python": "3.8",
128+
"python": "3.9",
129129
"build": "",
130130
"numpy": "",
131131
"pandas": "",

ci/requirements-py3.8.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

ci/requirements-py3.8-min.yml renamed to ci/requirements-py3.9-min.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ dependencies:
88
- pytest-cov
99
- pytest-mock
1010
- pytest-timeout
11-
- python=3.8
11+
- python=3.9
1212
- pytz
1313
- requests
1414
- pip:
15-
- dataclasses
16-
- h5py==2.10.0 # chosen for compatibility with numpy 1.17.3 and py3.8
17-
- numpy==1.17.3
18-
- pandas==1.3.0
15+
- h5py==3.0.0
16+
- numpy==1.19.3
17+
- pandas==1.3.0 # min version of pvlib
1918
- scipy==1.6.0
2019
- pytest-rerunfailures # conda version is >3.6
2120
- pytest-remotedata # conda package is 0.3.0, needs > 0.3.1

docs/sphinx/source/whatsnew/v0.11.1.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ Documentation
7979

8080
Requirements
8181
~~~~~~~~~~~~
82-
82+
* Python 3.9 or greater. (:pull:`2213`)
83+
* Minimum numpy version increased to v1.19.3. (:pull:`2213`)
8384

8485
Contributors
8586
~~~~~~~~~~~~
@@ -98,4 +99,5 @@ Contributors
9899
* Marcos R. Escudero (:ghuser:`marc-resc`)
99100
* Bernat Nicolau (:ghuser:`BernatNicolau`)
100101
* Eduardo Sarquis (:ghuser:`EduardoSarquis`)
101-
* Andrew B Godbehere (:ghuser:`agodbehere`)
102+
* Adam R. Jensen (:ghuser:`AdamRJensen`)
103+
* Andrew B Godbehere (:ghuser:`agodbehere`)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ description = "A set of functions and classes for simulating the performance of
99
authors = [
1010
{ name = "pvlib python Developers", email = "[email protected]" },
1111
]
12-
requires-python = ">=3.8"
12+
requires-python = ">=3.9"
1313
dependencies = [
14-
'numpy >= 1.17.3',
14+
'numpy >= 1.19.3',
1515
'pandas >= 1.3.0',
1616
'pytz',
1717
'requests',

0 commit comments

Comments
 (0)