Bug 1665501
Summary: | Pungi cannot be installed in Koji | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Randy Barlow <rbarlow> |
Component: | pungi | Assignee: | Lubomír Sedlář <lsedlar> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | admiller, dennis, dmach, jkeating, lsedlar, mhroncok, wwoods |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-14 09:45:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Randy Barlow
2019-01-11 15:28:42 UTC
I removed the explicit Requires on that package, but it seems the dependency generator puts it back do to what is in setup.py. I'll try to fix it. It should only be happening in Rawhide. Yeah, I've only noticed it on Rawhide. Thanks Lubomír! https://pagure.io/pungi/blob/master/f/setup.py this has: install_requires = [ "enum34", ... The dependency generator reads that and makes it a dependency. A correct fix is not to apply this dependency on Python 3: diff --git a/setup.py b/setup.py index 7bffecf..ab4da26 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,6 @@ setup( ], test_suite = "tests", install_requires = [ - "enum34", "jsonschema", "kobo", "lockfile", @@ -67,6 +66,11 @@ setup( 'dogpile.cache', 'dict.sorted', ], + extras_require={ + ':python_version=="2.7"': [ + 'enum34' + ] + }, tests_require = [ "mock", "nose", Will test a submit an upstream PR. [Stažené]$ rpm -qp --requires python3-pungi-4.1.32-3.fc30.noarch.rpm python(abi) = 3.7 python3.7dist(dict.sorted) python3.7dist(dogpile.cache) python3.7dist(jsonschema) python3.7dist(kobo) python3.7dist(lockfile) python3.7dist(lxml) python3.7dist(productmd) python3.7dist(six) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 $ rpm -qp --requires python2-pungi-4.1.32-3.fc30.noarch.rpm python(abi) = 2.7 python2.7dist(dict.sorted) python2.7dist(dogpile.cache) python2.7dist(enum34) <------ HERE python2.7dist(jsonschema) python2.7dist(kobo) python2.7dist(lockfile) python2.7dist(lxml) python2.7dist(productmd) python2.7dist(six) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 I made a new build with the patch provided by Miro. Installing the package in Rawhide container works for me now. |