Commit graph

4971 commits

Author SHA1 Message Date
Hilton Chain
00111ae9ec
gnu: python-watchfiles: Update to 1.0.5.
* gnu/packages/python-xyz.scm (python-watchfiles): Update to 1.0.5.
[build-system]: Switch to pyproject-build-system.
[inputs]: Use ‘cargo-inputs’.
[native-inputs]: Add rust, rust:cargo.
Add rust-sysroot when cross-compiling.
Remove python-wrapper.
[arguments]: Remove #:cargo-inputs.
<#:phases>: Remove phases from pyproject-build-system.
Move test flags to...
<#:test-flags>: ...here.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): New entry.

Change-Id: Id4c9d24d06fab5a51407628a378ecd420db352a6
2025-08-21 19:08:48 +08:00
Hilton Chain
d992b57bd5
gnu: python-libcst: Remove #:cargo-inputs.
* gnu/packages/python-xyz.scm (python-libcst)[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs, #:cargo-development-inputs.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-libcst]: New
entry.

Change-Id: I642539600fdb4ac1a383a0c970c5676dc8611388
2025-08-21 19:08:48 +08:00
Hilton Chain
2e261b02b2
gnu: python-tiktoken: Remove #:cargo-inputs.
* gnu/packages/python-xyz.scm (python-tiktoken)[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-tiktoken]: New
entry.

Change-Id: I798a11ce11236772ac916bad1bdfd8a5a2a84df6
2025-08-21 19:08:48 +08:00
Hilton Chain
fa0e2f9758
gnu: python-pydantic-core: Remove #:cargo-inputs.
* gnu/packages/python-xyz.scm (python-pydantic-core)
[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs, #:cargo-development-inputs.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-pydantic-core]:
New entry.

Change-Id: Id2f1027ff255c66daa6f5474123d88ef7eeca972
2025-08-21 19:08:48 +08:00
Hilton Chain
e94e8ab7ce
gnu: python-orjson: Remove #:cargo-inputs.
* gnu/packages/python-xyz.scm (python-orjson)[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-orjson]: New
entry.

Change-Id: Ib22fdf3f1082d5bc4372f37b267bb3c4bda584f3
2025-08-21 19:08:48 +08:00
Hilton Chain
f4c503c150
gnu: python-streamtracer: Remove #:cargo-inputs.
* gnu/packages/python-xyz.scm (python-streamtracer)
[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs, #:cargo-development-inputs.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-streamtracer]: New
entry.

Change-Id: I2799b1e6a4caf61308d5afc66385976d332ef080
2025-08-21 19:08:47 +08:00
Hilton Chain
6ab6def9c7
gnu: python-rpds-py: Remove #:cargo-inputs.
* gnu/packages/python-xyz.scm (python-rpds-py)[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-rpds-py]: New
entry.

Change-Id: Ie1d6b799c7802db33bc0f4be5575154bda3fe9d8
2025-08-21 19:08:25 +08:00
Hilton Chain
9ba78f3ccf
build/cargo: Don't vendor self.
* guix/build/cargo-build-system.scm (crate-src?, configure): Exclude self.
* gnu/packages/gnome.scm (librsvg)[#:phases]: Remove ‘dont-vendor-self’.
* gnu/packages/python-crypto.scm (python-cryptography)[#:arguments]: Likewise.
* gnu/packages/python-xyz.scm (python-libcst)[#:arguments]: Likewise.
* gnu/packages/syndication.scm (newsboat)[#:arguments]: Likewise.
* gnu/packages/antivirus.scm (clamav)[#:arguments]: Likewise.

Change-Id: I5e01721fb705937f5fcf858c21b6d7e27ade6c10
2025-08-21 19:08:20 +08:00
Andreas Enge
d198577dc3
gnu: python-xmlsec: Fix build with newer xmlsec.
* gnu/packages/python-xyz.scm (python-xmlsec)[arguments]<#:phases>
{pre-check}: Adapt file name.

Change-Id: Ia2af7561ace7828e959969cdf7586175f6e711ee
2025-08-18 19:40:08 +02:00
Maxim Cournoyer
af9e540b71
gnu: nss-certs: Relocate to (gnu packages nss).
This is made so that the source can be shared without introducing module
circular dependencies.

* gnu/packages/certs.scm (nss-certs)
(nss-certs-for-test): Move to...
* gnu/packages/nss.scm: ... here.

Adjust the module imports via:

  git grep -l '(gnu packages certs)' |
  xargs sed 's/(gnu packages certs)/(gnu packages nss)/' -i

Change-Id: I56d7bc52ddcdffbced8a162e8db8ea5071b0cb0f
2025-08-17 22:34:42 +02:00
Sharlatan Hellseher
796e68cb64
gnu: Add python-asyncclick.
* gnu/packages/python-xyz.scm (python-asyncclick): New variable.

Change-Id: I420c61daef88abfd2409c6eab3bf28e864069777
2025-08-16 00:07:20 +01:00
Josep Bigorra
3fc6c9bfc5
gnu: Add python-puccinialin.
* gnu/packages/python-xyz.scm (python-puccinialin): New variable.

Change-Id: Id647ddd599f4d942afba67a23c102043981d81d1
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-15 20:54:56 +01:00
Sharlatan Hellseher
e05193f10b
gnu: packages/python-xyz: Remove unused modules.
* gnu/packages/python-xyz.scm: Remove audio and pulseaudio modules.

Change-Id: I3f60499532a45dfed19c74d1eef0c1f9a4a0ed55
2025-08-14 14:38:23 +01:00
Sharlatan Hellseher
0b896c96c4
gnu: python-wavefile: Move to auidio.
* gnu/packages/python-xyz.scm (python-wavefile): Move from here ...
* gnu/packages/audio.scm: ... to here.

Change-Id: Ib7d9415a157577f1740d0b0c4fff415241d569d2
2025-08-14 14:38:22 +01:00
Sharlatan Hellseher
58f9f2a251
gnu: python-wavefile: Update to 1.6.3.
* gnu/packages/python-xyz.scm (python-wavefile): Update to 1.6.3.
[build-system]: Use pyproject.
[arguments]: Use G-expressions.
<test-flags>: Skip 4 problematic tests.
[native-inputs]: Add python-pytest, python-pytest-cov, and
python-setuptools-next.

Change-Id: I5facf2a0cc21c1cabcc8d04464dc6c2328439ebf
2025-08-14 14:36:03 +01:00
Nicolas Graves
470cd20e3a
gnu: python-cson: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-cson):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.
[description]: Improve style.

Change-Id: I12bc53a9a41b14c23c1f465a8e93bd8d79b899bd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-14 13:15:27 +01:00
Nicolas Graves
ec1bade27d
gnu: python-aspectlib: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-aspectlib):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Disable problematic tests.
[native-inputs]: Add python-setuptools, python-wheel.
[synopsis, description]: Improve style.

Change-Id: I3303d1b0d3ff7c73d6511aeb3ee03c21e85698bf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-14 13:15:27 +01:00
Sharlatan Hellseher
2785a55cbd
gnu: python-ppft: Move to parallel.
* gnu/packages/python-xyz.scm (python-ppft): Move from here ...
* gnu/packages/parallel.scm: ... to here.

Change-Id: Iea421ea9d6fef3de33707d0cbc83b351f9dff050
2025-08-13 12:48:56 +01:00
Sharlatan Hellseher
62b19a2919
gnu: python-pathos: Move to parallel.
* gnu/packages/python-xyz.scm (python-pathos): Move from here ...
* gnu/packages/parallel.scm: ... to here.

Change-Id: Iae53a58b4fab93125d4cd8606238ef436c828eba
2025-08-13 12:48:56 +01:00
Sharlatan Hellseher
72077d089b
gnu: python-pathos: Update to 0.3.4.
* gnu/packages/python-xyz.scm (python-pathos): Update to 0.3.4. Use
G-Expressions.
[build-system]: Use pyproject.
[phases]{check}: Respect <tests?>, adjust custom check steps.
[native-inputs]: Remove python-pytest; add python-setuptools-next.
[description]: Fix fill-column indentation.

Change-Id: Idb3abe5f5f077f301157443d049afc3d21aae360
2025-08-13 12:48:56 +01:00
Sharlatan Hellseher
17a4776113
gnu: python-pox: Update to 0.3.6.
* gnu/packages/python-xyz.scm (python-pox): Update to 0.3.6. Use
G-Expressions.
[build-system]: Use pyproject.
[phases]{check}: Respect <tests?>, remove trailing #t from lambda and
run custom checks.
[native-inputs]: Remove python-pytest; add python-setuptools-next.

Change-Id: I1c888e8704426b7f08f4972ae66280081383896a
2025-08-13 12:48:56 +01:00
Sharlatan Hellseher
3a07c9ef03
gnu: python-ppft: Update to 1.7.7, enable tests.
* gnu/packages/python-xyz.scm (python-ppft): Update to 1.7.7. Enable tests.
[build-system]: Use pyproject.
[arguments] <tests?>: They are provided.
<phases>: Use custom 'check.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-setuptools-next.

Change-Id: I2c9e87bff93b91d386919f4467bc7b52b662222d
2025-08-13 12:48:48 +01:00
Sharlatan Hellseher
d7754f3b9c
gnu: python-multiprocess: Update to 0.70.18.
* gnu/packages/python-xyz.scm (python-multiprocess): Update to 0.70.18.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-setuptools-next.

Change-Id: Ibe54eb7a6c7e5b0ff27407a5639b5e1e95edee75
2025-08-13 12:46:44 +01:00
Sharlatan Hellseher
4bc1630995
gnu: python-dill: Update to 0.4.0.
* gnu/packages/python-xyz.scm (python-dill): Update to 0.4.0.

Change-Id: Ib1be9f5751aa0a749290ae0fc562bdd2ac3a3f94
2025-08-13 12:46:44 +01:00
Nicolas Graves
9079f3ab2c
gnu: python-owslib: Move to (gnu packages geo).
* gnu/packages/python-xyz.scm (python-owslib): Move from here…
* gnu/packages/geo.scm (python-owslib): …to here.

Change-Id: Id1d6bd60af8729072929f4459201043169a31fa4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-13 12:46:43 +01:00
Nicolas Graves
fed8c888d7
gnu: python-owslib: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-owslib):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable them.
<#:test-flags>: Disable problematic tests.
<#:phases>: Restore 'sanity-check phase. Add phase
'cleanup-build-directory.
[native-inputs]: Add python-dateutil, python-pyproj, python-pyyaml,
python-pytest, python-pytest-cov, python-pytz, python-requests,
python-setuptools, and python-wheel.

Change-Id: I3707ca064a63ff24a4fcfd9d37ea4b7178491ce1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-13 12:46:43 +01:00
Nicolas Graves
b176f7c33c
gnu: python-ifaddr: Update to 0.2.0.
* gnu/packages/python-xyz.scm (python-ifaddr): Update to 0.2.0.
[source]<snippet>: Delete windows-specific file.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools,
python-wheel. Remove python-nose.
[description]: Improve style.

Change-Id: Iaba98124cb3b1246423711cf37a5073c1c290680
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-13 12:46:43 +01:00
Nicolas Graves
5b5ea04775
gnu: python-setuptools-git: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-setuptools-git):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style, use gexps.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I0d451dadfbbb3acdc7049833701bc1390221dcb2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-13 12:46:42 +01:00
Nicolas Graves
f604ac060e
gnu: python-spectra: Update to 0.1.0.
* gnu/packages/python-xyz.scm (python-spectra): Update to 0.1.0.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Replace python-colormath by python-colormath2.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.

Change-Id: Ia0a5e817fd8b927d7a0d728fb552614eae7d22c6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-13 12:46:42 +01:00
Nicolas Graves
3e2902485c
gnu: Add python-colormath2.
* gnu/packages/python-xyz.scm (python-colormath2): New variable.

Change-Id: I3c4f0510f55d0f2c8400fae7271933017ef20916
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-13 12:46:42 +01:00
Sharlatan Hellseher
656213cbbc
gnu: hatch: Ignore more tests.
* gnu/packages/python-xyz.scm (hatch) [arguments] <test-flags>: Ignore
  more tests to complete the build.

Change-Id: Ib414012495c96e37cbb61f9c5741816b7e354fd9
2025-08-12 13:39:29 +01:00
Sharlatan Hellseher
3d7c49157b
gnu: python-seaborn: Update to 0.13.2.
* gnu/packages/python-xyz.scm (python-seaborn): Update to 0.13.2.
  [arguments] <test-flags>: Run tests in parallel, supported upstream.
  [native-inputs]: Remove python-flake8, python-ipykernel,
  python-nbconvert, python-numpydoc, python-mypy, python-pytest-cov, and
  python-pyyaml.

Change-Id: Ie8df114f7b617a8c5ce0999242b47e84f8255fa6
2025-08-07 18:33:38 +01:00
Sharlatan Hellseher
c22b6731d4
gnu: Add python-session-info2.
* gnu/packages/python-xyz.scm (python-session-info2): New variable.

Change-Id: I8773329702f7ef7c6c9a929317cc3d5295b8b507
2025-08-07 18:33:38 +01:00
Sharlatan Hellseher
123ec7f705
gnu: python-zarr: Update to 2.18.7.
* gnu/packages/python-xyz.scm (python-zarr): Update to 2.18.7.
[native-inputs]: Remove python-pytest-doctestplus, python-sphinx,
python-sphinx-copybutton, python-sphinx-design, and
python-sphinx-issues.

Change-Id: I9db3ffe51bb9daba53b0759a4c6a5814ff285b83
2025-08-07 18:33:37 +01:00
Nicolas Graves
e3c7460568
gnu: python-case: Deprecate package.
* gnu/packages/python-check.scm (python-case): Deprecate variable.
* gnu/packages/python-xyz.scm (python-kombu, python-billiard,
python-celery)[native-inputs]: Remove python-case.

Change-Id: I98d19e88aa5b8fa2b47f347a4d0c958d71096e4e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:36 +01:00
Nicolas Graves
35f2fd68b0
gnu: python-case: Move to (gnu packages python-check).
* /gnu/packages/python-xyz.scm (python-case): Move from here…
* gnu/packages/python-check.scm (python-case): …to here.

Change-Id: I59379226031edbd4dc63c70f15725b488668d05c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:36 +01:00
Nicolas Graves
9fd47d1c47
gnu: python-colorspacious: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-colorspacious):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ib77d1594ecc50945839788aef0a9851044c41d66
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:34 +01:00
Nicolas Graves
1eeff20279
gnu: python-matplotlib-documentation: Fix build.
* gnu/packages/python-xyz.scm (python-matplotlib-documentation)
 [arguments]<#:phases>: Add phase 'avoid-external-deps,
 copied/extracted from the similar python-numpy-documentation.
 Remove the sphinx-panels substitution, not necessary anymore because
 of the move to python-sphinx-design instead.
[native-inputs]: Regroup texlive dependencies under
texlive-local-tree, and add texlive-cm-super there.
Add python-ipykernel, python-sphinx-design, texlive-dvipng-bin.

Change-Id: I3c6d3fcdc3702fd0aa3d930da02e5173c34a9b9a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:33 +01:00
Nicolas Graves
b567c3ffc4
gnu: python-case: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-case):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I1b3183b223742af14bcc45df99a9370e38399467
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-07 18:33:33 +01:00
jgart
08b972861b
gnu: python-docx: Update to 1.2.0.
* gnu/packages/python-xyz.scm (python-docx): Update to 1.2.0.

Change-Id: Ie56a4a67596ab6cb4258dcfcaad539ddbe315af4
2025-08-07 12:01:46 -05:00
Vinicius Monego
6e2272faba
gnu: python-qdarkstyle: Enable tests.
* gnu/packages/python-xyz.scm (python-qdarkstyle)[arguments]: Remove
'#:tests? #f'.
[native-inputs]: Add python-pytest.

Change-Id: I81d7684dd0ee4a17eb5b72dd2744bbc5f6ac4fe2
2025-08-06 19:03:09 -03:00
Vinicius Monego
4bd7bba67c
gnu: python-qdarkstyle: Update to 3.2.3.
* gnu/packages/python-xyz.scm (python-qdarkstyle): Update to 3.2.3.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-qtsass, python-setuptools, python-watchdog,
python-wheel.
[propagated-inputs]: Remove python-helpdev. Add python-pyqt-6.
[home-page]: Do not break line.

Change-Id: I6774c7ba3c98a28f66c4f3e80238b5c08d9259e6
2025-08-06 19:03:09 -03:00
Vinicius Monego
617250d96b
gnu: python-safety: Update to 3.6.0.
* gnu/packages/python-xyz.scm (python-safety): Update to 3.6.0.
[build-system]: Use pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
<#:phases>: Delete the 'disable-tests' phase. Add phase
'set-home' before 'check'.
[native-inputs]: Add nss-certs-for-test, python-hatchling,
python-pytest.
[propagated-inputs]: Add python-authlib, python-filelock, python-httpx,
python-jinja2, python-marshmallow, python-nltk, python-psutil,
python-pydantic-2, python-ruamel.yaml, python-safety-schemas,
python-tenacity, python-tomli, python-tomlkit, python-typer,
python-typing-extensions.

Change-Id: I96ea41399f5b0068b7fe5d1816dda16e7be18c75
2025-08-04 21:34:24 -03:00
Vinicius Monego
622e08e00e
gnu: python-safety: Improve style.
* gnu/packages/python-xyz.scm (python-safety): Run guix style.

Change-Id: I711eee17b0681c65c9044231c16673cd3e48bf4d
2025-08-04 21:34:24 -03:00
Vinicius Monego
4425422cb0
gnu: Add python-safety-schemas.
* gnu/packages/python-xyz.scm (python-safety-schemas): New variable.

Change-Id: Iec3bb513e2c96bda5b7019404fb2315f09c5023d
2025-08-04 21:34:23 -03:00
Vinicius Monego
8082f9c2ac
gnu: python-deepdiff: Update to 8.5.0.
* gnu/packages/python-xyz.scm (python-deepdiff): Update to 8.5.0.
[arguments]<#:test-flags>: Skip failing tests.
[propagated-inputs]: Remove python-ordered-set. Add python-click,
python-pyyaml, python-orderly-set, python-orjson.
[native-inputs]: Remove python-click, python-dateutil,
python-mock, python-setuptools, python-wheel, python-toml. Add
python-flit-core, python-pandas, python-pydantic-2,
python-pytest-benchmark, python-pytz, python-toml-w.

Change-Id: I891fe650e13385a69141b201e3ec743733d71610
2025-08-04 21:34:23 -03:00
Vinicius Monego
5552bb8c8d
gnu: Add python-orderly-set.
* gnu/packages/python-xyz.scm (python-orderly-set): New variable.

Change-Id: I8aa2dfebc6452c96a8e49a4697b62e901b5be9e9
2025-08-04 21:34:23 -03:00
Vinicius Monego
853be72647
gnu: python-typer: Update to 0.16.0.
* gnu/packages/python-xyz.scm (python-typer): Update to 0.16.0.
[source, home-page]: Follow redirect.
[arguments]: Remove '#:test-flags', enabling all tests.
<#:phases>: Delete the 'patch-shell-reference' phase.
[native-inputs]: Remove python-flit. Add python-pdm-backend. Move
python-rich, python-shellingham to ...
[propagated-inputs]: ... here. Add python-typing-extensions.

Change-Id: I64232bee0bbeb533286d6ae8a14a680ceb825d75
2025-08-04 21:34:23 -03:00
Vinicius Monego
c48521a40b
gnu: python-shellingham: Update to 1.5.4.
* gnu/packages/python-xyz.scm (python-shellingham): Update to 1.5.4.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases> Do not override the 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I4bb680ac627497394067145fab5693f76f1c89e7
2025-08-04 21:34:23 -03:00
Vinicius Monego
427e50ac7c
gnu: python-nltk: Update to 3.9.1.
* gnu/packages/python-xyz.scm (python-nltk): Update to 3.9.1.
[source]: Use the tarball.
[build-system]: Use pyproject-build-system.
[native-inputs]: Remove unzip. Add python-setuptools, python-wheel.

Change-Id: Id507bbb5d10b248fa10fbfa73f22e44338f1fa25
2025-08-04 21:34:23 -03:00