Skip to content

Commit 8bc594c

Browse files
AdamRJensenechedey-lskandersolarwholmgren
authored
Add Python 3.13 to test matrix (#2258)
* Add py3.13.yml test configuration * Update ci/requirements-py3.13.yml Co-authored-by: Echedey Luis <[email protected]> * Update ci/requirements-py3.13.yml Co-authored-by: Echedey Luis <[email protected]> * leave out numba * and pysam * fix yaml syntax issue * add 3.13 to remote-data tests also * whatsnew * Apply suggestions from code review Co-authored-by: Will Holmgren <[email protected]> --------- Co-authored-by: Echedey Luis <[email protected]> Co-authored-by: Kevin Anderson <[email protected]> Co-authored-by: Will Holmgren <[email protected]>
1 parent a440938 commit 8bc594c

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
fail-fast: false # don't cancel other matrix jobs when one fails
5858
matrix:
59-
python-version: [3.9, "3.10", "3.11", "3.12"]
59+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
6060
suffix: [''] # the alternative to "-min"
6161
include:
6262
- python-version: 3.9

.github/workflows/pytest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ 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.9, "3.10", "3.11", "3.12"]
15+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
1616
environment-type: [conda, bare]
1717
suffix: [''] # placeholder as an alternative to "-min"
1818
include:

ci/requirements-py3.13.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: test_env
2+
channels:
3+
- defaults
4+
- conda-forge
5+
dependencies:
6+
- coveralls
7+
- cython
8+
- ephem
9+
- h5py
10+
- numba
11+
- numpy >= 1.17.3
12+
- pandas >= 1.3.0
13+
- pip
14+
- pytest
15+
- pytest-cov
16+
- pytest-mock
17+
- requests-mock
18+
- pytest-timeout
19+
- pytest-rerunfailures
20+
- conda-forge::pytest-remotedata # version in default channel is old
21+
- python=3.13
22+
- pytz
23+
- requests
24+
- scipy >= 1.6.0
25+
- statsmodels
26+
- pip:
27+
- nrel-pysam>=2.0
28+
- solarfactors

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

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Documentation
2727

2828
Testing
2929
~~~~~~~
30+
* Added Python 3.13 to test suite. (:pull:`2258`)
3031

3132

3233
Requirements

0 commit comments

Comments
 (0)