Skip to content

Commit 581ebae

Browse files
committed
fix: Restrict apify-shared and apify-client versions (#523)
1 parent c61d477 commit 581ebae

File tree

3 files changed

+292
-267
lines changed

3 files changed

+292
-267
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ keywords = [
3535
"scraping",
3636
]
3737
dependencies = [
38-
"apify-client>=1.11.0",
39-
"apify-shared>=1.3.0",
38+
"apify-client<2.0.0",
39+
"apify-shared<2.0.0",
4040
"crawlee~=0.6.0",
4141
"cryptography>=42.0.0",
4242
"httpx>=0.27.0",

tests/integration/test_actor_api_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,12 @@ async def main_server() -> None:
400400
async with Actor:
401401

402402
class WebhookHandler(BaseHTTPRequestHandler):
403-
def do_GET(self) -> None: # noqa: N802
403+
def do_GET(self) -> None:
404404
self.send_response(200)
405405
self.end_headers()
406406
self.wfile.write(bytes('Hello, world!', encoding='utf-8'))
407407

408-
def do_POST(self) -> None: # noqa: N802
408+
def do_POST(self) -> None:
409409
nonlocal webhook_body
410410
content_length = self.headers.get('content-length')
411411
length = int(content_length) if content_length else 0

0 commit comments

Comments
 (0)