From 9c9d858d5bd4f7f0f049bedd283e15b9282d7631 Mon Sep 17 00:00:00 2001 From: Pedro Brochado Date: Fri, 19 Dec 2025 11:57:21 -0300 Subject: [PATCH] Expose RepositoryVersionSerializer in the plugin API In pulpcore 3.88 it was added a feature that would the return value of task functions, and those return must be serializable or None. In 3.100 that would be required by pulpcore, so plugins that wante to adapt before might use the RepositoryVersionSerializer. In this case, regardless of whether pulpcore >=3.88 or <3.88 is used, the plugin must be able to import the serializer or it will throw a runtime import error. (cherry picked from commit 20f3b7a7d01675fc4dcc08ccb8580e1a50a01012) --- pulpcore/plugin/serializers/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pulpcore/plugin/serializers/__init__.py b/pulpcore/plugin/serializers/__init__.py index cc0de73709f..2194f04442a 100644 --- a/pulpcore/plugin/serializers/__init__.py +++ b/pulpcore/plugin/serializers/__init__.py @@ -29,6 +29,7 @@ RepositorySerializer, RepositorySyncURLSerializer, RepositoryVersionRelatedField, + RepositoryVersionSerializer, SingleArtifactContentSerializer, SingleContentArtifactField, TaskGroupOperationResponseSerializer,