+
Skip to content

Add support for Python 3.13 -- update environment files and GitHub Actions #353

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

Merged
merged 2 commits into from
Mar 10, 2025

Conversation

yantosca
Copy link
Contributor

@yantosca yantosca commented Mar 7, 2025

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

.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>
@yantosca yantosca added category: Feature Request New feature or request topic: User Environment Relating to python and/or conda environment topic: Dependencies Pull requests that update a dependency file topic: GitHub Actions Pertaining to GitHub Actions workflows labels Mar 7, 2025
@yantosca yantosca added this to the 1.7.0 milestone Mar 7, 2025
@yantosca yantosca requested a review from msulprizio March 7, 2025 20:35
@yantosca yantosca self-assigned this Mar 7, 2025
@yantosca yantosca changed the title Add support for Python 3.13 -- update environment files and GitHub Actons Add support for Python 3.13 -- update environment files and GitHub Actions Mar 7, 2025
.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>
@yantosca yantosca merged commit 645bf9d into dev Mar 10, 2025
17 checks passed
@yantosca yantosca deleted the feature/python-313-env branch March 10, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Feature Request New feature or request topic: Dependencies Pull requests that update a dependency file topic: GitHub Actions Pertaining to GitHub Actions workflows topic: User Environment Relating to python and/or conda environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载