Commit graph

4851 commits

Author SHA1 Message Date
Sharlatan Hellseher
ed03c2b055
gnu: python-dask-image: Move to python-science.
* gnu/packages/python-xyz.scm (python-dask-image): Move from here ...
* gnu/packages/python-science.scm: ... to here.

Change-Id: I1ede0dd1410c1efcc4601b7e91285112f9c9a7ea
2025-07-24 15:52:06 +01:00
Sharlatan Hellseher
cb356f41c8
gnu: python-pykdtree: Move to python-science.
* gnu/packages/python-xyz.scm (python-pykdtree): Move from here ...
* gnu/packages/python-science.scm: ... to here.

Change-Id: Id13b95eab7e590b01cd46375929303458cf9ac82
2025-07-24 15:25:34 +01:00
Nicolas Graves
c2f9489f74
gnu: python-pykdtree: Update to 1.4.2.
* gnu/packages/python-xyz.scm (python-pykdtree): Update to 1.4.2.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them and explain why.
<#:phases>: Remove test files in output.
[native-inputs]: Replace python-cython by python-cython-3.

Change-Id: If5a7bb27b4c3af9075334360a57ae92f93d4fa35
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-24 15:19:43 +01:00
Vinicius Monego
a45e4b42ed
gnu: python-exif-read: Enable tests.
* gnu/packages/python-xyz.scm (python-exif-read)[source]: Fetch from
GitHub.
[arguments]: Remove '#:tests? #f'.
[native-inputs]: Add python-pytest.

Change-Id: Ieffb996948c4fd8873351c89fd26c5314139e9ae
2025-07-23 15:30:16 -03:00
Vinicius Monego
b9531036d2
gnu: python-exif-read: Update to 3.3.2.
* gnu/packages/python-xyz.scm (python-exif-read): Update to 3.3.2.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: If6ec19f061f6e3d64550bba307616b7f1c545c0e
2025-07-23 15:30:16 -03:00
Vinicius Monego
4488ed60db
gnu: python-treelib: Update to 1.8.0.
* gnu/packages/python-xyz.scm (python-treelib): Update to 1.8.0.
[source]: Fetch from GitHub.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-poetry-core, python-pytest.
[propagated-inputs]: Remove python-six.

Change-Id: I61fd3ba7da54ad97d547089f9f644673d129974c
2025-07-23 15:30:15 -03:00
Nicolas Graves
a651780eac
gnu: python-srt: Enable tests.
* gnu/packages/python-xyz.scm (python-srt)[native-inputs]: Add
python-pytest.

Change-Id: I1d1bbac3c3aff6b59d485769263cc824ce937e18
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:24 +01:00
Nicolas Graves
6aa104f90a
gnu: python-srt: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-srt)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: I7babe669543d975bb88fbc337a38bc507c8613f2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:24 +01:00
Nicolas Graves
4b5f8853dc
gnu: python-srt: Update to 3.5.3.
* gnu/packages/python-xyz.scm (python-srt): Update to 3.5.3.

Change-Id: Ic5fb7a3da56689bc91b66e45c8c6429830bb69c6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:24 +01:00
Nicolas Graves
93d4c88e4e
gnu: python-srt: Improve style.
* gnu/packages/python-xyz.scm (python-srt): Run guix style.

Change-Id: I0023088ba37030a08b2286335226d5899b45fe6f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:24 +01:00
Liliana Marie Prikler
15d2690104
gnu: python-readability-lxml: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-readability-lxml): Switch to
pyproject-build-system.  Drop arguments.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia85fb8c34af377f9c7d0caf70cfe7c18f473bcf9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:23:25 +01:00
Liliana Marie Prikler
ecfda5ffd3
gnu: python-readability-lxml: Add missing input.
* gnu/packages/python-xyz.scm (python-readability-lxml)[propagated-inputs]:
Add python-lxml-html-clean.

Change-Id: I11fb7ce8cbf93ccab180536921114e039db62017
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:23:25 +01:00
Johannes Christ
239443e0a1
gnu: python-lsp-server: Update to 1.13.0.
* gnu/packages/python-xyz.scm (python-lsp-server): Update to 1.13.0.
  [arguments] <test-flags>: Rework the list of skipped tests.
  [propagated-inputs]: Add python-black.
  [native-inputs]: Remove python-autopep8, python-flake8, python-numpy,
  python-pandas; add python-websockets.

Change-Id: I1e0087a43374085ccb95f15df5c9f9f24901d6ad
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-22 18:59:32 +01:00
Liliana Marie Prikler
f08d4a3d3a
gnu: python-dateparser: Improve package style.
* gnu/packages/python-xyz.scm (python-dateparser)[arguments]: Convert to list
of G-Expressions.  Move ‘delete-failing-tests’ into #:configure-flags.
[propagated-inputs, native-inputs]: Move after arguments.
Sort alphabetically and linewise.
[native-inputs]: Drop python-flake8.

Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-22 17:52:52 +02:00
Liliana Marie Prikler
88447f2de5
gnu: python-dateparser: Fix build.
* gnu/packages/python-xyz.scm (python-dateparser)[#:test-flags]: Disable
“test_relative_base_setting_2_en”.

Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-22 17:52:52 +02:00
Sharlatan Hellseher
1805a24c32
gnu: python-duckdb: Update to 1.3.2.
* gnu/packages/python-xyz.scm (python-duckdb): Update to 1.3.2.
  [arguments] <tests?>: Disable for now due to guix/guix#1436.
  <phases>: Remove 'set-version.
  [native-inputs]: Remove python-google-cloud-storage, python-pyarrow,
  python-pytest, and python-pytest-runner.

Change-Id: Ia7924001fcae06a01ab9d1f494be98ee66523309
2025-07-20 22:15:21 +01:00
Sharlatan Hellseher
f9aa810402
gnu: python-netcdf4: Update to 1.6.2.
* gnu/packages/python-xyz.scm (python-netcdf4): Update to 1.6.2.
  [build-system]: Use pyproject.
  [arguments] <phases>: Remove 'configure-locations; add
  set-configure-flags; use custom 'check.
  [inputs]: Remove hdf4; add zlib.
  [native-inputs]: Remove python-cython; add python-cython-3,
  python-setuptools, and python-wheel.

Change-Id: Ie4e13538c2e5ad8d06055b7c3a4692c26c03e8da
2025-07-19 22:06:36 +01:00
Sharlatan Hellseher
293beaaaa3
gnu: python-netcdf4: Use G-expressions.
* gnu/packages/python-xyz.scm (python-netcdf4): Use G-expressions.

Change-Id: Idba0da37c8c0d7e22a2a5cf784bb8a7c9b80ba12
2025-07-19 21:34:33 +01:00
Liliana Marie Prikler
e743bf77e5
gnu: python-cython-next: Fix build on i686.
* gnu/packages/python-xyz.scm (python-cython-3)[native-inputs]: Use gcc-11
when target-x86-32?
2025-07-19 17:40:39 +02:00
Cayetano Santos
67199d9fe7
gnu: python-find-libpython: Update to 0.4.1.
* gnu/packages/python-xyz.scm (python-find-libpython): Update to 0.4.1.

Change-Id: I1979d8e3e39bef589522b674b213b91901d465ab
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-19 11:56:52 +01:00
Vinicius Monego
9bff5e0ecb
gnu: python-xmlsec: Update to 1.3.16.
* gnu/packages/python-xyz.scm (python-xmlsec): Update to 1.3.16.
[home-page]: Follow redirect.

Change-Id: Ib5e95ec24c98156d614f1a903c0d9fe6c11a3cfa
2025-07-19 04:10:11 -03:00
Andreas Enge
6e62ec0c01
gnu: python-shapely: Update to 2.1.1.
* gnu/packages/python-xyz.scm (python-shapely): Update to 2.1.1.

Change-Id: I535568979f8578186c64a22437032d0890d873f6
2025-07-18 20:17:54 +02:00
Zheng Junjie
a127901482
gnu: python-fonttools: Use python-lxml-4.9
* gnu/packages/python-xyz.scm (python-fonttools)[propagated-inputs]: Use
python-lxml-4.9 replace python-lxml.

Change-Id: I27fbd33865d4e7177671203e6f4816b19fc59fdf
2025-07-18 20:17:52 +02:00
Zheng Junjie
7d3fd78e84
gnu: python-libarchive-c: Update to 5.2.
* gnu/packages/python-xyz.scm (python-libarchive-c): Update to 5.2.
[source]: Adjust pyppi name.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-mock; add python-setuptools and python-wheel.
[arguments]: Use G-expressions.

Change-Id: I9a5e30c7b18e95e668713cd6bef4aed1ad7a0602
2025-07-18 20:17:36 +02:00
Janneke Nieuwenhuizen
2237640a25
gnu: python-h5py: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-h5py)[arguments]: Add phase
"relax-gcc-14-strictness".

Change-Id: Ib68eb41305d075069926323727fe35ca65fd2873
2025-07-18 20:17:26 +02:00
Janneke Nieuwenhuizen
b57e655bbc
gnu: python-cython-next: Build with gcc-13.
Using gcc-14 produces

    Compiler output for module e_switch_transform:
    e_switch_transform.c: In function ‘__pyx_pf_18e_switch_transform_is_not_one’:
    e_switch_transform.c:2283:5: error: duplicate case value
     2283 |     case 1+0:
          |     ^~~~
    e_switch_transform.c:2282:5: note: previously used here
     2282 |     case 1:
          |     ^~~~

* gnu/packages/python-xyz.scm (python-cython-3)[native-inputs]: Add gcc-13.

Change-Id: Iaed502e4c105bb1229345288ec2f203453f65acc
2025-07-18 20:17:25 +02:00
Janneke Nieuwenhuizen
d5b661f33e
gnu: python-datrie: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-datrie)[arguments]: New field to relax
gcc-14's strictness.

Change-Id: I44185ba3da9f57326179bd44394d5508da6dd62d
2025-07-18 20:17:23 +02:00
Janneke Nieuwenhuizen
6c6a442ff6
gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14.
* gnu/packages/patches/python-numpy-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.26.4 and use it.
[arguments]: Add phase "relax-gcc-14-strictness".  In phase "check", disable
more tests.
[native-inputs]: Add gcc-14 before gfortran so that gfortran's fenv.h include
doesn't win and break the build.

Change-Id: I9c8053c66f21521371a85107ef1864a1c0d19ad4
2025-07-18 20:17:14 +02:00
Nicolas Graves
29f7068a61
gnu: Add python-pyclibrary.
* gnu/packages/python-xyz.scm (python-pyclibrary): New variable.

Change-Id: Ib02029f6ee122dd833b4c4f2b83c1e9a82237aa8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-17 00:22:44 +01:00
Morgan Smith
fe7dc53673
gnu: Add python-ioctl-opt.
* gnu/packages/python-xyz.scm (python-ioctl-opt): New variable.

Change-Id: I5eef30444528fa722a12268a58c956993dcd47d1
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-12 11:58:08 +02:00
Sharlatan Hellseher
4e900aa00e
gnu: python-bokeh: Update to 3.7.3.
* gnu/packages/python-xyz.scm (python-bokeh): Update to 3.7.3.
[arguments] <tests?>: Disable for now.
<phases>: Add 'set-version.
[propagated-inputs]: Remove python-typing-extensions; add
python-contourpy, python-narwhals, python-pandas, and
python-xyzservices.

Change-Id: I0f2666a5559a1ec6ef5c113d03c1fe62337fac59
2025-07-06 18:44:04 +01:00
Sharlatan Hellseher
90c617a0f9
gnu: python-contourpy: Update to 1.3.2.
* gnu/packages/python-xyz.scm (python-contourpy): Update to 1.3.2.

Change-Id: I3e8517805d1c45f8738f6326c484604315f6b1f3
2025-07-06 18:44:04 +01:00
Benoit Martin
b8a471332c
gnu: python-dask: Update to 2024.12.1.
* gnu/packages/python-xyz.scm (python-dask): Update to 2024.12.1.

Change-Id: I776e9dd3d4a12d33e89e4d48a5e637cb9d6f465e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-06 18:43:55 +01:00
Nicolas Graves
cf266688dd
gnu: python-av: Update to 14.4.0.
* gnu/packages/python-xyz.scm (python-av): Update to 14.4.0.
  [arguments]{test-flags}: Update them.
  [native-inputs]: Replace python-setuptools by python-setuptools-next.
  [inputs]: Use ffmpeg-7.

Change-Id: Ic860d50b1327de4f74ba86e841632aeffef67079
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-04 10:53:07 +01:00
Nicolas Graves
e7d5d3fb50
gnu: python-av: Download testdata to support tests.
* gnu/packages/python-xyz.scm (python-av-testdata): New variable.
  (python-av)[arguments]{test-flags}: Adapt field.
  {phases}: Add phase 'pre-check.

Change-Id: I0d84aafc05a5b1aec6b3905f99783fea2d45a676
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-04 10:52:50 +01:00
Sharlatan Hellseher
a3a066da26
gnu: python-av: Simplify test exclusion list.
* gnu/packages/python-xyz.scm (python-av) [arguments] <test-flags>:
Rewrite a long list with STRING-JOIN, sort skipped tests alphabetically.

Change-Id: I7aa07504f45087dcc3c2f7ea8c65ec972f6fc62f
2025-07-03 21:26:05 +01:00
Nicolas Graves
c78c4b0027
gnu: python-av: Update to 13.0.0.
* gnu/packages/python-xyz.scm (python-av): Update to 13.0.0.
  [arguments]{test-flags}: Add additional similarly failing test; update
  ignored tests due to network access.
  [native-inputs]: Remove python-editorconfig, which was likely never
  required in the first place.
  [inputs]: Replace ffmpeg-5 by ffmpeg.
2025-07-03 21:26:05 +01:00
Sharlatan Hellseher
dc455ba0dd
gnu: python-eris: Update to 1.0.0.
* gnu/packages/python-xyz.scm (python-eris): Update to 1.0.0.
[build-system]: Use pyproject.
[arguments] <tests?>: Disable as data files are not provided.
[native-inputs]: Add python-setuptools, and python-wheel.
[propagated-inputs]: Add python-aiocoap.

Change-Id: Ied94fbfce6deca74a9a90f45e33c52aecf52cb7a
2025-07-03 12:26:48 +01:00
Sharlatan Hellseher
bc83188dcd
gnu: python-bsdiff4: Update to 1.2.6.
* gnu/packages/python-xyz.scm (python-bsdiff4): Update to 1.2.6. Improve
package style.
[build-system]: Use pyproject.
[arguments] <test-flags>: Provide "--pyargs" to tests installed library.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Ic8feac3a4887204f2864827eba1187d89640df19
2025-07-03 12:26:47 +01:00
Sharlatan Hellseher
60022d25d5
gnu: python-flatten-json: Update to 0.1.14-0.900c4fe.
* gnu/packages/python-xyz.scm (python-flatten-json): Update to 0.1.14-0.900c4fe.
[source]: Swap to git-fetch and latest commit associated with 0.1.14 version.
[build-system]: Use pyproject.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Ia28ae8f5a10cd198746b15689b84f512d254a1df
2025-07-03 12:26:47 +01:00
Sharlatan Hellseher
16bd2871d6
gnu: python-mike: Update to 2.1.3.
* gnu/packages/python-xyz.scm (python-mike): Update to 2.1.3.
[source]: Switch to git-fetch, PyPI archive provides no tests.
[build-system]: Use pyproejct.
[arguments] <test-flags>: Skip some prolematic tests.
[native-inputs]: Remove python-coverage, and python-flake8; add
python-pytest, python-setuptools, and python-wheel.
[propagated-inputs]: Add python-importlib-metadata,
python-importlib-resources, python-pyparsing, and python-pyyaml-env-tag.

Change-Id: Ia0db1497766c92a676ecc9dcc5edb9b6b6202a74
2025-07-03 12:26:47 +01:00
Sharlatan Hellseher
40e0f4fcc0
gnu: cobib: Move to textutils.
* gnu/packages/python-xyz.scm (cobib, python-cobib): Move from here ...
* gnu/packages/textutils.scm: ... to here.

Change-Id: I7cea3adc41f08fa4650e548ad31dc76fde49174c
2025-07-02 23:20:53 +01:00
Sharlatan Hellseher
c8a21da0ff
gnu: Add cobib, deprecate python-cobib.
This project is the final tool with unique name,  not a
library. This changes reflects it.

* gnu/packages/python-xyz.scm (cobib): New variable.
(python-cobib): Deprecate variable.

Change-Id: I264eef993e4b470f3e3335a3ac5f76495d43d648
2025-07-02 23:20:53 +01:00
Sharlatan Hellseher
14bbe08750
gnu: python-sshpubkeys: Update to 3.2.0.
* gnu/packages/python-xyz.scm (python-sshpubkeys): Update to
3.2.0. Improve style.
[build-system]: Use pyproject.
[arguments] <tests?>: Disable as all are broken.
[native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: Iff258cf897485f289148e7de56c4b0210732d87d
2025-07-02 23:16:29 +01:00
Sharlatan Hellseher
c0095af35e
gnu: python-robotframework-pabot: Update to 4.2.0.
* gnu/packages/python-xyz.scm (python-robotframework-pabot): Update to 4.2.0.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check; add 'relax-requirements.
<test-flags>: Skip some problematic tests.
[native-inputs]: Add python-setuptools, and python-wheel.
[propagated-inputs]: Add python-natsort.

Change-Id: I2ffc2cb90cd311b231a6b854a44d217adc01208e
2025-07-02 23:16:29 +01:00
Sharlatan Hellseher
8bb19cd7bd
gnu: python-schema: Update to 0.7.7.
* gnu/packages/python-xyz.scm (python-schema): Update to 0.7.7.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: I77b48501d91b8d236ca45ba444a56616f8e377df
2025-07-02 23:16:28 +01:00
Sharlatan Hellseher
7d9b41002a
gnu: python-miniupnpc: Update to 2.3.3.
* gnu/packages/python-xyz.scm (python-miniupnpc): Update to 2.3.3.
[build-system]: Use pyproject.
[arguments] <phases>: Add custrom 'check.
[native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: I61caaa1ae01fe8e00e13397cb307d7aee3b3332f
2025-07-02 23:16:28 +01:00
Sharlatan Hellseher
649df4cf65
gnu: python-miniboa: Update to 1.0.9.
* gnu/packages/python-xyz.scm (python-miniboa): Update to 1.0.9.
[source]: Switch to git-fetch.
[build-system]: Use pyproject.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I18c432086bf725340996013155585148f6cd50d3
2025-07-02 23:16:28 +01:00
Sharlatan Hellseher
538f259dfb
gnu: python-doxypypy: Update to 0.8.8.7.
* gnu/packages/python-xyz.scm (python-doxypypy): Update to 0.8.8.7.
[build-system]: Use pyproject.
[arguments] <tests?>: There are tests, enable them.
<test-flags>: Skip some problematic tests.
<phases>: Add fix-setup.py.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[propagated-inputs]: Add python-chardet.

Change-Id: I5a0f1cda4f840292a849d70591daa7e6b33185e0
2025-07-02 23:16:28 +01:00
Sharlatan Hellseher
9eec08944f
gnu: python-doxyqml: Update to 0.5.3.
* gnu/packages/python-xyz.scm (python-doxyqml): Update to 0.5.3.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: I9cff64d4b2985160c495e1a04bc746f00063596d
2025-07-02 23:16:28 +01:00