FS#73574 - [python-getkey] site-packages/tests not removed

Attached to Project: Community Packages
Opened by Dawid Potocki (dawidpotocki) - Monday, 31 January 2022, 07:45 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/usr/lib/python3.*/site-packages/tests/* is not removed.

This causes conflicts between the following packages:
community/mvt
community/python-pybtex
community/python-wiktionaryparser

Also community/python-getkey seems to provide this directory, but it doesn't
cause any conflict, although it could become an issue in the future

The directory was at least supposed to be removed from the community/python-pybtex
package, but it's not. This is caused by Python switching from 1 digit MINOR
version to 2 digit.

https://github.com/archlinux/svntogit-community/blob/2d9d6af4f628bac83d16bb5942ac4d4b0c51af51/trunk/PKGBUILD#L34


Solution:

I would suggest doing `rm -rf "${pkgdir}/usr/lib/python3.*/site-packages/tests/"`
in the PKGBUILDs on all of the packages I mentioned.

I also saw a different solution, but it feels kinda unnecessary to me.
https://github.com/archlinux/svntogit-community/blob/cca22336fa969f6c7120e961d253293da159ccc0/trunk/PKGBUILD#L25-L26
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-getkey/issues/1
Comment by Caleb Maclennan (alerque) - Monday, 31 January 2022, 11:42 GMT
I took care of mvt (co-maitnainer) and python-wiktionaryparser (I mess with a lot of Felix's packages anyway so he can break me off of there is ever a problem). That leaves python-pybtex (@kgizdov) and python-getkey (@bgyorgy) that need fixing.
Comment by Konstantin Gizdov (kgizdov) - Monday, 31 January 2022, 22:02 GMT
fixed

Loading...