diff --git a/.github/workflows/pytest-remote-data.yml b/.github/workflows/pytest-remote-data.yml index f98219c942..66fda9cdea 100644 --- a/.github/workflows/pytest-remote-data.yml +++ b/.github/workflows/pytest-remote-data.yml @@ -56,7 +56,7 @@ 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"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] suffix: [''] # the alternative to "-min" include: - python-version: "3.10" diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c71cf7ed89..0008571d2b 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] environment-type: [conda, bare] suffix: [''] # placeholder as an alternative to "-min" include: diff --git a/ci/requirements-py3.14.yml b/ci/requirements-py3.14.yml new file mode 100644 index 0000000000..1b1501c66f --- /dev/null +++ b/ci/requirements-py3.14.yml @@ -0,0 +1,28 @@ +name: test_env +channels: + - defaults + - conda-forge +dependencies: + - coveralls + - cython + - ephem + - h5py + # - numba # not available for py 3.14 as of 2025-11-03 + - numpy >= 1.21.2 + - pandas >= 1.3.3 + - pip + - pytest + - pytest-cov + - pytest-mock + - requests-mock + - pytest-timeout + - pytest-rerunfailures + - conda-forge::pytest-remotedata # version in default channel is old + - python=3.14 + - pytz + - requests + - scipy >= 1.7.2 + - statsmodels + - pip: + # - nrel-pysam>=2.0 # not available for py 3.14 as of 2025-11-03 + - solarfactors diff --git a/docs/sphinx/source/whatsnew/v0.13.2.rst b/docs/sphinx/source/whatsnew/v0.13.2.rst index d4cd10b5e7..ec77fc4441 100644 --- a/docs/sphinx/source/whatsnew/v0.13.2.rst +++ b/docs/sphinx/source/whatsnew/v0.13.2.rst @@ -50,6 +50,7 @@ Documentation Testing ~~~~~~~ +* Added Python 3.14 to test suite. (:pull:`2590`) Benchmarking