From 018b58fb445a3ff1b3a9bc9623e25af54dd2c0c5 Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Mon, 20 Apr 2026 13:01:48 -0400 Subject: [PATCH] Fix flatpak cache serialization --- CHANGES/+flatpak-index-cache.bugfix | 1 + pulp_container/app/registry_api.py | 2 +- pulp_container/tests/functional/api/test_flatpak.py | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 CHANGES/+flatpak-index-cache.bugfix diff --git a/CHANGES/+flatpak-index-cache.bugfix b/CHANGES/+flatpak-index-cache.bugfix new file mode 100644 index 000000000..a129d9f3a --- /dev/null +++ b/CHANGES/+flatpak-index-cache.bugfix @@ -0,0 +1 @@ +Fixed a serialization issue with the FlatpakIndex cache. diff --git a/pulp_container/app/registry_api.py b/pulp_container/app/registry_api.py index 1e719cf7c..ec97d1db3 100644 --- a/pulp_container/app/registry_api.py +++ b/pulp_container/app/registry_api.py @@ -708,7 +708,7 @@ def get(self, request): continue images.append( { - "Tags": tagged, + "Tags": list(tagged), "Digest": manifest.digest, "MediaType": manifest.media_type, "OS": os, diff --git a/pulp_container/tests/functional/api/test_flatpak.py b/pulp_container/tests/functional/api/test_flatpak.py index a9c2e6fa0..a4554097d 100644 --- a/pulp_container/tests/functional/api/test_flatpak.py +++ b/pulp_container/tests/functional/api/test_flatpak.py @@ -5,8 +5,6 @@ from pulp_container.tests.functional.constants import REGISTRY_V2 -pytestmark = pytest.mark.skip(reason="TLS is broken currently. TODO: Fix") - def run_flatpak_commands(host): # Install flatpak: