Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ otel = [
]
sql_postgres = [
"sqlalchemy[asyncio]>=2.0.0,<3.0.0",
"asyncpg>=0.24.0; python_version < '3.14'" # TODO: https://github.com/apify/crawlee-python/issues/1555
"asyncpg>=0.24.0"
]
sql_sqlite = [
"sqlalchemy[asyncio]>=2.0.0,<3.0.0",
Expand Down
9 changes: 0 additions & 9 deletions src/crawlee/storage_clients/_sql/_storage_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import sys
import warnings
from datetime import timedelta
from pathlib import Path
Expand Down Expand Up @@ -269,14 +268,6 @@ def _get_or_create_engine(self, configuration: Configuration) -> AsyncEngine:
'Unsupported database. Supported: sqlite, postgresql. Consider using a different database.'
)

# TODO: https://github.com/apify/crawlee-python/issues/1555
if 'postgresql' in connection_string and sys.version_info >= (3, 14):
raise ValueError(
'SqlStorageClient cannot use PostgreSQL with Python 3.14 '
'due to asyncpg compatibility limitations. '
'Please use Python 3.13 or earlier, or switch to SQLite.'
)

self._engine = create_async_engine(
connection_string,
future=True,
Expand Down
Loading
Loading