Commit graph

149161 commits

Author SHA1 Message Date
Sharlatan Hellseher
e8a8c5a13e
gnu: Add python-distance.
* gnu/packages/python-xyz.scm (python-distance): New variable.

Change-Id: I0c8d98f39d779fcbcb5ce37bf64db118dfc0b4e4
2024-12-18 01:44:55 +00:00
Sharlatan Hellseher
2605de61e9
gnu: Add python-pyxdameraulevenshtein.
* gnu/packages/python-xyz.scm (python-pyxdameraulevenshtein): New variable.

Change-Id: I33b3bc5ec63c014fcca8b10623be0f5e0cf1eb91
2024-12-18 01:44:53 +00:00
Sharlatan Hellseher
f96f094df2
gnu: python-clintest: Update to 0.3.0.
* gnu/packages/potassco.scm (python-clintest): Update to 0.3.0, fix
build.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I22bd8019cc1b6f2d1a2c7fe40bfb98ad5679f9f1
2024-12-18 01:27:49 +00:00
Sharlatan Hellseher
6c86ae62a0
gnu: python-clingox: Fix build, improve style.
* gnu/packages/potassco.scm (python-clingox): Adjust indentation.
[arguments]<test-flags>: Skip 3 tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[description]: Start from a new line.

Change-Id: I0a267df9f23e585ba7619fb8905024cbe17027a8
2024-12-18 01:24:37 +00:00
Sharlatan Hellseher
f79b8a892e
gnu: python-pyformlang: Add missing inputs.
* gnu/packages/python-xyz.scm (python-pyformlang) [native-inputs]: Add
python-pytest, python-setuptools, and python-wheel.

Change-Id: I27efca39faf59e83a735dba14029580c7c8b87e2
2024-12-18 01:18:41 +00:00
Sharlatan Hellseher
e25ed31ea5
gnu: python-termcolor-1: Fix build.
* gnu/packages/python-xyz.scm (python-termcolor-1) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Idc247338aea624fd62a4d126451bb174d41c9fb6
2024-12-18 01:14:49 +00:00
Sharlatan Hellseher
9dc91360fd
gnu: python-healpy: Fix build.
* gnu/packages/astronomy.scm (python-healpy) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ie86d1f152d26d08f5cf072721ba295b12ca808e2
2024-12-18 00:29:29 +00:00
Sughosha
a4c3019db4
gnu: python-pymarshal: Fix build.
* gnu/packages/python-xyz.scm (python-pymarshal)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I6ad9ca15ab570b8c88136fc13bb6a6e14459094c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-18 00:26:29 +00:00
Sughosha
826938c657
gnu: python-mido: Fix build.
* gnu/packages/python-xyz.scm (python-mido)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I387bf0b70bbd3e03d7042970794d9da4800418f9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-18 00:26:12 +00:00
Danny Milosavljevic
e5a1284289
gnu: perl-pdl: Make printing text work with glut backend, too.
* gnu/packages/patches/pdl-2.019-glut-bitmap-fonts.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/perl-maths.scm (perl-pdl)[source]: Use it.

Change-Id: I0331b1192d75a69831168d2fd634cadaa6260cd4
2024-12-17 23:01:59 +01:00
Ricardo Wurmus
7167aa686c
gnu: qmk: Add missing inputs.
* gnu/packages/firmware.scm (qmk)[native-inputs]: Add python-setuptools and
python-wheel.

Change-Id: Ia6660c7c99e1d043d8cf9ea1fa108a4895c328db
2024-12-17 21:59:47 +01:00
Ricardo Wurmus
c6fa3bc853
gnu: python-milc: Add missing inputs.
* gnu/packages/python-xyz.scm (python-milc)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I8711c8fff3f8cae5a875f0cf74ae049e3719ca80
2024-12-17 21:55:03 +01:00
Ricardo Wurmus
f98d43fdf7
gnu: python-rdflib: Update to 7.1.1.
* gnu/packages/rdf.scm (python-rdflib): Update to 7.1.1.
[arguments]: Use #:test-flags; remove custom build phases.
[native-inputs]: Add python-pytest-cov.
[propagated-inputs]: Add python-lxml, python-networkx, and python-orjson;
remove python-html5lib.

Change-Id: If1a10cb359be8e838963edf72c7d1a5ee08b396a
2024-12-17 21:20:52 +01:00
Artyom V. Poptsov
15c657f80a
gnu: python-islenska: Update to 1.0.3.
* gnu/packages/python-xyz.scm (python-islenska): Update to 1.0.3.

Change-Id: I053a53c7c215064d9dba3a2e91b20e6bc4225d2a
2024-12-17 22:27:24 +03:00
Efraim Flashner
8e71580aae
gnu: set-xorg-configuration: Update code comment.
* gnu/services/xorg.scm (set-xorg-configuration): Update the comment
about platforms with rust support.

Change-Id: I6237ee9d26b5a74fb0d0b6680d3ff827d2a67418
2024-12-17 18:12:22 +02:00
Efraim Flashner
9583296f72
gnu: desktop-services-for-system: Update code comment.
* gnu/services/desktop.scm (desktop-services-for-system): Update the
comment about platforms with rust support.

Change-Id: Ibefa826494e29498870f392c0fec87d606d386ec
2024-12-17 18:12:18 +02:00
Danny Milosavljevic
8e1191472c
gnu: python-stsci-imagestats: Fix build.
* gnu/packages/astronomy.scm (python-stsci-imagestats)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I3a788e066cdbba59983b1cdb0e81c7dc5733d7a5
2024-12-17 17:02:59 +01:00
Maxim Cournoyer
907590b671
gnu: python-lsp-server: Update to 1.12.0, fixing build.
* gnu/packages/python-xyz.scm (python-lsp-server): Update to 1.12.0.
[source]: Update URI.
[arguments]: Via #:test-flags, reinstate test_pydocstyle_lint test and skip
the test_jedi_completion_with_fuzzy_enabled one.  Ignore conftest.py.
[native-inputs]: Remove python-coverage and python-pytest-cov.  Add
python-setuptools-scm.

Change-Id: I48eed0b0ecd3ca6ac187292620d75aba9090307f
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
fc40c8b47a
gnu: python-yapf: Update to 0.43.0.
* gnu/packages/python-xyz.scm (python-yapf): Update to 0.43.0.
[native-inputs]: Remove python-importlib-metadata.

Change-Id: I0d168d157d9daae664c19282d4a5b60a27dd9dc3
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
011d2a4416
gnu: python-rope: Fix build.
* gnu/packages/python-xyz.scm (python-rope)
[native-inputs]: Add python-pip.

Change-Id: I20d2c77b9f343c6012af9e7b33fe73fed78ddc18
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
646b94cfa4
gnu: c-blosc: Update home page URL.
* gnu/packages/compression.scm (c-blosc) [home-page]: Update URL.

Change-Id: I72bb93a9d166294da991201b29f16a8f41f1f44e
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
1ed22e2396
gnu: python-nptyping: Update to 2.5.0.
This reinstates commit 843bec9a15, with
necessary changes for the test suite to pass.

* gnu/packages/python-check.scm (python-nptyping): Update to 2.5.0.
[arguments]: Add #:test-flags.
[native-inputs]: Add python-feedparser, python-pandas, python-pytest

Change-Id: I352cb042cfa11de43993ec3bdcbc0b3008750755
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
d940343abb
gnu: python-pytest-cython: Add python-wheel to native inputs.
* gnu/packages/python-check.scm (python-pytest-cython)
[native-inputs]: Add python-wheel.

Change-Id: I7557ccc6ef8fbb30cd3c7e89049a0089a8df94d6
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
d5e05b6548
gnu: python-pytest-cython: Remove extraneous python-nox native input.
* gnu/packages/python-check.scm (python-pytest-cython)
[native-inputs]: Remove python-nox.

Change-Id: I585b17d63e52e62fd7c633354b74e4ae6233f722
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
de6d8b7c7d
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
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
106809a306
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
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
9ff9ae2e62
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
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
63a2243d58
gnu: Add python-blosc2.
* gnu/packages/python-compression.scm (python-blosc2): New variable.

Change-Id: Id83074efd08b03c09e4c620d3a92a57c0d6340d0
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
933f2ca76a
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
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
f04d44562f
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>
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
537c8e5f6d
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
2024-12-17 23:43:58 +09:00
Sharlatan Hellseher
2185b5ad3d
gnu: python-numcodecs: Fix build.
* gnu/packages/python-xyz.scm (python-numcodecs)
[arguments]<test-flags>: Skip 2 failing tests.

Change-Id: Ia4c1e8af6063f53a2d3c921931c8d3b3f0674ca7
2024-12-17 12:23:17 +00:00
Markku Korkeala
00bcb384da
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>
2024-12-17 12:21:53 +00:00
Cage
946f763023
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>
2024-12-17 11:26:40 +01:00
Artyom V. Poptsov
c3290cee6a
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>
2024-12-16 23:33:03 +03:00
Artyom V. Poptsov
6d6a1e37b1
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>
2024-12-16 23:32:51 +03:00
Artyom V. Poptsov
bfe91a82e4
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>
2024-12-16 23:32:42 +03:00
Artyom V. Poptsov
1adeace816
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>
2024-12-16 23:32:27 +03:00
Artyom V. Poptsov
48d4df3c29
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>
2024-12-16 23:32:09 +03:00
Artyom V. Poptsov
4dd316cd82
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>
2024-12-16 23:30:49 +03:00
Lars-Dominik Braun
a3ffb920f1
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>
2024-12-16 19:28:44 +00:00
Lars-Dominik Braun
c904350a81
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>
2024-12-16 19:28:34 +00:00
Lars-Dominik Braun
d7890af335
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>
2024-12-16 19:28:08 +00:00
Lars-Dominik Braun
8bb3bb19c2
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>
2024-12-16 19:27:43 +00:00
Fredrik Salomonsson
f2b7e8f762
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>
2024-12-16 19:20:03 +00:00
Leo Famulari
93eca69d69
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
2024-12-16 14:15:27 -05:00
Romain GARBAGE
bf7813a9d4
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>
2024-12-16 19:11:20 +00:00
Sharlatan Hellseher
6774c9e75a
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
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher
63547f5c50
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
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher
82225664fa
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
2024-12-16 16:47:45 +00:00