Skip to content

GEOPY-2741: update to Python 3.12#104

Open
domfournier wants to merge 7 commits intodevelopfrom
GEOPY-2741
Open

GEOPY-2741: update to Python 3.12#104
domfournier wants to merge 7 commits intodevelopfrom
GEOPY-2741

Conversation

@domfournier
Copy link
Copy Markdown
Contributor

@domfournier domfournier commented Mar 16, 2026

GEOPY-2741 - continue update to Python 3.12

Copilot AI review requested due to automatic review settings March 16, 2026 18:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

domfournier and others added 4 commits March 16, 2026 11:22
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
Copy link
Copy Markdown

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.88%. Comparing base (114b415) to head (f988bf1).

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           
Files with missing lines Coverage Δ
tests/import_las_test.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sebhmg sebhmg changed the title GEOPY-2741 GEOPY-2741: update to Python 3.12 Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants