Bug 1319983 - RFE: python packages do not install an egg
Summary: RFE: python packages do not install an egg
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: hawkey
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 02:33 UTC by Adam Williamson
Modified: 2016-04-05 06:45 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-04 11:36:34 UTC
Type: Bug


Attachments (Terms of Use)

Description Adam Williamson 2016-03-22 02:33:57 UTC
The python2 and python3 hawkey packages don't install an egg, so you can't express dependencies on hawkey in a setup.py file, because setuptools can't tell that hawkey is installed because there's no egg.

https://fedoraproject.org/wiki/Packaging:Python_Eggs

Comment 1 Honza Silhan 2016-03-31 12:56:46 UTC
Please, describe the use case why you want this in the original bug to raise the priority. Which components do you have that could not be packaged as rpms? Thanks.

*** This bug has been marked as a duplicate of bug 1207837 ***

Comment 2 Honza Silhan 2016-03-31 12:59:01 UTC
* actually wrong not the same component.

Comment 3 Adam Williamson 2016-03-31 13:07:12 UTC
the thing I was working on at the time *is* packaged as an rpm, but that doesn't mean you can just whiff on this. just because something is packaged as an rpm doesn't mean everyone who ever wants to deploy it will always do so from the rpm, and it's commonly the case that people generate package dependencies from setup.py dependencies.

Comment 4 Jaroslav Mracek 2016-04-04 11:36:34 UTC
Thank you very much for information. According to yours unique requirement we would like to ask you, if you can try to make a fix by yourself and directly test it on your case. We will be very happy to see your contributions.

Comment 5 Adam Williamson 2016-04-05 06:45:38 UTC
it's not remotely a 'unique' situation, but, I mean, sure, I can send a patch some time, I guess.


Note You need to log in before you can comment on or make changes to this bug.