diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-24 17:07:10 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:41 +0100 |
| commit | 483ee41756f332b1a02b218ccac97c296a99de3b (patch) | |
| tree | ceb80c314802273be0c2349691665bb62e704aa2 /gnu/packages/python-xyz.scm | |
| parent | 5cafd2bdb0919452f6dd9151f816d4681db571e0 (diff) | |
import: pypi: Fix tests.
* guix/import/pypi.scm (unzip-command): Use invoke instead of
system*.
(read-wheel-metadata): Adapt accordingly.
(guess-requirements-from-wheel): Improve readability.
* tests/import/pypi.scm (parse-wheel-metadata): Add test (used to
isolate the issue in another test).
(pypi->guix-package, no wheel): Remove python-wheel from the result.
(pypi->guix-package, no usable requirement file, no wheel.): Likewise.
(pypi->guix-package, package name contains \"-\" followed by digits):
Likewise.
(package-latest-release): Likewise.
(pypi->guix-package, no requires.txt, but wheel): Likewise. Also
improve readability.
Change-Id: I49e6ae549437a068acd85fa0f13471bc0af5a399
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
0 files changed, 0 insertions, 0 deletions
