Skip to content

GEOPY-2741: Continue update to Python 3.12#119

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

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

Conversation

@domfournier
Copy link

@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 17:53
Copy link

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

This PR upgrades the minimum Python version from 3.10 to 3.12 and bumps major dependencies (numpy from 1.26 to 2.4, geoh5py from 0.12 to 0.13, Pillow from 10.3 to 12.1) across all configuration files. The requires-python upper bound is also tightened from <4.0 to <3.15.

Changes:

  • Bumped minimum Python version to 3.12 across pyproject.toml, recipe.yaml, CI workflows, and tooling config (ruff target, pre-commit).
  • Upgraded numpy to 2.4., geoh5py to 0.13., and related transitive dependencies (Pillow, h5py, pydantic); removed backport packages no longer needed for Python <3.11 (tomli, exceptiongroup).
  • Uncommented the numpy mypy dependency in .pre-commit-config.yaml and cleaned up the mypy plugins section.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
recipe.yaml Updated python_min to 3.12, bumped numpy and geoh5py version constraints
pyproject.toml Updated requires-python, numpy dep, ruff target version, cleaned up mypy plugins
poetry.lock Regenerated lock file reflecting all dependency upgrades and removed backport packages
.pre-commit-config.yaml Uncommented numpy dependency for mypy hook, updated to 2.4.*
.github/workflows/python_deploy_dev.yml Updated Python version to 3.12 for deploy jobs
.github/workflows/python_analysis.yml Updated Python versions to 3.12 base and test matrix to 3.12–3.14

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sebhmg sebhmg changed the title GEOPY-2741 GEOPY-2741: Continue update to Python 3.12 Mar 16, 2026
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.83%. Comparing base (a42a200) to head (2b75776).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #119   +/-   ##
========================================
  Coverage    92.82%   92.83%           
========================================
  Files           27       27           
  Lines         1506     1507    +1     
========================================
+ Hits          1398     1399    +1     
  Misses         108      108           
Files with missing lines Coverage Δ
tests/conftest.py 100.00% <ø> (ø)
tests/convert_grid2d_test.py 100.00% <100.00%> (ø)
tests/convert_volume_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.

@RichardScottOZ
Copy link

@domfournier if I want to use this currently - which branch / python / geoh5py do you recommend please?

@domfournier domfournier mentioned this pull request Mar 19, 2026
@domfournier
Copy link
Author

@domfournier if I want to use this currently - which branch / python / geoh5py do you recommend please?

Morning Richard,

Looks like you caught us during migration. See answer on your issue: #120 (comment)

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.

3 participants