gnu: python-zipstream-ng: Fix build.
* gnu/packages/python-compression.scm (python-zipstream-ng) [native-inputs]:
Add "python-setuptools" and "python-wheel".
Change-Id: Ifdcaeafd585500611a444a354c94c401d96bdd88
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-iterable-io: Fix build.
* gnu/packages/python-xyz.scm (python-iterable-io) [native-inputs]: Add
"python-setuptools" and "python-wheel".
Change-Id: I08e8135178e0558239f39017bf8ca709a63205b6
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: magic-wormhole-transit-relay: Fix build.
* gnu/packages/magic-wormhole.scm (magic-wormhole-transit-relay): Fix build.
[native-inputs]: Add "python-setuptools" and "python-wheel". Sort
alphabetically.
Change-Id: Ibc1b611f2f0c4e5975d8e123001c5afced87a367
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: magic-wormhole-mailbox-server: Fix build.
* gnu/packages/magic-wormhole.scm (magic-wormhole-mailbox-server): Fix build.
[native-inputs]: Add "python-setuptools" and "python-wheel". Sort
alphabetically.
Change-Id: Id0af4aebbe3560a58483846d889955c2748ea4da
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
import: pypi: Move deduplication to final processing step.
* guix/import/pypi.scm (parse-requires.txt): Remove deduplication.
(parse-wheel-metadata): Remove deduplication.
(compute-inputs): Instead do it here on all the collected inputs.
Change-Id: I2504cc693e9bf2e4cc44fd37b5823904dbaaa925
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
import: pypi: Default to setuptools as build system input.
* guix/import/pypi.scm (guess-requirements): Default to setuptools if
pyproject.toml does not exist.
Change-Id: I600bd0a44342847878e3a2a7041bd7e7c7d30769
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
import: pypi: Add python-wheel to native inputs if setuptools is used.
* guix/import/pypi.scm (compute-inputs): Add missing python-wheel if
necessary.
Change-Id: Iedad213a6684856e48349289c4d9beba953f396b
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
import: pypi: Support extracting dependencies from pyproject.toml.
* guix/import/pypi.scm (guess-requirements): Support extracting
dependencies from pyproject.toml.
* tests/pypi.scm: ("pypi->guix-package, no requires.txt, but wheel."):
Renamed from "pypi->guix-package, wheels", remove requires.txt file,
because the current implementation cannot detect invalid files.
("pypi->guix-package, no usable requirement file, no wheel."): Renamed
from "pypi->guix-package, no usable requirement file.".
(test-pyproject.toml): New variable.
("pypi->guix-package, no wheel, no requires.txt, but pyproject.toml"):
New test.
("pypi->guix-package, no wheel, but requires.txt and pyproject.toml"):
Ditto.
Change-Id: Ib525750eb6ff4139a8209420042b28ae3c850764
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-pycurl: Update to 7.45.4.
* gnu/packages/python-web.scm (python-pycurl): Update to 7.45.4.
Change-Id: I0b5357b3515af810cecb5eebeba14f07e1f9bac3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: linux-libre 6.6: Update to 6.6.65.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.65.
(linux-libre-6.6-pristine-source): Update hash.
Change-Id: I48f65a614f2ba5cc7ada038d0fad5f345f5d857f
gnu: python-puremagic: Add missing inputs.
* gnu/packages/python-xyz.scm (python-puremagic)[native-inputs]: Add
python-setuptools and python-wheel.
Change-Id: I9feb15e77c6e7f57c4c1678ed25ae73370b4d601
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-flask-sqlalchemy: Update to 3.1.1.
* gnu/packages/python-web.scm (python-flask-sqlalchemy): Update to
3.1.1. Fix build.
[source]<uri>: Adjust name as it was changed in PyPI source archive.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Skip some failing tests.
[propagated-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2.
[native-inputs]: Add python-flit-core and python-pytest.
Change-Id: Id9a7516ca56a8d6e30cd9a40253886e4e9dbf668
gnu: python-cfn-lint: Update to 1.22.1.
* gnu/packages/python-web.scm (python-cfn-lint): Update to 1.22.1. Fix
build, improve package style.
[source]<url>: Use direct URL instead of home-page field.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Remove 'skip-network-test, use default 'check.
<test-flags>: Skip 4 failing tests.
[propagated-inputs]: Remove python-jsonschema and python-six; add
python-regex, python-sympy, and python-typing-extensions.
[native-inputs]: Remove python-mock; add python-defusedxml,
python-pytest, python-setuptools, and python-wheel.
[home-page]: Place above synopsis.
Change-Id: I39d1ed9ca6157e618d2c5905dff61679ff924a4e
gnu: python-aws-sam-translator: Update to 1.94.0.
* gnu/packages/python-web.scm (python-aws-sam-translator): Update to
1.94.0. Fix build
[source]: Use git checkout containing tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Run test in parallel, skip some failing tests.
<phases>: Remove 'loosen-requirements, add 'fix-pytest-config, and
'pre-check.
[propagated-inputs]: Remove python-six; add python-pydantic and
python-typing-extensions.
[native-inputs]: Add python-pytest, python-setuptools,
python-pytest-xdist, python-parameterized, python-pyyaml, and
python-wheel.
Change-Id: I16181f714cfc9bcd97ca034631a204969c323542
gnu: python-cattrs: Skip some tests.
* gnu/packages/python-xyz.scm (python-cattrs)
[arguments]<test-flags>: Add "--numprocesses". Ignore benchmark tests
and skip some failing ones.
[native-inputs]: Remove python-poetry-core.
Change-Id: I581953b86b20ecde97611e768fbcda3db46dd716
gnu: python-ephem: Fix build.
* gnu/packages/astronomy.scm (python-ephem): [native-inputs]: Add
python-setuptools and python-wheel.
Change-Id: I1989fb4a6534a53f561850f1cd214c332c02d992
gnu: python-asdf-wcs-schemas: Fix build.
* gnu/packages/astronomy.scm (python-asdf-wcs-schemas): [native-inputs]:
Add python-setuptools and python-wheel.
Change-Id: I2aac4b7435b987d85f7270e50ad510e3b5d777fb
gnu: python-asdf-coordinates-schemas: Fix build.
* gnu/packages/astronomy.scm (python-asdf-coordinates-schemas)
[native-inputs]: Add python-setuptools and python-wheel.
[description]: Start from a new line.
Change-Id: I32a2e74b3b90b31f73e3b3aba5f72379c30d7fc7
gnu: python-asdf-compression: Fix build.
* gnu/packages/astronomy.scm (python-asdf-compression) [native-inputs]:
Add python-setuptools and python-wheel.
Change-Id: Ib077d9d7448fe3ad52e8697ca64caa62081434d0
gnu: python-asdf: Fix build.
* gnu/packages/astronomy.scm (python-asdf)
[arguments]<test-flags>: Remove "-p" add "--numprocesses" option.
[phases]{patch-pyproject-toml}: Remove redundant substitution.
[native-inputs]: Add python-wheel.
Change-Id: I672a83ab3dcc179b1dd3c15316d4e52d834edfd6