From e6e769a74272fa6a570c7644bdc32c293ddea48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Nesveda?= Date: Wed, 30 Aug 2023 13:24:04 +0200 Subject: [PATCH 1/3] Update log integration tests after logging change on platform --- tests/integration/test_actor_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_actor_log.py b/tests/integration/test_actor_log.py index e7262338..3abc9c2e 100644 --- a/tests/integration/test_actor_log.py +++ b/tests/integration/test_actor_log.py @@ -64,7 +64,7 @@ async def main() -> None: run_log_lines = [line[25:] for line in run_log_lines] # This might be way too specific and easy to break, but let's hope not - assert run_log_lines.pop(0) == 'ACTOR: Pulling Docker image from repository.' + assert run_log_lines.pop(0).startswith('ACTOR: Pulling Docker image') assert run_log_lines.pop(0) == 'ACTOR: Creating Docker container.' assert run_log_lines.pop(0) == 'ACTOR: Starting Docker container.' assert run_log_lines.pop(0) == 'INFO Initializing actor...' From 8bb7529d497f04f2c67d31874f6da80578190cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Nesveda?= Date: Wed, 30 Aug 2023 13:39:00 +0200 Subject: [PATCH 2/3] Bump version, update changelog --- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 627eb90c..43acf4c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ Changelog ========= +[1.1.4](../../releases/tag/v1.1.4) - Unreleased +----------------------------------------------- + +### Internal changes + +- Fixed integration tests for Actor logger + + [1.1.3](../../releases/tag/v1.1.3) - 2023-08-25 ----------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index a65dcbb1..b931b647 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "apify" -version = "1.1.3" +version = "1.1.4" description = "Apify SDK for Python" readme = "README.md" license = {text = "Apache Software License"} From b298a4f48c8c82f98fc70ad0f11a46d5a6356102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Nesveda?= Date: Wed, 30 Aug 2023 13:40:41 +0200 Subject: [PATCH 3/3] Stop using `pytest-randomly` in tests --- CHANGELOG.md | 1 + pyproject.toml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43acf4c4..fe174dd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Changelog ### Internal changes - Fixed integration tests for Actor logger +- Removed `pytest-randomly` Pytest plugin [1.1.3](../../releases/tag/v1.1.3) - 2023-08-25 diff --git a/pyproject.toml b/pyproject.toml index b931b647..c464b26f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,6 @@ dev = [ "pytest ~= 7.3.1", "pytest-asyncio ~= 0.21.0", "pytest-only ~= 2.0.0", - "pytest-randomly ~= 3.12.0", "pytest-timeout ~= 2.1.0", "pytest-xdist ~= 3.3.1", "respx ~= 0.20.1",