Project

Profile

Help

Refactor #3157

closed

Refactor pulp-python to remove dependency on twine

Added by bizhang about 7 years ago. Updated over 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Python:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

We've recently had an issue where the twine package in fedora rawhide [0] stopped providing python2-twine.

The maintainer for twine stated that he would "look at building a python2-twine package again that doesn't provide any binaries" [1] This would resolves our problem for the short term (until f28 is released in May 2018). But in the long run we should remove our dependency on twine.

We should refactor our pulp-python Package model [2] to use pkg_resources and pkginfo to parse package info, since twine is not meant to be a library and can change its internal APIs without warning.

[0] https://apps.fedoraproject.org/packages/python-twine
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1512552#c3
[2] https://github.com/pulp/pulp_python/blob/77ec66251cc12e8b4def37c30c0381a64d97690e/plugins/pulp_python/plugins/models.py#L138


Related issues

Related to Python Support - Story #3197: As a User, I can create a PythonPackageContent from an Artifact uploaded to PulpMODIFIEDbizhang

Actions
Actions #1

Updated by amacdona@redhat.com about 7 years ago

  • Related to Story #3197: As a User, I can create a PythonPackageContent from an Artifact uploaded to Pulp added
Actions #2

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #3

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF