From 6bb9b311486d190d2602c8f49aa239dadc2af161 Mon Sep 17 00:00:00 2001 From: pbrassel <52356233+pbrassel@users.noreply.github.com> Date: Wed, 10 Jun 2026 14:36:35 +0200 Subject: [PATCH 1/4] chore: remove email --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 416dba7..c3c86f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "flame-hub-client" version = "0.2.15" description = "HTTP client for interacting with FLAME Hub services." authors = [ - { name = "Maximilian Jugl", email = "Maximilian.Jugl@medizin.uni-leipzig.de" }, + { name = "Maximilian Jugl" }, { name = "Paul Brassel", email = "Paul.Brassel@medizin.uni-leipzig.de" } ] readme = "README.md" From da64a36a74a1b6b3ef6ded6868b7b93f21ec04a4 Mon Sep 17 00:00:00 2001 From: pbrassel <52356233+pbrassel@users.noreply.github.com> Date: Wed, 10 Jun 2026 14:36:53 +0200 Subject: [PATCH 2/4] chore: bump tested Hub version --- .env.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.test b/.env.test index 479ed68..743b1ae 100644 --- a/.env.test +++ b/.env.test @@ -7,4 +7,4 @@ PYTEST_ADMIN_PASSWORD=start123 PYTEST_DEFAULT_MASTER_IMAGE=python/base PYTEST_ASYNC_MAX_RETRIES=5 PYTEST_ASYNC_RETRY_DELAY_MILLIS=500 -PYTEST_HUB_VERSION=0.8.43 +PYTEST_HUB_VERSION=0.10.1 From d3a5ebb6bc296396bf04f6c8bff1c11e9c4ed269 Mon Sep 17 00:00:00 2001 From: pbrassel <52356233+pbrassel@users.noreply.github.com> Date: Wed, 10 Jun 2026 14:41:03 +0200 Subject: [PATCH 3/4] fix(test): project and analysis names are internally lowered --- tests/test_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_core.py b/tests/test_core.py index c78df06..7b10117 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -344,7 +344,7 @@ def test_update_project(core_client, project): new_node = core_client.update_project(project.id, name=new_name) assert project != new_node - assert new_node.name == new_name + assert new_node.name.lower() == new_name.lower() def test_get_project_nodes(core_client, project_node, project_node_includables): @@ -421,7 +421,7 @@ def test_update_analysis(core_client, analysis): new_analysis = core_client.update_analysis(analysis.id, name=new_name, image_command_arguments=args) assert analysis != new_analysis - assert new_analysis.name == new_name + assert new_analysis.name.lower() == new_name.lower() assert new_analysis.image_command_arguments == args # Note that args is modified during updating the analysis. From 47036a8ea38722113d438bc3d1eac973ee03758b Mon Sep 17 00:00:00 2001 From: pbrassel <52356233+pbrassel@users.noreply.github.com> Date: Wed, 10 Jun 2026 15:00:52 +0200 Subject: [PATCH 4/4] fix(test): wait for the Hub to create the buckets of an analysis --- tests/test_core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_core.py b/tests/test_core.py index 7b10117..47396c2 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -128,6 +128,11 @@ def analysis_node_includables(): @pytest.fixture() def analysis_code_bucket(core_client, analysis): + def _wait_for_buckets(): + assert len(core_client.find_analysis_buckets(filter={"analysis_id": analysis.id})) != 0 + + assert_eventually(_wait_for_buckets) + analysis_buckets = core_client.find_analysis_buckets(filter={"analysis_id": analysis.id}) code_buckets = [bucket for bucket in analysis_buckets if bucket.type == AnalysisBucketType.CODE]