FS#64615 - [python] detect old python modules

Attached to Project: Arch Linux
Opened by Simon Legner (simon04) - Friday, 22 November 2019, 18:30 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:24 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:
After an upgrade from 3.7 to 3.8 many/all python packages from AUR need to be repackaged/reinstalled.
I would like to propose adding a hook to `python` which checks for old python modules as is done for core/perl. This is the relevant shell script, https://git.archlinux.org/svntogit/packages.git/tree/trunk/detect-old-perl-modules.sh?h=packages/perl
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:24 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/python/issues/7
Comment by Jelle van der Waa (jelly) - Friday, 02 June 2023, 21:34 GMT
I disagree that this should be part of the package, as alternative we have https://archlinux.org/packages/extra/any/rebuild-detector/
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.
Comment by Toolybird (Toolybird) - Tuesday, 29 August 2023, 21:25 GMT
Dupe  FS#79504 
Comment by Oid Maps (dreieck) - Wednesday, 30 August 2023, 07:37 GMT
> I disagree that this should be part of the package, as alternative we have https://archlinux.org/packages/extra/any/rebuild-detector/

With this rationale then there should be an issue opened for `core/perl` to _remove_ that functionality from there, since `rebuild-detector` also is for checking perl: -->  FS#79515 

Anyway, `checkrebuild` from `rebuild-detector` takes _much much longer_ than the specifically targeted pacman hooks, since it also checks dynamic linking of binaries, so I also second the feature request to add a specific check to `core/python`.
Comment by Oid Maps (dreieck) - Wednesday, 30 August 2023, 07:47 GMT

Loading...