~ruther/guix-local

de6d8b7c — Maxim Cournoyer 1 year, 5 months ago
gnu: python-tox: Update to 4.8.0 and disable tests.

* gnu/packages/python-check.scm (python-tox): Update to 4.8.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Delete #:phases.  Add #:test-flags.
[propagated-inputs]: Remove python-py, python-six and python-toml.  Add
python-cachetools, python-chardet, python-colorama, python-platformdirs,
python-pyproject-api and python-tomli.
[native-inputs]: Remove python-pathlib2, python-pytest-freezegun,
python-pytest-timeout, python-setuptools-scm.  Add python-distlib,
python-hatchling, python-hatch-vcs, python-psutil, python-pytest-mock,
python-pytest-xdist and python-re-assert.

Change-Id: I7c58649ac4c0fcb72e5009a7a2a06570e28d3eff
106809a3 — Maxim Cournoyer 1 year, 5 months ago
gnu: python-pandas-stubs: Update to 2.2.3.241126.

* gnu/packages/python-science.scm (python-pandas-stubs): Update to
2.2.3.241126.
[arguments]: Ignore tests/test_io.py in #:test-flags.
[native-inputs]: Replace python-sqlalchemy with python-sqlalchemy-2.

Change-Id: If27b3a5b687ca230a209e8a8087a89802414912e
9ff9ae2e — Maxim Cournoyer 1 year, 5 months ago
gnu: python-tables: Update to 3.10.1.

* gnu/packages/python-xyz.scm (python-tables): Update to 3.10.1.
[source]: Update snippet.
[arguments]: Delete FIXME, which no longer applies to reworked definition.
Delete use-gcc phase.  Delete build phase override.  Add set-LD_LIBRARY_PATH
phase.  Honor TESTS? in check phase.
[propagated-inputs]: Add python-blosc2 and python-typing-extensions.
[inputs]: Add c-blosc2.

Change-Id: Idfed15a617e51c8ec1593d9a35afdcfa132e0740
63a2243d — Maxim Cournoyer 1 year, 5 months ago
gnu: Add python-blosc2.

* gnu/packages/python-compression.scm (python-blosc2): New variable.

Change-Id: Id83074efd08b03c09e4c620d3a92a57c0d6340d0
933f2ca7 — Maxim Cournoyer 1 year, 5 months ago
gnu: Add python-ndindex.

Adapted from <https://raw.githubusercontent.com/Blosc/python-blosc2/refs/heads/main/.guix/modules/python-blosc2-package.scm>.

* gnu/packages/python-science.scm (python-ndindex): New variable.

Co-authored-by: Ivan Vilata i Balaguer <ivan@selidor.net>
Change-Id: I38fbcbd8859c2ddbfdd39e8d84a63b20deef75c4
f04d4456 — Maxim Cournoyer 1 year, 5 months ago
gnu: Add c-blosc2.

Adapted from
https://raw.githubusercontent.com/Blosc/c-blosc2/refs/heads/main/.guix/modules/c-blosc2-package.scm.

* gnu/packages/compression.scm (c-blosc2): New variable.

Change-Id: Ic0f11487e8d920dd31dfb009485c204fa1b575f7
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-authored-by: Ivan Vilata i Balaguer <ivan@selidor.net>
537c8e5f — Maxim Cournoyer 1 year, 5 months ago
gnu: python-sphinx-prompt: Update to 1.9.0.

* gnu/packages/sphinx.scm (python-sphinx-prompt): Update to 1.9.0.
[source]: Switch to PyPI URL.
[build-system]: Switch to pyproject-build-system.
[arguments]: Delete #:phases.  Add #:tests?.
[native-inputs]: Remove python-pytest and python-sphinx.  Add
python-poetry-core.
[propagated-inputs]: Add python-certify, python-docutils, python-idna,
python-pygments, python-sphinx and python-urllib3.

Change-Id: Iaa70e214594730d6eee983bfbd80cb05a35ebab7
2185b5ad — Sharlatan Hellseher 1 year, 5 months ago
gnu: python-numcodecs: Fix build.

* gnu/packages/python-xyz.scm (python-numcodecs)
[arguments]<test-flags>: Skip 2 failing tests.

Change-Id: Ia4c1e8af6063f53a2d3c921931c8d3b3f0674ca7
00bcb384 — Markku Korkeala 1 year, 5 months ago
gnu: Add python-jsonpath-ng.

* gnu/packages/python-xyz.scm (python-jsonpath-ng): New variable.

Change-Id: Ie7835850bc137f3bbaea19f01d42b01ba0f5458e
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: cl-croatoan: Update to 0.3-2.4700557.

* gnu/packages/lisp-xyz.scm (sbcl-croatoan): Update to 0.3-2.4700557.
  [source, home-page]: Switch to new URL.

Change-Id: I692e2a5a5fef6d4278f21eb3991068c3e5f23567
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
c3290cee — Artyom V. Poptsov 1 year, 5 months ago
gnu: magic-wormhole: Update to 0.16.0.

* gnu/packages/magic-wormhole.scm (magic-wormhole): Update to 0.16.0.
[propagated-inputs]: Add python-attrs.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I8c627f1cf421ec26a3749962f937039bda85b542
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
6d6a1e37 — Artyom V. Poptsov 1 year, 5 months ago
gnu: python-spake2: Update to 0.9.

* gnu/packages/python-crypto.scm (python-spake2): Update to 0.9.
[propagated-inputs]: Add python-cryptography.

Change-Id: I9122e657446cb92a7fd1325cdbed63f6ab73428f
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
bfe91a82 — Artyom V. Poptsov 1 year, 5 months ago
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>
1adeace8 — Artyom V. Poptsov 1 year, 5 months ago
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>
48d4df3c — Artyom V. Poptsov 1 year, 5 months ago
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>
4dd316cd — Artyom V. Poptsov 1 year, 5 months ago
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>
a3ffb920 — Lars-Dominik Braun 1 year, 5 months ago
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>
c904350a — Lars-Dominik Braun 1 year, 5 months ago
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>
d7890af3 — Lars-Dominik Braun 1 year, 5 months ago
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>
8bb3bb19 — Lars-Dominik Braun 1 year, 5 months ago
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>
Next