Community Packages

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!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
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
Comment by Eli Schwartz (eschwartz) - Thursday, 15 March 2018, 22:43 GMT
I doubt people actually need the python2 command-line tool, they should not care which one they have and simply use the python3 one.

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).
Comment by Andy Botting (andybz) - Thursday, 15 March 2018, 22:53 GMT
Yeah, generally you're right.

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.

Comment by Andy Botting (andybz) - Friday, 16 March 2018, 00:42 GMT
I've also just discovered that the update to 0.12.0-1 has broken OpenStack client, which looks like a similar thing to this bug: https://bugs.archlinux.org/task/54781

$ 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'

Comment by Felix Yan (felixonmars) - Friday, 16 March 2018, 06:50 GMT
Please let me know if 0.12.0-2 works.
Comment by Andy Botting (andybz) - Friday, 16 March 2018, 09:59 GMT
Looks good.

I'd also appreciate if you could look into this one for me too:
https://bugs.archlinux.org/task/55761

Thanks very much.

Loading...