Skip to content

Commit f82d110

Browse files
committed
Merge branch 'master' into new-apify-storage-clients
2 parents ec2a9f0 + 3a3f8f1 commit f82d110

File tree

7 files changed

+219
-370
lines changed

7 files changed

+219
-370
lines changed

.github/workflows/pre_release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
# Or it can be triggered manually.
1212
workflow_dispatch:
1313

14+
concurrency:
15+
group: release
16+
cancel-in-progress: false
17+
1418
jobs:
1519
release_metadata:
1620
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
@@ -20,13 +24,13 @@ jobs:
2024
version_number: ${{ steps.release_metadata.outputs.version_number }}
2125
tag_name: ${{ steps.release_metadata.outputs.tag_name }}
2226
changelog: ${{ steps.release_metadata.outputs.changelog }}
23-
existing_changelog_path: CHANGELOG.md
2427
steps:
2528
- uses: apify/workflows/git-cliff-release@main
2629
id: release_metadata
2730
name: Prepare release metadata
2831
with:
2932
release_type: prerelease
33+
existing_changelog_path: CHANGELOG.md
3034

3135
lint_check:
3236
name: Lint check

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ on:
2121
type: string
2222
default: ""
2323

24+
concurrency:
25+
group: release
26+
cancel-in-progress: false
27+
2428
jobs:
2529
release_metadata:
2630
name: Prepare release metadata

.github/workflows/run_code_checks.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
# step required for PRs from forks. This prevents their potential exposure.
77
pull_request:
88

9+
# Trigger for pushing to the master branch is handled by the pre-release workflow.
10+
11+
# It should also be possible to trigger checks manually
12+
workflow_dispatch:
13+
914
jobs:
1015
lint_check:
1116
name: Lint check

CHANGELOG.md

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.7.2](https://github.com/apify/apify-sdk-python/releases/tag/v2.7.2) (2025-07-30)
6+
7+
### 🐛 Bug Fixes
8+
9+
- Restrict apify-shared and apify-client versions ([#523](https://github.com/apify/apify-sdk-python/pull/523)) ([581ebae](https://github.com/apify/apify-sdk-python/commit/581ebae5752a984a34cbabc02c49945ae392db00)) by [@vdusek](https://github.com/vdusek)
10+
11+
512
## [2.7.1](https://github.com/apify/apify-sdk-python/releases/tag/v2.7.1) (2025-07-24)
613

714
### 🐛 Bug Fixes
@@ -150,19 +157,19 @@ All notable changes to this project will be documented in this file.
150157
- [**breaking**] Drop support for Python 3.8
151158

152159

153-
## [1.7.2](../../releases/tag/v1.7.2) - 2024-07-08
160+
## [1.7.2](https://github.com/apify/apify-sdk-python/releases/tag/v1.7.2) (2024-07-08)
154161

155162
- Add Actor Standby port
156163

157164

158-
## [1.7.1](../../releases/tag/v1.7.1) - 2024-05-23
165+
## [1.7.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.7.1) (2024-05-23)
159166

160167
### 🐛 Bug Fixes
161168

162169
- Set a timeout for Actor cleanup
163170

164171

165-
## [1.7.0](../../releases/tag/v1.7.0) - 2024-03-12
172+
## [1.7.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.7.0) (2024-03-12)
166173

167174
### 🚀 Features
168175

@@ -174,7 +181,7 @@ All notable changes to this project will be documented in this file.
174181
- Scrapy's `Request.dont_filter` works.
175182

176183

177-
## [1.6.0](../../releases/tag/v1.6.0) - 2024-02-23
184+
## [1.6.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.6.0) (2024-02-23)
178185

179186
### 🐛 Bug Fixes
180187

@@ -185,28 +192,28 @@ All notable changes to this project will be documented in this file.
185192
- Remove `ApifyRetryMiddleware` and stay with the Scrapy's default one
186193

187194

188-
## [1.5.5](../../releases/tag/v1.5.5) - 2024-02-01
195+
## [1.5.5](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.5) (2024-02-01)
189196

190197
### 🐛 Bug Fixes
191198

192199
- Fix conversion of `headers` fields in Apify <--> Scrapy request translation
193200

194201

195-
## [1.5.4](../../releases/tag/v1.5.4) - 2024-01-24
202+
## [1.5.4](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.4) (2024-01-24)
196203

197204
### 🐛 Bug Fixes
198205

199206
- Fix conversion of `userData` and `headers` fields in Apify <--> Scrapy request translation
200207

201208

202-
## [1.5.3](../../releases/tag/v1.5.3) - 2024-01-23
209+
## [1.5.3](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.3) (2024-01-23)
203210

204211
### 🚀 Features
205212

206213
- Add `apply_apify_settings` function to Scrapy subpackage
207214

208215

209-
## [1.5.2](../../releases/tag/v1.5.2) - 2024-01-19
216+
## [1.5.2](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.2) (2024-01-19)
210217

211218
### 🐛 Bug Fixes
212219

@@ -220,22 +227,22 @@ All notable changes to this project will be documented in this file.
220227
- Replace asserts with custom checks in Scrapy subpackage
221228

222229

223-
## [1.5.1](../../releases/tag/v1.5.1) - 2024-01-10
230+
## [1.5.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.1) (2024-01-10)
224231

225232
### Chore
226233

227234
- Allowed running integration tests from PRs from forks, after maintainer approval
228235
- Do not close `nested_event_loop` in the `Scheduler.__del__`
229236

230237

231-
## [1.5.0](../../releases/tag/v1.5.0) - 2024-01-03
238+
## [1.5.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.0) (2024-01-03)
232239

233240
### 🚀 Features
234241

235242
- Add `ApifyHttpProxyMiddleware`
236243

237244

238-
## [1.4.1](../../releases/tag/v1.4.1) - 2023-12-21
245+
## [1.4.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.4.1) (2023-12-21)
239246

240247
### 🐛 Bug Fixes
241248

@@ -246,21 +253,21 @@ All notable changes to this project will be documented in this file.
246253
- Fix type hint problems for resource clients
247254

248255

249-
## [1.4.0](../../releases/tag/v1.4.0) - 2023-12-05
256+
## [1.4.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.4.0) (2023-12-05)
250257

251258
### Chore
252259

253260
- Migrate from Autopep8 and Flake8 to Ruff
254261

255262

256-
## [1.3.0](../../releases/tag/v1.3.0) - 2023-11-15
263+
## [1.3.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.3.0) (2023-11-15)
257264

258265
### 🚀 Features
259266

260267
- Add `scrapy` extra
261268

262269

263-
## [1.2.0](../../releases/tag/v1.2.0) - 2023-10-23
270+
## [1.2.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.2.0) (2023-10-23)
264271

265272
### 🚀 Features
266273

@@ -271,7 +278,7 @@ All notable changes to this project will be documented in this file.
271278
- Fix lint error (E721) in unit tests (for instance checks use `isinstance()`)
272279

273280

274-
## [1.1.5](../../releases/tag/v1.1.5) - 2023-10-03
281+
## [1.1.5](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.5) (2023-10-03)
275282

276283
### 🚀 Features
277284

@@ -283,7 +290,7 @@ All notable changes to this project will be documented in this file.
283290
- Remove PR Toolkit workflow
284291

285292

286-
## [1.1.4](../../releases/tag/v1.1.4) - 2023-09-06
293+
## [1.1.4](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.4) (2023-09-06)
287294

288295
### 🐛 Bug Fixes
289296

@@ -296,15 +303,15 @@ All notable changes to this project will be documented in this file.
296303
- Unpin `apify-client` and `apify-shared` to improve compatibility with their newer versions
297304

298305

299-
## [1.1.3](../../releases/tag/v1.1.3) - 2023-08-25
306+
## [1.1.3](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.3) (2023-08-25)
300307

301308
### Chore
302309

303310
- Unify indentation in configuration files
304311
- Update the `Actor.reboot` method to use the new reboot endpoint
305312

306313

307-
## [1.1.2](../../releases/tag/v1.1.2) - 2023-08-02
314+
## [1.1.2](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.2) (2023-08-02)
308315

309316
### Chore
310317

@@ -314,14 +321,14 @@ All notable changes to this project will be documented in this file.
314321
- Pin `apify-client` and `apify-shared` to prevent their implicit updates from breaking SDK
315322

316323

317-
## [1.1.1](../../releases/tag/v1.1.1) - 2023-05-23
324+
## [1.1.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.1) (2023-05-23)
318325

319326
### 🐛 Bug Fixes
320327

321328
- Relax dependency requirements to improve compatibility with other libraries
322329

323330

324-
## [1.1.0](../../releases/tag/v1.1.0) - 2023-05-23
331+
## [1.1.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.0) (2023-05-23)
325332

326333
### 🚀 Features
327334

@@ -339,7 +346,7 @@ All notable changes to this project will be documented in this file.
339346
- Switch from `setup.py` to `pyproject.toml` for specifying project setup
340347

341348

342-
## [1.0.0](../../releases/tag/v1.0.0) - 2023-03-13
349+
## [1.0.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.0.0) (2023-03-13)
343350

344351
### 🐛 Bug Fixes
345352

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "apify"
7-
version = "2.7.1"
7+
version = "2.7.3"
88
description = "Apify SDK for Python"
99
authors = [{ name = "Apify Technologies s.r.o.", email = "[email protected]" }]
1010
license = { file = "LICENSE" }
@@ -34,10 +34,10 @@ keywords = [
3434
"scraping",
3535
]
3636
dependencies = [
37-
"apify-client>=1.12.0",
38-
"apify-shared>=1.3.0",
39-
"cachetools>=5.5.0",
37+
"apify-client<2.0.0",
38+
"apify-shared<2.0.0",
4039
"crawlee@git+https://github.com/apify/crawlee-python.git@master",
40+
"cachetools>=5.5.0",
4141
"cryptography>=42.0.0",
4242
"httpx>=0.27.0",
4343
# TODO: ensure compatibility with the latest version of lazy-object-proxy
@@ -65,7 +65,7 @@ scrapy = ["scrapy>=2.11.0"]
6565
dev = [
6666
"build~=1.2.0",
6767
"dycw-pytest-only>=2.1.1",
68-
"griffe~=1.8.0",
68+
"griffe~=1.9.0",
6969
"mypy~=1.17.0",
7070
"pre-commit~=4.2.0",
7171
"pydoc-markdown~=4.8.0",

tests/integration/test_actor_api_helpers.py

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

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

405-
def do_POST(self) -> None: # noqa: N802
405+
def do_POST(self) -> None:
406406
nonlocal webhook_body
407407
content_length = self.headers.get('content-length')
408408
length = int(content_length) if content_length else 0

0 commit comments

Comments
 (0)