Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#57855 - [python-openstacksdk] /usr/bin/openstack-inventory conflict in split packages
Attached to Project:
Community Packages
Opened by Andy Botting (andybz) - Thursday, 15 March 2018, 22:18 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 16 March 2018, 12:48 GMT
Opened by Andy Botting (andybz) - Thursday, 15 March 2018, 22:18 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 16 March 2018, 12:48 GMT
|
DetailsDescription:
Since attempting to upgrade to python(2)-openstacksdk 0.12.0-1, the binary /usr/bin/openstack-inventory seems to be in both the py2 and py3 versions and now conflicts. Probably just missing: mv "$pkgdir"/usr/bin/openstack-inventory{,2} at the end of the py2 version. Additional info: * package version(s): 0.12.0-1 |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Friday, 16 March 2018, 12:48 GMT
Reason for closing: Fixed
Additional comments about closing: python-openstacksdk 0.12.0-2
Friday, 16 March 2018, 12:48 GMT
Reason for closing: Fixed
Additional comments about closing: python-openstacksdk 0.12.0-2
That is how we usually handle split python2/3 packages that provide a binary if the binary itself doesn't do something different on python2/3 (for example, pip, ipython, flake8, and other tools that interact with the interpreter or analyze python source code).
I'm using all of these OpenStack client tools a lot with work (and I maintain a bunch in AUR too). I'm seeing lots of strange issues with some of the Py3 versions, so I find it's necessary to need both installed unfortunately.
$ openstack
Could not read clouds.yaml configuration file
[Errno 2] No such file or directory: '/usr/lib/python3.6/site-packages/openstack/config/defaults.json'
I'd also appreciate if you could look into this one for me too:
https://bugs.archlinux.org/task/55761
Thanks very much.