Skip to content

Set the minimum supported python version to 3.12#141

Merged
d-v-b merged 4 commits into
EOPF-Explorer:mainfrom
d-v-b:chore/min-python-3.12
Mar 24, 2026
Merged

Set the minimum supported python version to 3.12#141
d-v-b merged 4 commits into
EOPF-Explorer:mainfrom
d-v-b:chore/min-python-3.12

Conversation

@d-v-b
Copy link
Copy Markdown
Contributor

@d-v-b d-v-b commented Mar 24, 2026

3.11 is nearly outside the support window for much of the pydata stack
and 3.12 will allow pydantic to have full compatibility with typing.TypedDict,
which one of our dependencies (zarr-cm) uses extensively.

3.11 is nearly outside the support window for much of the pydata stack
and 3.12 will allow pydantic to have full compatibility with `typing.TypedDict`,
which one of our dependencies (`zarr-cm`) uses extensively.
@d-v-b d-v-b requested a review from emmanuelmathot March 24, 2026 09:01
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 24, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 77.50000% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/eopf_geozarr/conversion/geozarr.py 0.00% 3 Missing ⚠️
src/eopf_geozarr/pyz/v3.py 0.00% 3 Missing ⚠️
src/eopf_geozarr/data_api/geozarr/v2.py 0.00% 1 Missing ⚠️
src/eopf_geozarr/data_api/s1.py 66.66% 1 Missing ⚠️
src/eopf_geozarr/data_api/s2.py 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

d-v-b added 3 commits March 24, 2026 11:40
Python 3.12 introduces large changes to how type annotations work, such as allowing generic functions and classes
to use a new syntax for declaring their type parameters. There are also some new features from typing_extensions,
such as the `Sentinel` type. This commit updates the codebase to use these new features correctly, which allows
CI to pass.
@d-v-b d-v-b merged commit d4409b1 into EOPF-Explorer:main Mar 24, 2026
4 checks passed
@d-v-b d-v-b deleted the chore/min-python-3.12 branch March 24, 2026 13:52
@github-actions github-actions Bot mentioned this pull request Mar 25, 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.

3 participants