Repository navigation
build: Remove support for Python 3.10 - #414
Merged
Merged
Conversation
Oliver Borchert (borchero)
requested review from
Andreas Albert (AndreasAlbertQC) and
Daniel Elsner (delsner)
as code owners
October 9, 2026 00:03
Copilot started reviewing on behalf of
Oliver Borchert (borchero)
October 9, 2026 00:03
View session
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #414 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 46 46
Lines 2616 2584 -32
=========================================
- Hits 2616 2584 -32 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The CI matrix runs Python 3.11 twice on every operating system, creating redundant jobs.
1 open finding
What changed in this PR
Raises the minimum supported Python version to 3.11 across packaging, builds, tooling, and compatibility code.
Changes:
- Updates package metadata, Pixi environments, PyO3 ABI, and build configuration.
- Removes Python 3.10 compatibility imports and dependency.
- Moves linting and CI coverage to Python 3.11+.
| File | Description |
|---|---|
pyproject.toml |
Requires Python 3.11 and removes compatibility dependency. |
pixi.toml |
Replaces Python 3.10 environments with 3.11. |
dataframely/schema.py |
Imports Self directly from typing. |
dataframely/filter_result.py |
Imports NamedTuple directly from typing. |
dataframely/config.py |
Imports Unpack directly from typing. |
dataframely/columns/_mixins.py |
Removes conditional Self import. |
dataframely/columns/_base.py |
Removes conditional Self import. |
dataframely/collection/filter_result.py |
Removes conditional NamedTuple import. |
dataframely/collection/collection.py |
Removes conditional Self import. |
dataframely/collection/_base.py |
Removes conditional Self import. |
dataframely/_rule.py |
Removes conditional Self import. |
dataframely/_deprecation.py |
Removes the typing_extensions decorator path. |
dataframely/_base_schema.py |
Removes conditional Self import. |
Cargo.toml |
Raises the PyO3 stable ABI baseline to 3.11. |
.lefthook.yaml |
Runs mypy in the Python 3.11 environment. |
.github/workflows/ci.yml |
Updates CI environments to Python 3.11+. |
.github/workflows/build.yml |
Builds wheels using Python 3.11. |
.copier-answers.yml |
Records Python 3.11 as the project minimum. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Removed duplicate Python version from environment matrix. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Daniel Elsner (delsner)
approved these changes
Oct 9, 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.

Motivation
Python 3.10 is EOL.