Actions
Task #8198
closedMake the status API and openAPI schema version listing report on django installed plugins not python packages
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 91
Quarter:
Description
With 3.10 compatibility all plugins are required to report their django app name and version.
We need to switch the status API here to get the version information from the PulpPluginAppConfig
subclasses instead of using get_distribution
. This resolves the plugin usage issue where we used python package names instead of django app names which is really what plugins are.
Also the OpenAPI schema version listing should be updated as well.
Related issues
Actions
Switches plugin reporting to use Django name
The Status API and the OpenAPI schema API now both use the Django name. This is a backwards incompatible change, but necessary to fix the bug which was using Python package names incorrectly instead.
This also reapplies the plugin template changes required from the PR below:
https://github.com/pulp/plugin_template/pull/341/files
closes #8198