Skip to content

Commit 2cfe291

Browse files
committed
bump python
1 parent 8d75b7d commit 2cfe291

File tree

3 files changed

+9
-104
lines changed

3 files changed

+9
-104
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ description = "Apify API client for Python"
99
authors = [{ name = "Apify Technologies s.r.o.", email = "[email protected]" }]
1010
license = { file = "LICENSE" }
1111
readme = "README.md"
12-
requires-python = ">=3.9"
12+
requires-python = ">=3.10"
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
1515
"Environment :: Console",
1616
"Intended Audience :: Developers",
1717
"License :: OSI Approved :: Apache Software License",
1818
"Operating System :: OS Independent",
19-
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
2221
"Programming Language :: Python :: 3.12",
@@ -158,7 +157,7 @@ asyncio_mode = "auto"
158157
timeout = 1200
159158

160159
[tool.mypy]
161-
python_version = "3.9"
160+
python_version = "3.10"
162161
files = ["src", "tests", "scripts", "docs", "website"]
163162
check_untyped_defs = true
164163
disallow_incomplete_defs = true
@@ -177,7 +176,7 @@ module = ["pandas", "respx"]
177176
ignore_missing_imports = true
178177

179178
[tool.basedpyright]
180-
pythonVersion = "3.9"
179+
pythonVersion = "3.10"
181180
typeCheckingMode = "standard"
182181
include = ["src", "tests", "scripts", "docs", "website"]
183182

src/apify_client/clients/resource_clients/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _log_buffer_content(self, *, include_last_part: bool = False) -> None:
262262
# The last two parts (marker and message) are possibly not complete and will be left in the buffer
263263
self._stream_buffer = all_parts[-2:]
264264

265-
for marker, content in zip(message_markers, message_contents):
265+
for marker, content in zip(message_markers, message_contents, strict=False):
266266
decoded_marker = marker.decode('utf-8')
267267
decoded_content = content.decode('utf-8')
268268
if self._relevancy_time_limit:

0 commit comments

Comments
 (0)