Add support for Python 3.13 -- update environment files and GitHub Actions#353
Merged
Add support for Python 3.13 -- update environment files and GitHub Actions#353
Conversation
.github/workflows/build-gcpy-environment-py312.yml - Renamed from build-gcpy-environment.yml (for Python 3.12) .github/workflows/build-gcpy-environment-py313.yml - Added new GitHub Action workflow for Python 313 docs/environment_files/gcpy_environment_py312.yml - Renamed from "gcpy_environment.yml" docs/environment_files/gcpy_environment_py313.yml - Added, with package specifications for Python 313 docs/environment_files/gcpy_requirements.txt requirements.txt - Removed docs/source/Getting-Started-with-GCPy.rst - Added package versions for Python 3.13 - Updated documentation, added claryifying text CHANGELOG.md docs/environment_files/README.md - Updated accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
.githug/workflows/build-rtd-environment.yml - Removed Python 3.8 from the "python-version" list. Python 3.8 has now been de-supported. CHANGELOG.md - Updated accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
msulprizio
approved these changes
Mar 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Name and Institution (Required)
Name: Bob Yantosca
Institution: Harvard + GCST
Describe the update
This PR updates GCPy for compatibility with Python 3.13 (the most recent Python version). While the default GCPy environment for mamba/conda is still based on Python 3.12, we now provide environment files for Python 3.13. We have also added a new GitHub Action to test building of the environment for Python 3.13. ReadTheDocs documentation has also been updated accordingly.
Expected changes
This should be a zero-diff update, as the default Python environment is now unchanged.
Related Github Issue