Commit graph

4827 commits

Author SHA1 Message Date
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
Sharlatan Hellseher
98d48a6da9
gnu: python-jsonalias: Update to 0.1.2.
* gnu/packages/python-xyz.scm (python-jsonalias): Update to 0.1.2.
[build-system]: Use pyproject.
[native-inputs]: Add python-poetry-core.

Change-Id: I9f0e7653f6604debc7879f0089267661ab28d316
2025-07-02 23:16:28 +01:00
Sharlatan Hellseher
7f620c948e
gnu: python-canmatrix: Update to 1.2.
* gnu/packages/python-xyz.scm (python-canmatrix): Update to 1.2.
[source]: Switch to git-fetch.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Remove python-future and python-six; add
python-canopen, python-lxml, python-openpyxl, python-pyyaml,
python-xlrd, and python-xlwt.
[native-inputs]: Remove python-lxml, python-xlrd, and python-xlwt; add
python-pathlib2, python-setuptools, and python-wheel.

Change-Id: I50bff662c327d335a880d5366f49cec59be90e75
2025-07-02 23:16:28 +01:00
Sharlatan Hellseher
4c4dc6b2df
gnu: python-ncclient: Update to 0.6.19.
* gnu/packages/python-xyz.scm (python-ncclient): Update to 0.6.19.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[native-inputs]: Add python-setuptools, and python-wheel.

Change-Id: I72b436101c8c8703ec69ab18b04adc4df119a513
2025-07-02 23:16:27 +01:00
Sharlatan Hellseher
04982414e2
gnu: python-plotille: Update to 5.0.0.
* gnu/packages/python-xyz.scm (python-plotille): Update to 5.0.0.
[source]: Switch to git-fetch.
<snippet>: Delete conflicting directory containing test image samples.
[build-system]: Use pyproject.
[native-inputs]: Remove python-six; add python-pytest, python-mock,
python-pendulum, python-pytest-cov, python-pytest-mock,
python-setuptools, and python-wheel.

Change-Id: Ia990677e97d48ba69e8738fc79585c45bd3a954d
2025-07-02 23:16:27 +01:00
Sharlatan Hellseher
82b54d884a
gnu: python-cobib: Update to 5.3.0.
* gnu/packages/python-xyz.scm (python-cobib): Update to 5.3.0.
[source]: Switch to git-fetch.
[build-system]: Use pyproject.
[propagated-inputs]: Add python-lxml, python-mdit-py-plugins,
python-rich, python-text-unidecode, python-textual-1, and
python-typing-extensions.
[native-inputs]: Remove python-future, and python-pyte; add
git-minimal/pinned, nss-certs-for-tests, python-pytest-asyncio,
python-pytest-textual-snapshot, add python-setuptools and python-wheel.
[home-page]: Fix URL redirection <https://gitlab.com/mrossinek/cobib> ->
<https://gitlab.com/cobib/cobib>.

Change-Id: I50f01b6c8229ca7732ba51369406ecf6350fd59a
2025-07-02 23:16:27 +01:00
Sharlatan Hellseher
c8cc6971ad
gnu: Add python-textual-1.
* gnu/packages/python-xyz.scm (python-textual-1): New variable.

Change-Id: Id346d9746531dcc13375390e24f9f5aa81718363
2025-07-02 23:16:27 +01:00
Vinicius Monego
adb09ed12e
gnu: python-confuse: Update to 2.0.1.
* gnu/packages/python-xyz.scm (python-confuse): Update to 2.0.1.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-flit-core, python-pytest.

Change-Id: I1af7f207b7347ddfbd4cc9227ae500173ec615a2
2025-07-02 18:38:05 -03:00
Vinicius Monego
30ff14f39a
gnu: python-argh: Update to 0.31.3.
* gnu/packages/python-xyz.scm (python-argh): Update to 0.31.3.
[source]: Fetch from PyPI.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases>: Delete the 'patch-tests' phase. Do not override
the 'check' phase.
[native-inputs]: Add python-flit-core, python-pytest.
[propagated-inputs]: Remove python-iocapture, python-mock,
python-pytest, python-pytest-cov, python-pytest-xdist.
[description]: Improve it.

Change-Id: Ib02e4552271e1b461fed1fa5f0e70f603f2befa2
2025-07-02 18:38:05 -03:00
Vinicius Monego
50f1777284
gnu: python-pyre-extensions: Update to 0.0.32.
* gnu/packages/python-xyz.scm (python-pyre-extensions): Update to
0.0.32.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.

Change-Id: I87fad94a2f7234cdf203f6f0d8f8895da0977bbe
2025-07-02 18:37:50 -03:00
Vinicius Monego
1e44e976e7
gnu: python-mir-eval: Update to 0.8.2.
* gnu/packages/python-xyz.scm (python-mir-eval): Update to 0.8.2.
[source]: Fetch from GitHub.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'cd-tests' before 'check'.
[propagated-inputs]: Remove python-future, python-six. Add
python-decorator.
[native-inputs]: Add python-pytest, python-pytest-cov,
python-pytest-mpl, python-setuptools, python-wheel.
[home-page]: Follow redirect.

Change-Id: I63ce6b9295292595218e83edf8590134bd80a5f6
2025-06-29 00:04:45 -03:00
Vinicius Monego
7aae3e3b8a
gnu: python-uncertainties: Enable tests.
* gnu/packages/python-xyz.scm (python-uncertainties)[arguments]: Remove
'#:tests? false'.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-numpy.

Change-Id: I1b9a923a405c1dc1b11ef1ca17d2974cf9c8317b
2025-06-29 00:04:44 -03:00
Vinicius Monego
9d8f0a6b65
gnu: python-uncertainties: Update to 3.2.3.
* gnu/packages/python-xyz.scm (python-uncertainties): Update to 3.2.3.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Remove python-future.
[native-inputs]: Remove python-nose, python-numpy. Add
python-setuptools, python-setuptools-scm, python-wheel.
[home-page]: Switch to new home page.

Change-Id: I5af89ce8e2e83b02f0942350ecc74ceee331d8b2
2025-06-29 00:04:44 -03:00
Vinicius Monego
1573aa3ae2
gnu: python-symengine: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-symengine)[build-system]: Use
pyproject-build-system.
[arguments]<#:phases>: In the custom 'check' phase, run tests with
nose2.
[native-inputs]: Replace python-nose by python-nose2. Add
python-setuptools, python-wheel.

Change-Id: I73adbc3d6439b865001d65a6ea1d137815ce7192
2025-06-29 00:04:44 -03:00
Vinicius Monego
5966e0ef22
gnu: python-filetype: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-filetype)[build-system]: Use
pyproject-build-system.
[arguments]<#:phases>: Do not override the 'check' phase and enable
previously failing tests.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I0490afc30a0ec4b8263b9d201a2043f9e493c260
2025-06-29 00:04:44 -03:00
Vinicius Monego
a6c21cd8c0
gnu: python-get-version: Update to 3.5.5.
* gnu/packages/python-xyz.scm (python-get-version): Update to 3.5.5.
[build-system]: Use pyproject-build-system.
[arguments]: Add '#:tests? #f'.
[propagated-inputs]: Remove python-pygments, python-pytest,
python-pytest-black, python-pytest-cov, python-setuptools,
python-testpath. Add python-dunamai.
[native-inputs]: Add python-flit-core.

Change-Id: I14330db6c4efed12aaaa2f8bc046ecffd78d49a1
2025-06-29 00:04:43 -03:00
Vinicius Monego
47948f47f9
gnu: python-zipfly: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-zipfly)[build-system]: Use
pyproject-build-system.
[arguments]: Add '#:tests? #f'.
[native-inputs]: Add python-setuptools, python-wheel.
[home-page]: Use HTTPS.

Change-Id: I2df22c529ce6b43399eaeb63f6072dbe826f3052
2025-06-29 00:04:43 -03:00
Vinicius Monego
56dbb54917
gnu: python-urwidtrees: Update to 1.0.4.
* gnu/packages/python-xyz.scm (python-urwidtrees): Update to 1.0.4.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I42a7f4aa9b6aa6a0af547a0d3c62f28d262f8e38
2025-06-29 00:04:43 -03:00
Vinicius Monego
a56b0f76c0
gnu: python-nb-clean: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-nb-clean): Update to 4.0.1.
[source]: Fetch from GitHub.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-poetry-core, python-pytest,
python-pytest-cov, python-pytest-mock.

Change-Id: I9eb94f5411fd0686f21d6546cd8619d8a9680b6e
2025-06-29 00:04:43 -03:00
Vinicius Monego
d402e5777e
gnu: python-cookiecutter: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-cookiecutter)[build-system]: Use
pyproject-build-system.
[arguments]<#:phases>: Do not override the 'check' phase.
[native-inputs]: Replace git by git-minimal. Add python-setuptools,
python-wheel.

Change-Id: I7b36db664e4292366fe59ac269f9614383e41d28
2025-06-29 00:04:42 -03:00
Vinicius Monego
a48fc57a3a
gnu: python-langdetect: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-langdetect)[build-system]: Use
pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.
[propagated-inputs]: Remove python-six.

Change-Id: I5e5057d6804ef5fec4c0be8dfd8d4b4ddc24ae88
2025-06-29 00:04:42 -03:00
Vinicius Monego
568f7329bc
gnu: python-cachelib: Update to 0.13.0.
* gnu/packages/python-xyz.scm (python-cachelib): Update to 0.13.0.
[build-system]: Use pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
<#:phases>: Do not override the 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.
[home-page]: Follow redirect.

Change-Id: I0b0e5337916fa2a015908d3949d9860516f1068d
2025-06-29 00:04:42 -03:00
Vinicius Monego
5bbe729803
gnu: python-crccheck: Update to 1.3.0.
* gnu/packages/python-xyz.scm (python-crccheck): Update to 1.3.0.
[source]: Fetch from GitHub.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases>: Do not override the 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.
[home-page]: Switch to new home page.

Change-Id: Ibd121d3e1875b77da6759e751e3321cde9a498b7
2025-06-29 00:04:41 -03:00
Vinicius Monego
b6138013d8
gnu: python-fire: Run guix style.
* gnu/packages/python-xyz.scm (python-fire): Run guix style.

Change-Id: I589ad6a5cdf9c2d7f93ce4f44861fc8745bf6e89
2025-06-29 00:04:41 -03:00
Vinicius Monego
23510c1df6
gnu: python-fire: Update to 0.7.0.
* gnu/packages/python-xyz.scm (python-fire): Update to 0.7.0.
[build-system]: Use pyproject-build-system.
[arguments]: Do not override the 'check' phase.
[propagated-inputs]: Remove python-six.
[native-inputs]: Remove python-mock. Add python-setuptools,
python-wheel.

Change-Id: Id75b22101cae1ee17334bb89f91eebc0e7e5001d
2025-06-29 00:04:41 -03:00