Task #7930
closed
Make PulpPluginAppConfig.version required
Status:
CLOSED - CURRENTRELEASE
Description
With 3.9 we introduced warnings in PulpPluginAppConfig.__init__
encouraging plugin writers to add a version
attribute to their PulpPluginAppConfig subclasses.
With 3.10 we should remove the warnings and Pulp should refuse to start if any of its plugins do not set version
in this way.
Additionally to the status api, the version listing in the api doc should do the same.
- Subject changed from Make PulpPluginAppConfig.version required and used by the status API to Make PulpPluginAppConfig.version required and used by the status API and API schema version listing
- Description updated (diff)
Great idea, but I'm not sure where in the code that happens. Do you know?
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
- Description updated (diff)
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Subject changed from Make PulpPluginAppConfig.version required and used by the status API and API schema version listing to Make PulpPluginAppConfig.version required
- Description updated (diff)
- Related to Task #8198: Make the status API and openAPI schema version listing report on django installed plugins not python packages added
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Requires Pulp plugins to provide version
It adds enforcement that the version to be set on the
PulpPluginAppConfig
subclass. If an installed plugin does not specify its version Pulp will refuse to start.closes #7930