Skip to content

Commit 9967880

Browse files
authored
Merge branch 'master' into upgrading-guide
2 parents 8e86946 + 13002d1 commit 9967880

File tree

2 files changed

+26
-36
lines changed

2 files changed

+26
-36
lines changed

pyproject.toml

Lines changed: 25 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -46,42 +46,32 @@ keywords = [
4646
# https://github.com/apify/apify-sdk-python/pull/154.
4747
[tool.poetry.dependencies]
4848
python = "^3.9"
49-
aiofiles = "^22.1.0"
50-
aioshutil = "^1.0"
51-
apify-client = "^1.7.1"
52-
apify-shared = "^1.1.2"
53-
colorama = "^0.4.6"
54-
crawlee = "^0.3.0"
55-
cryptography = "^42.0.4"
56-
httpx = "^0.27.0"
57-
lazy-object-proxy = "^1.10.0"
58-
psutil = "^6.0.0"
59-
pyee = "^11.0.0"
60-
scrapy = { version = "^2.11.0", optional = true }
61-
sortedcollections = "^2.0.0"
62-
typing-extensions = "^4.1.0"
63-
websockets = "^10.1"
49+
apify-client = ">=1.7.1"
50+
apify-shared = ">=1.1.2"
51+
crawlee = ">=0.3.0"
52+
cryptography = ">=42.0.0"
53+
httpx = ">=0.27.0"
54+
lazy-object-proxy = ">=1.10.0"
55+
scrapy = { version = ">=2.11.0", optional = true }
56+
typing-extensions = ">=4.1.0"
57+
websockets = ">=10.0"
6458

6559
[tool.poetry.group.dev.dependencies]
66-
build = "^1.2.0"
67-
filelock = "^3.15.0"
68-
mypy = "^1.11.0"
69-
pre-commit = "^3.8.0"
70-
pydoc-markdown = "^4.8.0"
71-
pytest = "^8.3.0"
72-
pytest-asyncio = "^0.24.0"
73-
pytest-cov = "^5.0.0"
74-
pytest-only = "^2.1.0"
75-
pytest-timeout = "^2.3.0"
76-
pytest-xdist = "^3.6.0"
77-
respx = "^0.21.0"
78-
ruff = "^0.6.0"
79-
setuptools = "^74.0.0" # setuptools are used by pytest but not explicitly required
80-
twine = "^5.1.0"
81-
types-aiofiles = "^24.1.0.20240626"
82-
types-colorama = "^0.4.15.20240311"
83-
types-psutil = "^6.0.0.20240621"
84-
griffe = "^1.2.0"
60+
build = "~1.2.0"
61+
filelock = "~3.15.0"
62+
griffe = "~1.2.0"
63+
mypy = "~1.11.0"
64+
pre-commit = "~3.8.0"
65+
pydoc-markdown = "~4.8.0"
66+
pytest = "~8.3.0"
67+
pytest-asyncio = "~0.24.0"
68+
pytest-cov = "~5.0.0"
69+
pytest-only = "~2.1.0"
70+
pytest-timeout = "~2.3.0"
71+
pytest-xdist = "~3.6.0"
72+
respx = "~0.21.0"
73+
ruff = "~0.6.0"
74+
setuptools = "~74.0.0" # setuptools are used by pytest but not explicitly required
8575

8676
[tool.poetry.extras]
8777
scrapy = ["scrapy"]
@@ -192,7 +182,7 @@ warn_unused_ignores = true
192182
exclude = []
193183

194184
[[tool.mypy.overrides]]
195-
module = ['scrapy', 'scrapy.*', 'sortedcollections', 'lazy_object_proxy']
185+
module = ['scrapy', 'scrapy.*', 'lazy_object_proxy']
196186
ignore_missing_imports = true
197187

198188
[tool.coverage.report]

tests/unit/test_event_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async def send_platform_event(event_name: Event, data: Any = None) -> None:
167167
if data:
168168
message['data'] = data
169169

170-
websockets.broadcast(connected_ws_clients, json.dumps(message)) # type: ignore
170+
websockets.broadcast(connected_ws_clients, json.dumps(message))
171171

172172
async with websockets.server.serve(handler, host='localhost') as ws_server:
173173
# When you don't specify a port explicitly, the websocket connection is opened on a random free port.

0 commit comments

Comments
 (0)