Search Criteria
Package Details: python2-wheel 0.37.1-5
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python2-wheel.git (read-only, click to copy) |
|---|---|
| Package Base: | python2-wheel |
| Description: | A built-package format for Python, version for Python 2.7 |
| Upstream URL: | https://github.com/pypa/wheel |
| Licenses: | MIT |
| Submitter: | hexd |
| Maintainer: | hexd |
| Last Packager: | hexd |
| Votes: | 2 |
| Popularity: | 0.000000 |
| First Submitted: | 2022-06-07 08:58 (UTC) |
| Last Updated: | 2023-10-20 05:12 (UTC) |
Dependencies (3)
- python2AUR (python2-binAUR, stackless2AUR)
- python2-setuptoolsAUR (make)
- python2-pytestAUR (check)
Required by (3)
- python2-colorama (make)
- python2-pip
- python2-pip (make)
Latest Comments
tallero commented on 2024-01-27 18:42 (UTC) (edited on 2024-01-27 18:43 (UTC) by tallero)
Hi, could you remove that ending
/in$pkgdir? Or write${pkgdir}?I have updated and licensed the PKGBUILD here.
MarsSeed commented on 2023-09-29 19:13 (UTC)
Please kindly disable the code coverage tests. It doesn't make sense to execute those here. And also they are only useful for upstream developers working on actively maintained code.
hexd commented on 2023-04-21 16:24 (UTC) (edited on 2023-04-21 16:26 (UTC) by hexd)
@pgoetz the
PYTHONPATH="$PWD/src"part of the command is essential.@dreieck indeed it's failing in python2 2.7.18-8, though it passes in python2 2.7.18-5. It first looked a bit like a "test bug", after all the
checkfunction inPKGBUILDis just calling the package tests with nopreparefunction changing anything, and creating theegg_infowas itself a requirement to let the tests pass.But the breaking change is the hash algorithm name, which changed from lowercase to uppercase for some reason in this new Python 2 package, just check with:
It's uppercase in Python 2.7.18-8, but in Python 2.7.18-5 and Python 3 it's lowercase. Not sure why this changed, but this means the hash name can be in either case for now, so I've created a new
preparefunction in thisPKGBUILDto add.lower()when getting the hash name (inwheelitself, not in the tests). This makes all tests pass.pgoetz commented on 2023-04-16 14:16 (UTC)
Running through the PKGBUILD steps by hand I get:
Looks like it's not able to find the wheel modules when running the tests.
pgoetz commented on 2023-04-16 13:29 (UTC)
Same. When I clone / run makepkg I'm seeing the same errors as @dreieck
dreieck commented on 2023-01-09 14:33 (UTC)
check()fails for me, too/still:hexd commented on 2022-06-18 04:10 (UTC)
Oops, sorry! It seems the "check" was using the installed package, not the just built one. Fixed!
MarsSeed commented on 2022-06-17 22:29 (UTC)
I got the same result as @drws, with the following warnings preceding the test report:
drws commented on 2022-06-16 17:55 (UTC)
Unfortunately, during
check()...