You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 02f185f
Browse filesBrowse the repository at this point in the historyBrowse files
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*
Copy file name to clipboardExpand all lines: docs/introduction/01_setting_up.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This guide will help you get started with Crawlee by setting it up on your compu
14
14
15
15
Before installing Crawlee itself, make sure that your system meets the following requirements:
16
16
17
-
-**Python 3.10 or higher**: Crawlee requires Python 3.10 or a newer version. You can download Python from the [official website](https://python.org/downloads/).
17
+
-**Python 3.11 or higher**: Crawlee requires Python 3.11 or a newer version. You can download Python from the [official website](https://python.org/downloads/).
18
18
-**Python package manager**: While this guide uses [pip](https://pip.pypa.io/) (the most common package manager), you can also use any package manager you want. You can download pip from the [official website](https://pip.pypa.io/en/stable/installation/).
This page summarizes the breaking changes between Crawlee for Python v1 and v2.
7
+
8
+
## Python version support
9
+
10
+
We drop support for Python 3.10, which reached its end of life in October 2026. The minimum supported version is now Python 3.11.
11
+
12
+
## `Event` is a `StrEnum`
13
+
14
+
`Event` now subclasses `enum.StrEnum`. Calling `str()` on a member or formatting it in an f-string returns its value, for example `'systemInfo'`, where v1 returned `'Event.SYSTEM_INFO'`. Comparisons with plain strings work the same way as in v1.
0 commit comments