1
0
forked from tribes/guix
Commit Graph

5412 Commits

Author SHA1 Message Date
Sharlatan Hellseher 10923ddef1 gnu: nikola: Update to 8.3.3.
* gnu/packages/python-xyz.scm (nikola): Update to 8.3.3.
[arguments] <test-flags>: Rework skipped tests.
[phases]{fix-pytest-config}: Repoint to pyproject.toml.
[native-inputs]: Remove python-wheel.

Change-Id: Id30eaca91c79b274bb5b087bc5477815dc285489
2025-10-02 23:53:58 +01:00
Sharlatan Hellseher 03b87a8945 gnu: packages/python-xyz: Sort.
* gnu/packages/python-xyz.scm::(python-yamllint,
python-yamlordereddictloader, python-yapf, python-yapsy, python-yaspin,
python-yattag, python-yq, python-yte): Sort variables alphabetically.

Change-Id: Idfbebccc36fcf75c18cd7452e2894ce9f7c6c93c
2025-10-02 23:29:14 +01:00
Sharlatan Hellseher c93e4b667f gnu: python-yamllint: Update to 1.37.1.
* gnu/packages/python-xyz.scm (python-yamllint): Update to 1.37.1.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'unittest.
[propagated-inputs]: Remove python-setuptools.
[native-inputs]: Add python-setuptools.

Change-Id: Iff02db4d902cb51440c2efed7746897b8d94a2ba
2025-10-02 23:19:55 +01:00
Sharlatan Hellseher 08cea43f7a gnu: Add python-yamlloader.
* gnu/packages/python-xyz.scm (python-yamlloader): New variable.

Change-Id: I578d0484a07b7d67554faa256e7cff823818ec04
2025-10-02 23:15:49 +01:00
Sharlatan Hellseher cfb4b52f51 gnu: python-yapsy: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-yapsy)[build-system]: Switch to
pyproject-build-system.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Add python-setuptools.

Change-Id: Ic19fe7af48db8eb73f6c456ec7f9f41d1fc2949d
2025-10-02 23:05:04 +01:00
Sharlatan Hellseher 49f06dbee3 gnu: python-yaspin: Update to 3.2.0.
* gnu/packages/python-xyz.scm (python-yaspin): Update to 3.2.0.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Add python-termcolor.
[native-inputs]: Add python-poetry-core and python-pytest-mock.

Change-Id: I26c80dbdeb392c4d3ca9b163452849451b60079a
2025-10-02 23:02:50 +01:00
Sharlatan Hellseher e540ba4891 gnu: python-yq: Update to 3.4.3.
* gnu/packages/python-xyz.scm (python-yq): Update to 3.4.3.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Provide them.
[inputs]: Remove python-argcomplete, python-pyyaml, python-xmltodict,
and python-toml.
[propagated-inputs]: Add python-argcomplete, python-pyyaml,
python-tomlkit, and python-xmltodict.
[native-inputs]: Remove python-coverage, python-flake8,
python-setuptools-scm, and python-wheel; add python-hatchling and
python-hatch-vcs.

Change-Id: I1e32861d9471c68b00110d6dd9e0fad6d575660a
2025-10-02 22:55:08 +01:00
Sharlatan Hellseher 9b191b56ce gnu: python-yq: Refresh package style.
* gnu/packages/python-xyz.scm (python-yq): Use G-expressions, adjust
indentation.
[description]: Fix fill column.

Change-Id: I6cca1515ce32319fce191d6560ec0b9da0ad8c1b
2025-10-02 22:48:38 +01:00
Sharlatan Hellseher e78a73d5dc gnu: python-yte: Update to 1.8.1.
* gnu/packages/python-xyz.scm (python-yte): Update to 1.8.1.
[arguments] <tests-flags>: Provide test file here.
<phases>: Use default 'check.

Change-Id: If6e9985fe43b709a5fcc5aff17bc2f4224e2530c
2025-10-02 22:42:22 +01:00
Hugo Buddelmeijer f51dd97339 gnu: python-whenever: Update to 0.9.2.
* gnu/packages/python-xyz.scm (python-whenever): Update to 0.9.2.
[arguments] <phases>: Add 'set-check-environment.
[propagated-inputs]: Add python-time-machine and python-tzlocal.
[native-inputs]: Remove python-setuptools-rust and python-wheel; add
python-pytest, and tzdata-for-tests.

Change-Id: I926457bd581c6803e0ebbb7d29b1293d233523c3
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-02 22:02:50 +01:00
Sharlatan Hellseher 2a2c873e6e gnu: pythoncapi-compat: Move to python.
* gnu/packages/python-xyz.scm (pythoncapi-compat): Move from here ...
* gnu/packages/python.scm: ... to here.

Change-Id: If3ac42200be381f9aafedbf0468e7381daaf2471
2025-10-01 23:09:05 +01:00
Sharlatan Hellseher 851b7f175a gnu: packages/python-xyz: Sort.
* gnu/packages/python-xyz.scm: (python-zarr, python-zeroc-ice,
python-zeroc-ice-3.6, python-zeroconf, python-zict, python-zipfly,
python-zipstream-new): Sort variables alphabetically.

Change-Id: If110fef5d55964da9d30be71699d92ae93c387d3
2025-10-01 23:04:19 +01:00
Sharlatan Hellseher 0974259232 gnu: packages/python-xyz: Remove (gnu packages aidc) module.
* gnu/packages/python-xyz.scm: Remove (gnu packages aidc) module.

Change-Id: I4753ec9444390093f94e51eaea1f29e4c46d0444
2025-10-01 22:56:20 +01:00
Sharlatan Hellseher 981bf236a9 gnu: python-pyzbar: Move to aidc.
* gnu/packages/python-xyz.scm (python-pyzbar): Move from here ...
* gnu/packages/aidc.scm: ... to here.
* gnu/packages/engineering.scm: Add aidc module.

Change-Id: I0dc9a15c97b2a96bca51edbe5b8563bb89ff1e6e
2025-10-01 22:55:26 +01:00
Sharlatan Hellseher 9a29453aa6 gnu: python-pyzbar: Update to 0.1.9.
* gnu/packages/python-xyz.scm (python-pyzbar): Update to 0.1.9.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Add python-setuptools.

Change-Id: Ifa9a37eff2308c9d3a87902c610e010d49dd75d7
2025-10-01 22:55:25 +01:00
Sharlatan Hellseher 9635b811c0 gnu: python-pyzbar: Refresh package style.
* gnu/packages/python-xyz.scm (python-pyzbar): Use G-expressions, remove
trailing #t from lambdas, fix indentation,

Change-Id: Ie73b72a61cc22190a9ef834d449bf76c90a392b6
2025-10-01 22:55:25 +01:00
Sharlatan Hellseher ad1e6ce38a gnu: python-zbarlight: Move to aidc.
* gnu/packages/python-xyz.scm (python-zbarlight): Move from here ...
* gnu/packages/aidc.scm: ... to here.

Change-Id: Id42c44607319c32b76431491fa6c1120c638179a
2025-10-01 22:55:25 +01:00
Sharlatan Hellseher 968069145b gnu: python-zbarlight: Fix tests.
* gnu/packages/python-xyz.scm (python-zbarlight)[source]: Switch to
git-fetch providing tests.
[propagated-inputs]: Remove python-setuptools.
[native-inputs]: Remove python-wheel; add python-pytest and
python-setuptools.

Change-Id: I9952f114c1cabf6270d2a990f39cf8e4b00738ae
2025-10-01 22:27:47 +01:00
Sharlatan Hellseher f6034efe9c gnu: python-zipfly: Fix license.
* gnu/packages/python-xyz.scm (python-zipfly):[license]: License is
Expat (MIT) on PyPI <https://pypi.org/project/zipfly/> and
GitHub <https://raw.githubusercontent.com/sandes/zipfly/refs/tags/v6.0.5/LICENSE>.

Change-Id: I4d713e0e97988d2530a273ed5f58babea649b9e4
2025-10-01 22:18:41 +01:00
Sharlatan Hellseher 24ba37f00f gnu: python-zipfly: Enable tests.
* gnu/packages/python-xyz.scm (python-zipfly)[arguments] <tests?>: Enable.
<test-backend>: Use 'unittest.
[native-inputs]: Remove python-wheel.

Change-Id: I5415fd7b23616ac0f12f490cfffa81f408ba47be
2025-10-01 22:16:54 +01:00
Sharlatan Hellseher abd9473bf1 gnu: python-zipstream-new: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-zipstream-new)[build-system]:
Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Remove python-nose; add python-setuptools.

Change-Id: If57ae0a3fc203e76335c2da2d7718c6f9f81e3f9
2025-10-01 22:14:14 +01:00
Ghislain Vaillant 93823d89aa gnu: Add python-pybtex-apa-style.
* gnu/packages/python-xyz.scm (python-pybtex-apa-style): New variable.

Change-Id: Ic73c4e01bd1e0d2a044ff0c2d9baaa8a7dc18fac
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01 22:09:49 +01:00
Ghislain Vaillant dc74850945 gnu: Add python-num2words.
* gnu/packages/python-xyz.scm (python-num2words): New variable.

Change-Id: Ia42bd80ef5702bfa75c37c387b57922713216105
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01 20:40:17 +01:00
Ghislain Vaillant 1f33dd1afa gnu: Add python-darkdetect.
* gnu/packages/python-xyz.scm (python-darkdetect): New variable.

Change-Id: I3c991b8fa03700f7114a44b3d3df576df0d15b6f
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01 20:33:55 +01:00
Sharlatan Hellseher 011de0d1f5 gnu: python-monthdelta: Fix tests.
* gnu/packages/python-xyz.scm (python-monthdelta)[arguments]
<test-backend>: Use 'unittest.
[native-inputs]: Remove python-wheel.

Change-Id: I9e23db42377deef7c6cc321217bbb130861ba890
2025-10-01 15:25:05 +01:00
Sharlatan Hellseher 2605ef607e gnu: python-pybktree: Disable tests.
* gnu/packages/python-xyz.scm (python-pybktree)[argumens] <tests?>: No tests.
[native-inputs]: Remove python-wheel.

Change-Id: I6663ce2a60a78ec89a4b26653546aab9a7fbe256
2025-10-01 15:02:06 +01:00
Ghislain Vaillant f627558ec7 gnu: Add python-inotify.
* gnu/packages/python-xyz.scm (python-inotify): New variable.

Change-Id: Iff49c585ee257161c86e6ef12f84233d33e504ae
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01 13:54:53 +01:00
Sharlatan Hellseher 18dbf1571b gnu: Add python-grapheme.
* gnu/packages/python-xyz.scm (python-grapheme): New variable.

Change-Id: Ia24a261eae6f36d97022e0c78a0b492b90131054
2025-10-01 12:13:44 +01:00
Efraim Flashner c794bf4b81 gnu: Add python-term-image.
* gnu/packages/python-xyz.scm (python-term-image): New variable.

Change-Id: I5f5da625ff99b79a1351cc938139c0d0717e0cd3
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-01 12:13:43 +01:00
Sharlatan Hellseher 6de01dfdfa gnu: python-srsly: Update to 2.5.1.
* gnu/packages/python-xyz.scm (python-srsly): Update to 2.5.1.
[arguments] <test-flags>: Provide option to run tests again installed
module, skip 3 failing tests.
<phases>: Remove 'build-extensions.
[native-inputs]: Remove python-wheel.

Change-Id: I4ee33c5ec18caeb6fbb5685e15bc557918f3612c
2025-10-01 00:36:56 +01:00
Sharlatan Hellseher 25f4edfb88 gnu: python-pathy: Move to python-web.
* gnu/packages/python-xyz.scm (python-pathy): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I6e8bc42e2ea2b57cd9b5d4b54b7618339edaf520
2025-10-01 00:36:56 +01:00
Sharlatan Hellseher 309927a2e5 gnu: python-pathy: Update to 0.11.0.
* gnu/packages/python-xyz.scm (python-pathy): Update to 0.11.0.
[propagated-inputs]: Remove python-smart-open; add python-pathlib-abc and
python-smart-open-6.
[native-inputs]: Remove python-wheel.

Change-Id: I84d58b53e808a6e2d1ab183235c689a3864abfcd
2025-10-01 00:36:56 +01:00
Sharlatan Hellseher a2de5f9480 gnu: Add python-pathlib-abc.
* gnu/packages/python-xyz.scm (python-pathlib-abc): New variable.

Change-Id: If356aa8eab82d2542eb556395e7b8403a18cddc8
2025-10-01 00:36:56 +01:00
Sharlatan Hellseher 56c97d665b gnu: python-murmurhash: Move to pyhton-crypto.
* gnu/packages/python-xyz.scm (python-murmurhash): Move from here ...
* gnu/packages/python-crypto.scm: ... to here.
* gnu/packages/machine-learning.scm: Add python-crypto module.

Change-Id: I59a26e82622112736b5a331dd948d9aa91255207
2025-10-01 00:36:56 +01:00
Sharlatan Hellseher 812a676ddf gnu: python-murmurhash: Update to 1.0.10.
* gnu/packages/python-xyz.scm (python-murmurhash): Update to 1.0.10.
[native-inputs]: Remove python-wheel.

Change-Id: I14773c9fd43d24c90af5bcd301dd34894f1ba283
2025-10-01 00:36:56 +01:00
Sharlatan Hellseher f0184ea657 gnu: python-langcodes: Update to 3.5.0.
* gnu/packages/python-xyz.scm (python-langcodes): Update to 3.5.0.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Add python-language-data.
[native-inputs]: Add python-setuptools and python-setuptools-scm.

Change-Id: I0fc376639843eecdd3489f5b8cc861fb5708d09d
2025-10-01 00:36:56 +01:00
Sharlatan Hellseher 9b6376b618 gnu: Add python-language-data.
* gnu/packages/python-xyz.scm (python-language-data): New variable.

Change-Id: Ib43630b752992cd647c61adfa127276d0dbd7120
2025-10-01 00:36:55 +01:00
Sharlatan Hellseher 9046b7f873 gnu: Add python-marisa-trie.
* gnu/packages/python-xyz.scm (python-marisa-trie): New variable.

Change-Id: I34aab5ffbc9b1b05ee5c820a3806bbae2e8c14be
2025-10-01 00:36:55 +01:00
Sharlatan Hellseher d3b2c73dd5 gnu: python-id: Fix license.
* gnu/packages/python-xyz.scm (python-id) [license]: Fix it.

Change-Id: Idd307cba21347fb7a8d5e9d1d190a650b0fb4e5b
2025-10-01 00:36:55 +01:00
Sharlatan Hellseher b874f261d4 gnu: python-anyascii: Update to 0.3.3.
* gnu/packages/python-xyz.scm (python-anyascii): Update to 0.3.3.
[native-inputs]: Remove python-setuptools; add python-pytest.

Change-Id: I6317366173a65cbc1493700ab46abd8b1b0964f0
2025-10-01 00:36:47 +01:00
Sharlatan Hellseher 536b57810a gnu: python-types-toml: Update to 0.10.8.20240310.
* gnu/packages/python-xyz.scm (python-types-toml): Update to 0.10.8.20240310.
[arguments] <tests?>: No tests.
[native-inputs]: Remove python-wheel.

Change-Id: I92c8805fb5c73da38ab8040a9acab7a1c4ac673d
2025-09-30 19:46:18 +01:00
Jake Forster 69baf529ea gnu: python-fsspec: Update to 2025.9.0.
Fixes build of python-uproot.

* gnu/packages/python-xyz.scm (python-fsspec): Update to 2025.9.0.
[home-page]: Fix permanent redirect.

Change-Id: Iecdefa053ccdc0928f7250b4fa0b8e2600cfb35f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 19:46:03 +01:00
Nguyễn Gia Phong 6ebc5d855c gnu: python-flit-core-next: Mark as deprecated.
This is a followup to a34d8e4278.

Replace all python-flit-core-next occurrences with python-flit-core.

* gnu/packages/python-build.scm (python-flit-core-next):
  Mark as a deprecated public alias.
* gnu/packages/machine-learning.scm (python-pytorch-geometric)
  [propagated-inputs]: Replace python-flit-core-next
  with python-flit-core.
* gnu/packages/pdf.scm (python-pypdf) [propagated-inputs]:
  Replace python-flit-core-next with python-flit-core.
* gnu/packages/python-check.scm (python-stestr) [propagated-inputs]:
  Replace python-flit-core-next with python-flit-core.
* gnu/packages/python-xyz.scm (python-asyncclick) [propagated-inputs]:
  Replace python-flit-core-next with python-flit-core.

Change-Id: I3a25290f6fd97995b773332addefe33afd016e67
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 13:22:59 +01:00
Nguyễn Gia Phong a969d3cd70 gnu: python-charset-normalizer-3: Mark as deprecated.
This is a followup to bbb9551884.

Replace all python-charset-normalizer-3 occurences
with python-charset-normalizer.

* gnu/packages/python-xyz.scm (python-charset-normalizer-3):
  Mark as a deprecated public alias.
* gnu/packages/music.scm (picard)
  [inputs]: Replace python-charset-normalizer-3
  with python-charset-normalizer.
* gnu/packages/python-web.scm (python-translation-finder)
  [propagated-inputs]: Replace python-charset-normalizer-3
  with python-charset-normalizer.

Change-Id: Ib45bfe24efde2f2a6435c0c272d9d14e70e2321e
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 13:22:52 +01:00
Efraim Flashner d6daad298a gnu: python-vobject: Update to 0.9.9.
* gnu/packages/python-xyz.scm (python-vobject): Update to 0.9.9.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Remove python-pyicu; add python-pytz and python-six.
[native-inputs]: Add python-setuptools.

Change-Id: I1839f0c19e5f6d59477606ebc461d18fff685e71
2025-09-30 11:14:39 +03:00
John Kehayias 768ea590ec gnu: python-openpyxl: Fix tests.
* gnu/packages/python-xyz.scm (python-openpyxl)[native-inputs]: Replace
python-lxml with python-lxml-4.9.

Change-Id: I59374faaf1dea054ac3f109fcdca53fe7aaa96a9
2025-09-30 16:52:05 +09:00
Maxim Cournoyer 8389fd89d2 gnu: python-unicodedata2: Update to 16.0.0.
* gnu/packages/python-xyz.scm (python-unicodedata2): Update to 16.0.0.

Change-Id: Ia3edef9c5ada75b2c85727be3b55db4ab2bc7b44
2025-09-30 16:48:23 +09:00
Maxim Cournoyer 42015f622d gnu: python-fonttools-minimal: Update to 4.59.2.
* gnu/packages/python-xyz.scm (python-fonttools-minimal): Update to 4.59.2.
[native-inputs]: Delete field.
(python-fonttools) [#:phases] {check}: Adjust.

Change-Id: Iaa4569e734956ff65dcd0bd6d8ed712858ee493c
2025-09-30 16:48:23 +09:00
John Kehayias 6074612663 gnu: python-beautifulsoup4: Update to 4.13.5.
* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.13.5.

Change-Id: Ie1786b0b16b4332ea6295a3ecea83540dbab82cc
2025-09-30 16:48:23 +09:00
Sergey Trofimov 54a91b7a37 gnu: Replace usages of sane-backends with sane.
Replacement done using:
find gnu/packages -name '*.scm' -print0 | xargs -0 sed -ri \
  -e 's/"sane-backends" ,sane-backends/"sane" ,sane/' \
  -e 's/(list[^"]+sane)-backends/\1/' \
  -e 's/^( +sane)-backends/\1/'

* gnu/packages/hardware.scm (hw-probe)[inputs]:
* gnu/packages/wine.scm (wine)[inputs]:
* gnu/packages/python-xyz.scm (python-sane)[inputs]:
* gnu/packages/ocr.scm (gimagereader)[inputs]:
* gnu/packages/libreoffice.scm (libreoffice)[inputs]:
* gnu/packages/kde.scm (ksanecore)[inputs]:
* gnu/packages/gnome.scm (simple-scan, ocrfeeder, colord)[inputs]:
* gnu/packages/scanner.scm (scanbd, xsane, sane-airscan)[inputs]:
Replace sane-backends with sane.

Change-Id: If995e846ed4f53a740119b362e07c36c90a621cb
2025-09-30 16:48:23 +09:00