GEOPY-2911: Migrate surface-apps to python 3.12#47
Open
domfournier wants to merge 6 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates surface-apps to Python 3.12+ across packaging, documentation, CI, and conda-lock artifacts, aligning dependency pins with the newer runtime and updating related build metadata.
Changes:
- Raise minimum supported Python version to 3.12 (and add 3.13 matrices/lockfiles) across docs, CI, and packaging metadata.
- Update key dependency pins (e.g., numpy/scipy/pydantic/geoh5py/geoapps-utils) and refresh conda-lock outputs for 3.12/3.13.
- Adjust build/doc tooling (recipe build env override, Sphinx version handling, ReadTheDocs python version).
Reviewed changes
Copilot reviewed 29 out of 32 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| recipe.yaml | Bumps python_min to 3.12, updates dependency constraints, and refines build/test sections for the conda recipe. |
| README.rst | Updates stated minimum Python version to 3.12+. |
| README-dev.rst | Updates developer-facing Python version list (but still references missing tooling; see comments). |
| pyproject.toml | Raises requires-python to >=3.12 and updates dependency constraints and tool config (ruff target). |
| package.rst | Updates stated minimum Python version to 3.12+. |
| install.bat | Updates default Python version used by the installer to 3.12. |
| environments/py-3.13-win-64.conda.lock.yml | Adds new conda-lock output for Python 3.13 on Windows runtime env. |
| environments/py-3.13-win-64-dev.conda.lock.yml | Adds new conda-lock output for Python 3.13 on Windows dev env. |
| environments/py-3.13-linux-64.conda.lock.yml | Adds new conda-lock output for Python 3.13 on Linux runtime env. |
| environments/py-3.13-linux-64-dev.conda.lock.yml | Adds new conda-lock output for Python 3.13 on Linux dev env. |
| environments/py-3.12-win-64.conda.lock.yml | Refreshes conda-lock output for Python 3.12 on Windows runtime env. |
| environments/py-3.12-win-64-dev.conda.lock.yml | Refreshes conda-lock output for Python 3.12 on Windows dev env. |
| environments/py-3.12-linux-64.conda.lock.yml | Refreshes conda-lock output for Python 3.12 on Linux runtime env. |
| environments/py-3.12-linux-64-dev.conda.lock.yml | Refreshes conda-lock output for Python 3.12 on Linux dev env. |
| environments/py-3.11-win-64.conda.lock.yml | Removes Python 3.11 Windows runtime lockfile. |
| environments/py-3.11-win-64-dev.conda.lock.yml | Removes Python 3.11 Windows dev lockfile. |
| environments/py-3.11-linux-64.conda.lock.yml | Removes Python 3.11 Linux runtime lockfile. |
| environments/py-3.11-linux-64-dev.conda.lock.yml | Removes Python 3.11 Linux dev lockfile. |
| environments/py-3.10-win-64.conda.lock.yml | Removes Python 3.10 Windows runtime lockfile. |
| environments/py-3.10-win-64-dev.conda.lock.yml | Removes Python 3.10 Windows dev lockfile. |
| environments/py-3.10-linux-64.conda.lock.yml | Removes Python 3.10 Linux runtime lockfile. |
| environments/py-3.10-linux-64-dev.conda.lock.yml | Removes Python 3.10 Linux dev lockfile. |
| environments/env-python-3.13.yml | Adds a minimal env input file for conda-lock targeting Python 3.13. |
| docs/source/conf.py | Tweaks how the docs derive/display version when building Sphinx docs. |
| deps-lock-config.yaml | Updates the python versions list to 3.12/3.13 for dependency locking. |
| .readthedocs.yaml | Bumps ReadTheDocs build python to 3.12. |
| .github/workflows/python_deploy_dev.yml | Updates publish workflows to run with Python 3.12. |
| .github/workflows/python_analysis.yml | Updates analysis/pytest matrix to Python 3.12/3.13 and updates codecov reference version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/GA_4.8 #47 +/- ##
==================================================
+ Coverage 76.63% 77.40% +0.76%
==================================================
Files 5 5
Lines 244 239 -5
Branches 29 29
==================================================
- Hits 187 185 -2
+ Misses 47 44 -3
Partials 10 10
🚀 New features to boost your workflow:
|
sebhmg
requested changes
Jun 15, 2026
sebhmg
approved these changes
Jun 15, 2026
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.
GEOPY-2911 - Migrate surface-apps to python 3.12