From fa9a513076b2206d26ded71c8d166a6258411c2b Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Fri, 17 Feb 2023 17:18:50 +0100 Subject: [PATCH] Export some missing symbols for compatibility fixes #635 --- CHANGES/635.bugfix | 1 + pulpcore/cli/common/context.py | 12 +++++++++++- pulpcore/cli/core/context.py | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 CHANGES/635.bugfix diff --git a/CHANGES/635.bugfix b/CHANGES/635.bugfix new file mode 100644 index 000000000..73d18e601 --- /dev/null +++ b/CHANGES/635.bugfix @@ -0,0 +1 @@ +Reimport some missing symbols into their old location for compatibility. diff --git a/pulpcore/cli/common/context.py b/pulpcore/cli/common/context.py index 010320e45..799a75136 100644 --- a/pulpcore/cli/common/context.py +++ b/pulpcore/cli/common/context.py @@ -2,9 +2,14 @@ EntityDefinition, EntityFieldDefinition, PluginRequirement, + PreprocessedEntityDefinition, + PulpACSContext, + PulpContentContext, PulpContext, + PulpDistributionContext, PulpEntityContext, PulpException, + PulpRemoteContext, PulpRepositoryContext, PulpRepositoryVersionContext, registered_repository_contexts, @@ -14,10 +19,15 @@ "EntityDefinition", "EntityFieldDefinition", "PluginRequirement", + "PreprocessedEntityDefinition", + "PulpACSContext", + "PulpContentContext", "PulpContext", + "PulpDistributionContext", "PulpEntityContext", + "PulpException", + "PulpRemoteContext", "PulpRepositoryContext", "PulpRepositoryVersionContext", - "PulpException", "registered_repository_contexts", ] diff --git a/pulpcore/cli/core/context.py b/pulpcore/cli/core/context.py index f35462833..7f86195a2 100644 --- a/pulpcore/cli/core/context.py +++ b/pulpcore/cli/core/context.py @@ -1,3 +1,3 @@ -from pulp_glue.core.context import PulpSigningServiceContext # noqa: F401 +from pulp_glue.core.context import PulpArtifactContext, PulpSigningServiceContext # noqa: F401 -__all__ = ["PulpSigningServiceContext"] +__all__ = ["PulpArtifactContext", "PulpSigningServiceContext"]