[Bug 1186870] New: python-rpm-macros different dependency generated python-six
http://bugzilla.opensuse.org/show_bug.cgi?id=1186870 Bug ID: 1186870 Summary: python-rpm-macros different dependency generated python-six Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: rpm@fthiessen.de QA Contact: qa-bugs@suse.de CC: mcepl@suse.com Found By: --- Blocker: --- I am not sure if this is an issue with the python-rpm-macros package or python-six. If you use the dependency generator and your package uses python-six it will generate a dependency like this:
python3.6dist(six) >= 1.10
But this can not be satisfied, as python-six only provides
python36-six = 1.16.0-103.2
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186870 http://bugzilla.opensuse.org/show_bug.cgi?id=1186870#c2 Neal Gompa <ngompa13@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ngompa13@gmail.co | |m) | --- Comment #2 from Neal Gompa <ngompa13@gmail.com> --- (In reply to Matej Cepl from comment #1)
It is this https://github.com/openSUSE/python-rpm-macros/pull/40 ��� the result is half-hearted effort, which was never used.
I have been trying to get it fully properly implemented for over a year. It's been very hard to actually get this done, and for the past few months, I focused primarily on Leap 15.3 for other reasons.
Moreover, whole huge changes of generating python36-foo, python38-foo, etc. packages went over this, and I have really no clue, what is the status of it. If anybody wants to recover the effort and make it work, I will gladly take a look, but so far it seems like something completely useless added just to look like Fedora.
Neal?
There have been improvements to the generator upstream[1] to support setting default/non-default Python versions so that these work correctly in a multi-Python world. I'm planning on looking into this shortly. Also note, I was one of the original developers on the generator, and it originates from Mandriva, not Fedora. I approached *all* the major RPM distros at the same time, only Fedora didn't shoot me down immediately. So your characterization is not only wrong, it's personally insulting. Please refrain from making assumptions as such. [1]: https://github.com/rpm-software-management/python-rpm-packaging -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186870 http://bugzilla.opensuse.org/show_bug.cgi?id=1186870#c3 --- Comment #3 from Ferdinand Thiessen <rpm@fthiessen.de> --- So for now I guess I should not use it? Thought it would make packaging easier, to be honest I simply expected it to read requirements.txt / setup.py and put a "pythonPYVER-" in front of the pypi name (as this should be the name of the openSUSE package). But yes maybe it is not that simple as RPM is case sensitive but python module names are not (e.g. ConfigArgParse (pypi name) is called python-configargparse on openSUSE so python38-ConfigArgParse would not work). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186870 http://bugzilla.opensuse.org/show_bug.cgi?id=1186870#c4 Benjamin Greiner <code@bnavigator.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code@bnavigator.de Depends on| |1178257 --- Comment #4 from Benjamin Greiner <code@bnavigator.de> --- Note that most packages actually provide the python3.Xdist(foo) symbol. Only a few packages don't. And python-six is a part of the latter, because it is in the bootstrap chain of setuptools and cannot depend on it. You see it in the build log: [ 26s] Traceback (most recent call last): [ 26s] File "/usr/lib/rpm/pythondistdeps.py", line 231, in <module> [ 26s] from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement, parse_version [ 26s] ModuleNotFoundError: No module named 'pkg_resources' [ 26s] Provides: python3-six = 1.16.0-1.1 python38-six = 1.16.0-1.1 See https://bugzilla.opensuse.org/show_bug.cgi?id=1178257 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186870 http://bugzilla.opensuse.org/show_bug.cgi?id=1186870#c15 --- Comment #15 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1186870) was mentioned in https://build.opensuse.org/request/show/992369 Factory / python-pyparsing -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com