Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-python@v5
with:
# Python version should be the minimum supported version
python-version: "3.10"
python-version: "3.11"

- name: Install build tools
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-remote-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
strategy:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
suffix: [''] # the alternative to "-min"
include:
- python-version: "3.10"
- python-version: "3.11"
suffix: -min

runs-on: ubuntu-latest
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
run: pytest tests/iotools --cov=./ --cov-report=xml --remote-data

- name: Upload coverage to Codecov
if: matrix.python-version == '3.10' && matrix.suffix == ''
if: matrix.python-version == '3.11' && matrix.suffix == ''
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
environment-type: [conda, bare]
suffix: [''] # placeholder as an alternative to "-min"
include:
- os: ubuntu-latest
python-version: "3.10"
python-version: "3.11"
environment-type: conda
suffix: -min
exclude:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
pytest tests --cov=./ --cov-report=xml --ignore=tests/iotools

- name: Upload coverage to Codecov
if: matrix.python-version == '3.10' && matrix.suffix == '' && matrix.os == 'ubuntu-latest' && matrix.environment-type == 'conda'
if: matrix.python-version == '3.11' && matrix.suffix == '' && matrix.os == 'ubuntu-latest' && matrix.environment-type == 'conda'
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
Expand Down
16 changes: 8 additions & 8 deletions benchmarks/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,19 @@
"include": [
// minimum supported versions
{
"python": "3.10",
"python": "3.11",
"build": "",
"numpy": "1.21.5",
"pandas": "1.4.1", // first anaconda version to support py 3.10
"scipy": "1.7.2",
"numpy": "1.23.5",
"pandas": "1.5.1", // first anaconda version to support py 3.11
"scipy": "1.9.3", // first anaconda version to support py 3.11
// Note: these don't have a minimum in setup.py
"h5py": "3.6.0", // first version to support py 3.10
"ephem": "4.1.1", // first version to support py 3.10
"numba": "0.55.0", // first version to support py 3.10
"h5py": "3.9.0", // first anaconda version to support py 3.11
"ephem": "4.1.5", // first anaconda version to support py 3.11
"numba": "0.57.0", // first anaconda version to support py 3.11
},
// latest versions available
{
"python": "3.10",
"python": "3.11",
"build": "",
"numpy": "",
"pandas": "",
Expand Down
28 changes: 0 additions & 28 deletions ci/requirements-py3.10.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ dependencies:
- pytest-cov
- pytest-mock
- pytest-timeout
- python=3.10
- python=3.11
- pytz
- requests
- pip:
- h5py==3.6.0
- numpy==1.21.2
- pandas==1.3.3 # min version of pvlib
- scipy==1.7.2
- h5py==3.8.0
- numpy==1.23.2
- pandas==1.5.0
- scipy==1.9.2
- pytest-rerunfailures # conda version is >3.6
- pytest-remotedata # conda package is 0.3.0, needs > 0.3.1
- requests-mock
6 changes: 6 additions & 0 deletions docs/sphinx/source/whatsnew/v0.16.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ Benchmarking

Requirements
~~~~~~~~~~~~
* Increase minimum requirements to (:pull:`2860`):

- python: 3.11
- numpy: 1.23.2
- pandas: 1.5.0
- scipy: 1.9.2


Maintenance
Expand Down
9 changes: 3 additions & 6 deletions pvlib/singlediode.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,7 @@ def vd_from_brent(voc, v, iph, isat, rs, rsh, gamma, d2mutau, NsVbi,
except ModuleNotFoundError as e:
# TODO remove this when our minimum scipy version is >=1.15
msg = (
"method='chandrupatla' requires scipy v1.15 or greater "
"(available for Python 3.10+). "
"method='chandrupatla' requires scipy v1.15 or greater. "
"Select another method, or update your version of scipy."
)
raise ImportError(msg) from e
Expand Down Expand Up @@ -517,8 +516,7 @@ def vd_from_brent(voc, i, iph, isat, rs, rsh, gamma, d2mutau, NsVbi,
except ModuleNotFoundError as e:
# TODO remove this when our minimum scipy version is >=1.15
msg = (
"method='chandrupatla' requires scipy v1.15 or greater "
"(available for Python 3.10+). "
"method='chandrupatla' requires scipy v1.15 or greater. "
"Select another method, or update your version of scipy."
)
raise ImportError(msg) from e
Expand Down Expand Up @@ -684,8 +682,7 @@ def fmpp(x, *a):
except ModuleNotFoundError as e:
# TODO remove this when our minimum scipy version is >=1.15
msg = (
"method='chandrupatla' requires scipy v1.15 or greater "
"(available for Python 3.10+). "
"method='chandrupatla' requires scipy v1.15 or greater. "
"Select another method, or update your version of scipy."
)
raise ImportError(msg) from e
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ description = "A set of functions and classes for simulating the performance of
authors = [
{ name = "pvlib python Developers", email = "pvlib-admin@googlegroups.com" },
]
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
'numpy >= 1.21.2',
'pandas >= 1.3.3',
'numpy >= 1.23.2',
'pandas >= 1.5.0',
'pytz',
'requests',
'scipy >= 1.7.2',
'scipy >= 1.9.2',
'h5py',
'tzdata', # ensure all timezones are available in all installs for consistency GH#2795
]
Expand Down
Loading