-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update to Python 3.13 #92
Conversation
Added Python 3.13.0rc2 to the pytest-with-coverage workflow python-version matrix to test compatibility with the latest release candidate. Also added 'conda-forge/label/python_rc' channel to the test environment configuration to enable installation of the release candidate.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #92 +/- ##
========================================
Coverage 60.60% 60.60%
========================================
Files 16 16
Lines 2330 2330
Branches 401 126 -275
========================================
Hits 1412 1412
Misses 918 918
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Changed from Python 3.13.0rc2 to 3.13 in the pytest-with-coverage workflow python-version matrix to test compatibility with the final release. Also dropped the 'conda-forge/label/python_rc' channel from the test environment configuration because it is no longer needed.
Upgraded the OS to Ubuntu 24.04 and updated the Python toolchain to mambaforge-23.11 in the .readthedocs.yaml file. This ensures compatibility with the latest environment settings.
Upgraded Python from version 3.12 to 3.13 across various YAML files. This includes updates to development, RTD, and HPC environments, as well as GHA sphinx-linkcheck workflow.
Updated Sphinx and optional dependencies packages pinned versions in `environment-dev.yaml`, `environment-test.yaml`, and `environment-rtd.yaml` to get functional Python 3.13 environment.
Upgraded the required Python version to 3.13 in `pyproject.toml` and updated related documentation and links to reflect this change.
Reverted the required Python version from 3.13 to 3.11 in pyproject.toml because I made a mistake. It has to be the oldest version that the package supports, and we're leaving that at 3.11 due to several group members' envs on graham.
Wait to merge until the SalishSeaCmd package has been updated and the two have been tested in a Python 3.13 env on |
Successfully tested in conjunction with Python 3.13 update of SalishSeaCmd package in a new Python 3.13 env on |
conda-forge/label/python_rc
channel to test environment descriptionAfter Python 3.13 release on 7-Oct-2024, and availability of Python 3.13 in conda-forge channel:
conda-forge/label/python_rc
channel from test environment descriptionenvironment-dev.yaml
environment-hpc.yaml
environment-rtd.yaml