Repository navigation
chore!: drop Python 3.10 support - #2295
Merged
Merged
Conversation
BREAKING CHANGE: The minimum supported Python version is 3.11. `Event` is now a `StrEnum`, so `str()` on a member returns its value.
vdusek
marked this pull request as ready for review
October 13, 2026 11:14
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## v2 #2295 +/- ##
==========================================
- Coverage 94.11% 94.09% -0.03%
==========================================
Files 183 183
Lines 13570 13565 -5
==========================================
- Hits 12772 12764 -8
- Misses 798 801 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
vdusek
added a commit
that referenced
this pull request
Oct 16, 2026
First cleanup PR for v2. Python 3.10 reached end of life on 2026-10-04, so Crawlee v2 requires Python 3.11 or newer. - Bumps `requires-python` to `>=3.11` in the package and in the project template, updates the classifiers, the ty target and the CI matrix, and regenerates `uv.lock`. - Applies the ruff fixes the new target enables: `datetime.UTC`, builtin `TimeoutError`, and `typing` imports of `Self` / `NotRequired`. `Event` becomes a `StrEnum`, so `str(Event.X)` returns the value. - Removes the 3.11 skips and the `_restore_crawlers_binding` fixture, which only existed for 3.10. - Adds an "Upgrading to v2" page and updates the Python version in the README and docs. The `apify_client<3.0.0` dev pin and the `async-timeout` dependency (#2052) will go in separate PRs. Closes: #1721 *✍️ Drafted by Claude Code*
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.
First cleanup PR for v2. Python 3.10 reached end of life on 2026-10-04, so Crawlee v2 requires Python 3.11 or newer.
requires-pythonto>=3.11in the package and in the project template, updates the classifiers, the ty target and the CI matrix, and regeneratesuv.lock.datetime.UTC, builtinTimeoutError, andtypingimports ofSelf/NotRequired.Eventbecomes aStrEnum, sostr(Event.X)returns the value._restore_crawlers_bindingfixture, which only existed for 3.10.The
apify_client<3.0.0dev pin and theasync-timeoutdependency (#2052) will go in separate PRs.Closes: #1721
✍️ Drafted by Claude Code