Hi Sebastian, Am 03.12.21 um 15:23 schrieb Sebix:
Dear fellows,
I wanted to package bodhi-client (which is a requirement for fedpkg), but I'm failing on the dependency dogpile.cache. It is maintained in devel:languages:python (https://build.opensuse.org/package/show/devel:languages:python/python-dogpil...) but not only built for python3.8 (but the rpm is wrongly named python3-dogpile.cache).
No that is correct. IT has `%global pythons python3` so it will always build for the current primary provider and be named python3-dogpile.cache
I would create a simple submit request to fix this if there wouldn't be another layer of problematic package: It's dependency stevedore, which is again not multipython and maintained in https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-steve... whereas that seems to be a copy of an external source, not intended to be modified on OBS.
Yes, most of the OpenStack packages are python3 only. [1]
I feel like I am at a dead end here. How can we have correct multipython packages for these tools in openSUSE? How can I continue the packaging efforts?
The easy way is to also stick with primary python3 flavor. Do you really need bodhi-client for all flavors? At first glance, it looks like a set of CLI commands, which you do not reallay want to hide behind flavored alternatives. The hard route is to rip the dependencies out of the OpenStack Factory into regular devel repos.
best regards Sebastian
Cheers, Ben [1] https://github.com/openSUSE/python-rpm-macros/issues/66#issuecomment-7435650...