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>
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>
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>
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>
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>
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>
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
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
gnu: python-netcdf4: Use G-expressions.
* gnu/packages/python-xyz.scm (python-netcdf4): Use G-expressions.
Change-Id: Idba0da37c8c0d7e22a2a5cf784bb8a7c9b80ba12
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?
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>
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
gnu: python-shapely: Update to 2.1.1.
* gnu/packages/python-xyz.scm (python-shapely): Update to 2.1.1.
Change-Id: I535568979f8578186c64a22437032d0890d873f6
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
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
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
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
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
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
gnu: Add python-pyclibrary.
* gnu/packages/python-xyz.scm (python-pyclibrary): New variable.
Change-Id: Ib02029f6ee122dd833b4c4f2b83c1e9a82237aa8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>