Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python 3.12 to CI #1886

Merged
merged 9 commits into from
Dec 12, 2023
Merged
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/pytest-remote-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
strategy:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
suffix: [''] # the alternative to "-min"
include:
- python-version: 3.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
environment-type: [conda, bare]
suffix: [''] # placeholder as an alternative to "-min"
include:
Expand Down
28 changes: 28 additions & 0 deletions ci/requirements-py3.12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test_env
channels:
- defaults
- conda-forge
dependencies:
- coveralls
- cython
- ephem
- h5py
# - numba # not available for 3.12 as of 2023-12-12
- numpy >= 1.16.0
- pandas >= 0.25.0
- pip
- pytest
- pytest-cov
- pytest-mock
- requests-mock
- pytest-timeout
- pytest-rerunfailures
- pytest-remotedata
- python=3.12
- pytz
- requests
- scipy >= 1.5.0
- statsmodels
# - pip:
# - nrel-pysam>=2.0 # not available for 3.12 as of 2023-12-12
# - solarfactors # required shapely<2 isn't available for 3.12
2 changes: 1 addition & 1 deletion docs/sphinx/source/whatsnew/v0.10.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Bug fixes
Testing
~~~~~~~
* Replace use of deprecated ``pkg_resources``. (:issue:`1881`, :pull:`1882`)

* Added Python 3.12 to test suite. (:pull:`1886`)

Documentation
~~~~~~~~~~~~~
Expand Down
Loading