Nicolas Graves
6176e673ec
gnu: python-recommonmark: Switch to pyproject.
...
pytest is not mandatory here, but it's convenient.
* gnu/packages/python-xyz.scm (python-recommonmark):
[build-system]: Switch to pyproject-build-system.
[arguments]: Migrate <#:phases> to <#:test-flags>.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.
Change-Id: I9704f2a4ade3095a477e039a6c8a17b8cd0fc0d1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:12 +01:00
Nicolas Graves
b19dda7697
gnu: python-fields: Update to 5.0.0-0.cb473d1.
...
* gnu/packages/python-xyz.scm (python-fields): Update to 5.0.0-0.cb473d1.
[arguments]<#:test-flags>: Ignore performance tests.
[native-inputs]: Add python-pytest, python-pytest-benchmark.
Change-Id: I5b210e0cdf000e388ceb98d0e554213bbc310f55
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:12 +01:00
Nicolas Graves
fbf3c58b6b
gnu: python-fields: Fetch source from git.
...
* gnu/packages/python-xyz.scm (python-fields):
[source]: Switch to git-fetch.
Change-Id: I7bb11fe35b53cc641acfcba13bd9cabc1e6d7331
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:12 +01:00
Nicolas Graves
51b986b42e
gnu: python-fields: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-fields):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: I08fdc957c0adaa59ad5fe0a7419ea084b220a061
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:12 +01:00
Nicolas Graves
18ef361e9c
gnu: python-fastbencode: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-fastbencode):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: I34ff7d31368a73d9314492ea430e153033e35eee
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:12 +01:00
Nicolas Graves
da8cee569c
gnu: python-speg: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-speg):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: Ic6acfaf9654cb4444158cf950357bb5fe1a1a0dc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
9b4925f01b
gnu: python-psycopg2-binary: Improve style.
...
* gnu/packages/python-xyz.scm (python-psycopg2-binary): Run guix
style and reorder fields.
Change-Id: I2c730ae7e3b57784b7d45a119f066a76ad74fc61
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
b18266a41f
gnu: python-psycopg2-binary: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-psycopg2-binary):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: Ide1577a2414e380d7be66dee7d88c5bc59abae6e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
431fdb259e
gnu: python-types-freezegun: Disable tests.
...
* gnu/packages/python-xyz.scm (python-types-freezegun):
[arguments]: Disable tests explicitely.
Change-Id: I5a58d81a6a83edb1d4fa6f6c5f9c6f3eb03c1521
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
88119444c3
gnu: python-types-freezegun: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-types-freezegun):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: Ic2c028b2f3990fa7546e38fe37805a5cdf90add4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
e35f4e88d7
gnu: python-types-protobuf: Disable tests.
...
* gnu/packages/python-xyz.scm (python-types-protobuf):
[arguments]: Disable tests explicitely.
Change-Id: I89decb3eb81f626a4dedf66c5a931f4c7ef60df8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
c7da5ddcf7
gnu: python-types-protobuf: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-types-protobuf):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: I99e6654114c23bc5bf79aeb15b917ca6de70f054
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
69d80b31b0
gnu: python-args: Disable tests and remove python-nose dependency.
...
* gnu/packages/python-xyz.scm (python-args)
[arguments]<#:tests?>: Unset.
[native-inputs]: Remove python-nose.
Change-Id: I3b42748b25665271b2a1d83f3eaac68e8621f232
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:11 +01:00
Nicolas Graves
682dedf479
gnu: python-args: Improve style.
...
* gnu/packages/python-xyz.scm (python-args): Run guix style.
Change-Id: I291da2a8d3edc23cab7d760d74b657da781d4253
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:10 +01:00
Nicolas Graves
b31de4d4d7
gnu: python-args: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-args):
[arguments]<#:phases>: Remove 'check phase replacement.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: Ia25eae40725adadce182cbdb5e874dd7352e4d35
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:10 +01:00
Nicolas Graves
7b1f7c7e8c
gnu: python-clint: Switch to pyproject.
...
* gnu/packages/python-xyz.scm (python-clint):
[arguments]<#:phases>: Delete 'check phase.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: I02ebd2b167dc9dafa3af44f2ed588b713279bba2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:10 +01:00
Sharlatan Hellseher
f01390b916
gnu: python-archspec: Update to 0.2.5.
...
* gnu/packages/python-xyz.scm (python-archspec): Update to 0.2.5.
[propagated-inputs]: Remove python-boltons, python-cooler, python-ctxcore,
python-interlap, python-intervaltree, python-jsonschema,
python-networkx, python-numba, python-poetry-core, pyscenic,
python-scikit-learn, python-tables, and python-typing-extensions.
[native-inputs]: Remove python-black, python-flake8, python-isort, python-pylint, and
python-pytest-cov; add python-jsonschema.
Change-Id: I40c2d4b038877eb243daaf5f9f73127eb994d64f
2025-07-24 16:00:16 +01:00
Sharlatan Hellseher
18629b3d69
gnu: python-dask: Move to python-science.
...
* gnu/packages/python-xyz.scm (python-dask, python-dask/bootstrap): Move
from here ...
* gnu/packages/python-science.scm: ... to here.
Change-Id: I6bedc89bd09b3f2dfc3f7cbe27eb5790f32f6af7
2025-07-24 15:52:13 +01:00
Sharlatan Hellseher
068654e0e9
gnu: python-sparse: Move to python-science.
...
* gnu/packages/python-xyz.scm (python-sparse): Move from here ...
* gnu/packages/python-science.scm: ... to here.
Change-Id: I52b814e264aa2fe28adeaec46b868f2e3b8279ec
2025-07-24 15:52:13 +01:00
Sharlatan Hellseher
f9f378224d
gnu: python-anndata: Move to python-science.
...
* gnu/packages/python-xyz.scm (python-anndata): Move from here ...
* gnu/packages/python-science.scm: ... to here.
Change-Id: I3d968728de04610984c08884bd29cd9c055fa284
2025-07-24 15:52:13 +01:00
Sharlatan Hellseher
aaeb42f675
gnu: python-multiscale-spatial-image: Move to python-science.
...
* gnu/packages/python-xyz.scm (python-multiscale-spatial-image): Move
from here ...
* gnu/packages/python-science.scm: ... to here.
Change-Id: Ib921389b3018e353d3eb85030bf63cbb9b68c213
2025-07-24 15:52:13 +01:00
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