Open
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the project’s supported Python/runtime baseline and dependency set, and synchronizes packaging, CI, and documentation to match.
Changes:
- Bump minimum Python version to 3.12 and adjust tooling targets (e.g., Ruff).
- Update core dependency versions (notably numpy/pydantic/geoh5py) and regenerate
poetry.lock. - Update CI workflows, docs build environment, and documentation text to reflect the new baseline.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
zizmor.yml |
Adds a zizmor rule configuration for unpinned GitHub Actions uses policies. |
recipe.yaml |
Raises python_min to 3.12 and updates conda runtime dependency pins. |
pyproject.toml |
Updates requires-python, dependency constraints, and lint/typecheck target settings. |
poetry.lock |
Regenerated lockfile reflecting new Python/dependency constraints and Poetry version. |
package.rst |
Updates stated minimum Python version and adjusts copyright years. |
docs/source/index.rst |
Updates copyright years. |
docs/environment.yml |
Updates docs build environment Python version to 3.12. |
README.rst |
Updates copyright years. |
.pre-commit-config.yaml |
Updates mypy hook dependency pins to match the newer numpy/pydantic versions. |
.github/workflows/python_deploy_dev.yml |
Updates deploy workflows to use Python 3.12. |
.github/workflows/python_analysis.yml |
Updates analysis/pytest matrix and Codecov reference version to Python 3.12+. |
Comments suppressed due to low confidence (1)
.pre-commit-config.yaml:43
- The mypy hook now pins numpy/pydantic to versions that likely require Python 3.12+. Since pre-commit’s python language version is set to the system “python3”, developers with an older default python3 may see hook environment creation failures. Consider pinning the pre-commit python language version to 3.12 (or documenting the requirement) so the hooks are reproducible.
additional_dependencies: [
numpy==2.4.*,
pydantic==2.12.*,
tomli, # to read config from pyproject.toml
types-toml,
types-PyYAML,
]
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #104 +/- ##
========================================
Coverage 93.88% 93.88%
========================================
Files 21 21
Lines 1177 1177
========================================
Hits 1105 1105
Misses 72 72
🚀 New features to boost your workflow:
|
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-2741 - continue update to Python 3.12