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#76043 - [rdiff-backup] Outdated Python PATH - testsuite fail

Attached to Project: Community Packages
Opened by avimitin (avimitin) - Wednesday, 28 September 2022, 07:57 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 21:57 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 0
Private No

Details

Description:

Python setuptools update the build-lib generation strategy. In version 62.1, they use sys.implementation.cache_tag as build-lib suffix: https://github.com/pypa/setuptools/commit/1c23f5e1e4b18b50081cbabb2dea22bf345f5894.

So the PYTHONPATH value should be updated to "lib.linux-x86_64-cpython-310" now. Below is the patch that can fix this issue.

--- PKGBUILD
+++ PKGBUILD
@@ -31,7 +31,7 @@ check() {
fakeroot tar xf rdiff-backup-filesrepo/rdiff-backup_testfiles.tar
cd $pkgname
export PATH="$PWD/build/scripts-3.10:$PATH"
- export PYTHONPATH="$PWD/build/lib.linux-x86_64-3.10"
+ export PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310"
python testing/commontest.py
python testing/ctest.py
python testing/timetest.py


Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 01 April 2023, 21:57 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Pkg dropped to the AUR

Loading...