1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-07 05:44:07 +02:00

Compare commits

...

24 Commits

Author SHA1 Message Date
Sharlatan Hellseher b059c097d4 gnu: python-dill: Update to 0.4.1.
* gnu/packages/python-xyz.scm (python-dill): Update to 0.4.1.
[source]: Switch to git-fetch.
[arguments] <test-backend, test-flags>: Use 'custom backend instead of
overwriting test phase.
<phases>: Use default 'check.
[native-inputs]: Remove python-wheel.
[home-page]: Update to URL to http://dill.rtfd.io/.

Change-Id: Ifd949babdc06ed4e33cdadae6f392c224f53197a
2026-05-30 00:50:45 +01:00
Sharlatan Hellseher 5c57715744 gnu: python-asttokens: Update to 3.0.1.
* gnu/packages/python-xyz.scm (python-asttokens): Update to 3.0.1.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-wheel.

Change-Id: I339ee2699aa62b8ee5a5da418032aaa299573991
2026-05-30 00:50:45 +01:00
Sharlatan Hellseher bab63bad0f gnu: python-array-api-strict: Update to 2.5.
* gnu/packages/python-xyz.scm (python-array-api-strict): Update to 2.5.
[arguments] <test-flags>: Ignore tests requiring latest hypothesis.
[native-inputs]: Add python-hypothesis.

Change-Id: Ia03851e604413f6379101bbe1dda1ce144f041d5
2026-05-30 00:50:45 +01:00
Sharlatan Hellseher c904392919 gnu: python-tomlkit: Update to 0.15.0.
* gnu/packages/python-xyz.scm (python-tomlkit): Update to 0.15.0.
[source]: Switch to git-fetch.
[phases]{copy-toml-test-source}: New phase.
[native-inputs]: Remove python-pyyaml; add toml-test.

Change-Id: Id93eee98fc8af5c0df8fb10acceca2f55713762b
2026-05-30 00:50:45 +01:00
Sharlatan Hellseher 2c8906ec65 gnu: python-astroid: Update to 4.1.2.
* gnu/packages/python-xyz.scm (python-astroid): Update to 4.1.2.
[propagated-inputs]: Remove python-lazy-object-proxy, python-typing-extensions, and
python-wrapt.
[native-inputs]: Remove python-wheel.

Change-Id: I64e502505cb0d3044a53e5edee781d65fa4db445
2026-05-30 00:50:45 +01:00
Sharlatan Hellseher 426ac4be8b gnu: python-lazy-object-proxy: Update to 1.12.0.
* gnu/packages/python-xyz.scm (python-lazy-object-proxy): Update to 1.12.0.
[native-inputs]: Remove python-wheel.

Change-Id: Ida595f362e80c46c64641695b367edc561cc37d9
2026-05-30 00:50:44 +01:00
Sharlatan Hellseher 37aeed793d gnu: python-pyflakes: Update to 3.4.0.
* gnu/packages/python-check.scm (python-pyflakes): Update to 3.4.0.
[source]: Switch to git-fetch.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Remove python-pytest and python-wheel.

Change-Id: I59966e6d2796c6345ea47ebac74113e3b04f8026
2026-05-30 00:50:44 +01:00
Sharlatan Hellseher 65e6c17112 gnu: python-pyasn1: Update to 0.6.3.
* gnu/packages/python-xyz.scm (python-pyasn1): Update to 0.6.3.
[source]: Switch to git-source.

Change-Id: Ibda1b700cf4a0a1d63196166d3c758546d11e917
2026-05-30 00:50:44 +01:00
Sharlatan Hellseher 6efd833161 gnu: python-numpy: Update to 2.4.6.
This update includes releases since 2.3.1 (2025-06-21):
- 2.4.6 (2026-05-19)
- 2.4.5 (2026-05-15)
- 2.4.4 (2026-03-29)
- 2.4.3 (2026-03-09)
- 2.4.2 (2026-02-01)
- 2.4.1 (2026-01-10)
- 2.4.0 (2025-12-20)
- 2.4.0rc1 (2025-12-03)
- 2.3.5 (2025-11-16)
- 2.3.4 (2025-10-15)
- 2.3.3 (2025-09-09)
- 2.3.2 (2025-07-24)

For more details see: <https://numpy.org/doc/stable/release.html>.

* gnu/packages/python-xyz.scm (python-numpy): Update to 2.4.6.
[arguments] <test-flags>: Run all tests.
[phases]{patch-bin-true}: Merge into {fix-executable-paths} to resolve
TODO note.
{check}: Clean up .pytest_cache after tests.
[inputs]: Add bash and openblas.
[native-inputs]: Remove python-setuptools, and python-typing-extensions;
add python-cython.

Fixes: guix/guix#5988
Change-Id: Ic9eac9d573cb63be760d8fdbd7090ed1cd879926
2026-05-30 00:50:44 +01:00
Hugo Buddelmeijer d8ed6ce459 gnu: python-pillow: Update to 12.2.0 [security-fixes].
Release notes since 12.1.0 (2026-02-11):
- 12.2.0 (2026-04-01)
  <https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html>.

Contains fixes for:
CVE-2026-40192: Denial of Service via Memory Exhaustion.
CVE-2026-42308: An integer overflow when processing fonts.
CVE-2026-42309: A heap buffer overflow with nested list coordinates.
CVE-2026-42310: A PDF Parsing Trailer Infinite Loop (DoS).
CVE-2026-42311: An OOB Write with Invalid PSD Tile Extents (Integer
                Overflow).

* gnu/packages/python-xyz.scm (python-pillow): Update to 12.2.0.

Merges: guix/guix!8895
Change-Id: I09cdc768892e85b869b8f2945e4d3ab6e1a4c68a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-29 00:25:57 +01:00
Hugo Buddelmeijer db5d71d190 gnu: python-dotenv: Update to 1.2.2 [security-fixes].
Release notes since 1.1.1 (2025-06-24):
- v1.2.2 (2026-03-01)
  <https://github.com/theskumar/python-dotenv/releases/tag/v1.2.2>.
- v1.2.1 (2025-10-26)
  <https://github.com/theskumar/python-dotenv/releases/tag/v1.2.1>.
- v1.2.0 (2025-10-26)
  <https://github.com/theskumar/python-dotenv/releases/tag/v1.2.0>.

Contains fixes for:
CVE-2026-28684: Path Traversal Vulnerability

* gnu/packages/python-xyz.scm (python-dotenv): Update to 1.2.2.
[arguments]<#:test-flags>: Disable failing test.
[native-inputs]: Remove python-sh.

Merges: guix/guix!8893
Change-Id: I64845fe6f3266dd9ac6e300bd3fc2f766309234e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-29 00:16:08 +01:00
Hugo Buddelmeijer a634623ba0 gnu: python-multipart: Update to 0.0.29 [security-fixes].
Release notes since 0.0.20 (2024-12-16):
- 0.0.29 (2026-05-17)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.29>.
- 0.0.28 (2026-05-10)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.28>.
- 0.0.27 (2026-04-27)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.27>.
- 0.0.26 (2026-04-10)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.26>.
- 0.0.25 (2026-04-10)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.25>.
- 0.0.24 (2026-04-05)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.24>.
- 0.0.23 (2026-04-05)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.23>.
- 0.0.22 (2026-01-25)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.22>.
- 0.0.21 (2025-12-17)
  <https://github.com/Kludex/python-multipart/releases/tag/0.0.21>.

Contains fixes for:
CVE-2026-24486: Arbitrary File Write via Non-Default Configuration.
CVE-2026-40347: Denial of Service via large multipart preamble or
                epilogue data.

* gnu/packages/python-xyz.scm (python-multipart): Update to 0.0.29.
[source]: Switch to git-fetch.
[home-page]: Follow redirect.

Merges: guix/guix!8860
Change-Id: I9c3f2acb0f7accfc37a504621239d1e09f47b18d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-29 00:11:58 +01:00
Charles Roelli 8942582f4a gnu: python-django-extensions: Update to 4.1-09gk82rsmq.
* gnu/packages/django.scm (python-django-extensions): Update to 4.1-09gk82rsmq.
[arguments] <test-flags>: Enable tests fixed by adding the following dependencies.
[native-inputs]: Add python-vobject and python-werkzeug.

Mergeso: guix/guix!8726
Change-Id: Icd2055d685b7555cafce9c17263af78e7551b496
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:39 +01:00
Charles Roelli 51b280fa96 gnu: python-django: Update to 6.0.5.
* gnu/packages/django.scm (python-django): Update to 6.0.5.

Relates-to: guix/guix!8726
Change-Id: Icaf943b9feb21f6bacf331be18236f1bc9c03cdc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:39 +01:00
Charles Roelli 727a492818 gnu: python-readme-renderer: Update to 44.0-0.e603eb1.
* gnu/packages/python-xyz.scm (python-readme-renderer): Update to
 4ad4c701f2a17ca62f040e94d73c2eb08af320e9 commit.

Relates-to: guix/guix!8726
Change-Id: I5e95886ec5314132752551830aee0da841cafdf2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:39 +01:00
Charles Roelli 31b573e368 gnu: python-channels: Update to 4.3.2.
* gnu/packages/django.scm (python-channels): Update to 4.3.2.

Relates-to: guix/guix!8726
Change-Id: I6f55ea42f2da2f47981aeaf6aa3f3f776f02f80c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:39 +01:00
Charles Roelli dbaf09c67c gnu: python-pympler: Fix tests.
* gnu/packages/python-xyz.scm (python-pympler): Exclude test that times out.

Relates-to: guix/guix!8726
Change-Id: I3880907ce71d5c716fe1165c3cd9bd0f9fd75e3f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:39 +01:00
Charles Roelli 784cb5a94f gnu: python-docutils: Update to 0.22.4.
* gnu/packages/python-xyz.scm (python-docutils): Update to 0.22.4.

Relates-to: guix/guix!8726
Change-Id: I79de0f9deb56cb922b282ed917ce6a791ad04c38
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:39 +01:00
Charles Roelli 475795dc83 gnu: python-asgiref: Update to 3.11.1.
* gnu/packages/python-web.scm (python-asgiref): Update to 3.11.1.

Relates-to: guix/guix!8726
Change-Id: I5db4358264a6498306187fa59fdab0aeb2d69bb2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:39 +01:00
Kevin Deldycke 6061c8ec5e gnu: python-jsonschema: Update to 4.26.0.
* gnu/packages/python-xyz.scm (python-jsonschema): Update to 4.26.0.
[sources]: Switch to git-fetch.
[propagated-inputs]: Remove python-importlib-resources.
[native-inputs]: Remove python-pip; add python-jsonpath-ng.

Merges: guix/guix!8395
Change-Id: Iccf1d3759523ca0425d920257c03997e5608fbe2
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-28 23:57:38 +01:00
Sharlatan Hellseher bbfbc7ff24 gnu: python-rpds-py: Update to 0.30.0.
* gnu/packages/python-xyz.scm (python-rpds-py): Update to 0.30.0.

* gnu/packages/rust-crates.scm (rust-rpds-1.2.0, rust-cc-1.2.48,
rust-archery-1.2.2): New variables.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-rpds-py]: Refresh list.
2026-05-28 23:57:38 +01:00
Sharlatan Hellseher 91b3c0c0d4 gnu: python-aiohttp: Remove python-isal from native-inputs.
* gnu/packages/python-web.scm (python-aiohttp):
[native-inputs]: Remove python-isal.

Relates-to: guix/guix#8789
Change-Id: Id8189c180f77fd5152f6ea3383ae0509172db3ce
2026-05-28 23:57:32 +01:00
Sharlatan Hellseher 896c7d9214 gnu: python-cython-next: Deprecate in favor of python-cython.
* gnu/packages/python-xyz.scm (python-cython-next): Deprecate variables
in favor of python-cython.

Change-Id: If075c21d2597961e5f4cbfaa55162a0439e7efa3
2026-05-28 22:28:27 +01:00
Sharlatan Hellseher b23134b02e gnu: python-cython: Update to 3.2.5.
Release notes since 3.1.7 (2025-11-12):
- 3.2.4 (2026-01-04)
  <https://github.com/cython/cython/releases/tag/3.2.4>.
- 3.1.8 (2026-01-03)
  <https://github.com/cython/cython/releases/tag/3.1.8>.
- 3.2.3 (2025-12-14)
  <https://github.com/cython/cython/releases/tag/3.2.3-1>.
- 3.2.2 (2025-11-30)
  <https://github.com/cython/cython/releases/tag/3.2.2>.
- 3.2.1 (2025-11-12)
  <https://github.com/cython/cython/releases/tag/3.2.1>.

* gnu/packages/python-xyz.scm (python-cython): Update to 3.2.5.
[source]: Switch to git-fetch.
[arguments]: Limit the number of threads for tests up to 8 to improve stability.
Rework skipped tests.
[native-inputs]: Remove python-wheel.

Change-Id: I4056c605c2d19a75d32c7a31555a746fda26fad0
2026-05-28 22:21:53 +01:00
5 changed files with 230 additions and 199 deletions
+20 -13
View File
@@ -105,7 +105,7 @@ prefixing to determine WebSocket endpoints versus HTTP endpoints.")
(define-public python-channels
(package
(name "python-channels")
(version "4.2.2")
(version "4.3.2")
(source
(origin
(method git-fetch) ; no tests in PyPI
@@ -114,8 +114,14 @@ prefixing to determine WebSocket endpoints versus HTTP endpoints.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0x7w29qpj2acrzf8hcgymsyr5gk3aj2wkbvlwcr01ygd6as8h7hz"))))
(base32 "0lxq5l0729ms4xzbn1rq968qpi7ipa9aj1wjvzrpdxd3mmlg2618"))))
(build-system pyproject-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'check 'delete-selenium-tests
(lambda* _
(delete-file "tests/sample_project/tests/test_selenium.py"))))))
(propagated-inputs (list python-asgiref python-django))
;; Channels develops and maintains Daphne but any other ASGI server can be
;; used, so keep it in native-inputs for tests.
@@ -200,13 +206,13 @@ your project into different processes.")
(define-public python-django
(package
(name "python-django")
(version "5.2.13")
(version "6.0.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "django" version))
(sha256
(base32 "1i1vlffzhwbzp6r6y8ycvwklc45diy4c6i897z379l48a7dqj5d3"))))
(base32 "0saj5w1pmfl2bf6smmbx2h8v6b9n9djdsbp46v468a4ax5r6hvdw"))))
(build-system pyproject-build-system)
(arguments
'(#:test-flags
@@ -374,28 +380,27 @@ and adapters that are useful for non-trivial configuration scenarios.")
(define-public python-django-extensions
(package
(name "python-django-extensions")
(version "4.1")
(properties '((commit . "32ddfb0499bec7f39f9fbb44568d2781cecd1f32")
(revision . "0")))
(version (git-version "4.1"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method git-fetch)
;; Fetch from the git repository, so that the tests can be run.
(uri (git-reference
(url "https://github.com/django-extensions/django-extensions")
(commit version)))
(commit (assoc-ref properties 'commit))))
(file-name (string-append name "-" version))
(sha256
(base32 "1qayan9za7ylvzkwp6p0l0735gavnzd1kdjsfc178smq6xnby0ss"))))
(base32 "09gk82rsmqgaz4pqk0xvb4mgfprls8h1wm24p74d0ykdi7li2plg"))))
(build-system pyproject-build-system)
(arguments
(list
;; The 5 tests in test_dumbscript.py fail (OperationalError).
#:test-flags
#~(list "--ignore" "tests/test_dumpscript.py"
"-k" (string-append
;; These fail for unknown reasons.
"not test_do_export_emails_format_vcard_start"
" and not test_initialize_runserver_plus"
" and not test_should_highlight_python_syntax_with_name"))))
#~(list "--ignore" "tests/test_dumpscript.py")))
(propagated-inputs
(list python-django))
(native-inputs
@@ -406,6 +411,8 @@ and adapters that are useful for non-trivial configuration scenarios.")
python-pytest-django
python-setuptools
python-shortuuid
python-vobject
python-werkzeug
tzdata-for-tests))
(home-page "https://github.com/django-extensions/django-extensions")
(synopsis "Custom management extensions for Django")
+10 -7
View File
@@ -2246,18 +2246,21 @@ attachments).
(define-public python-pyflakes
(package
(name "python-pyflakes")
(version "3.2.0")
(version "3.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyflakes" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/PyCQA/pyflakes")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0gxgz0kg008pgmjk1dn8z3g00dfa9pc3f80pm6r1yqjly4zn0q8w"))))
(base32 "0ag6j4flayslbxcqipmfy5njawzy66py71p63mpjsys4gy70jhg1"))))
(build-system pyproject-build-system)
(arguments
(list #:test-backend #~'unittest))
(native-inputs
(list python-pytest
python-setuptools
python-wheel))
(list python-setuptools))
(home-page "https://github.com/PyCQA/pyflakes")
(synopsis "Passive checker of Python programs")
(description
+3 -4
View File
@@ -2378,7 +2378,7 @@ for adding, removing and dropping callbacks.")
(build-system pyproject-build-system)
(arguments
(list
;; tests: 3045 passed, 32 skipped, 29 xfailed, 2 subtests passed
;; tests: 3046 passed, 31 skipped, 29 xfailed, 2 subtests passed
#:test-flags
'(list
"-o" "addopts=''" ; Avoid -p pytest_cov.
@@ -2449,7 +2449,6 @@ for adding, removing and dropping callbacks.")
(list gunicorn-bootstrap
python-cython
python-freezegun
python-isal
python-pytest
python-pytest-mock
python-pytest-xdist
@@ -2761,12 +2760,12 @@ stream is an enhanced asynchronous iterable.")
(define-public python-asgiref
(package
(name "python-asgiref")
(version "3.8.1")
(version "3.11.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "asgiref" version))
(sha256
(base32 "146mhkn3zp2bqf7j6r3chdlvfzgs5x1lrnqahsllgjdyl20bshy3"))))
(base32 "1km4xlaa21z2h0gz8x84gfgrq8k2mhg48rc0hkz3wxky7g24s62z"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
+161 -141
View File
@@ -3732,23 +3732,31 @@ libraries to make them compatible with the Array API standard")
(define-public python-array-api-strict
(package
(name "python-array-api-strict")
(version "2.4.1")
(version "2.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "array_api_strict" version))
(sha256
(base32 "0k1v3h54y1yny8mhgwjk6p51zf87farfk1xn9842g5lcrfhxqxvc"))))
(base32 "1ig116ld5k8wx82ahld4l7qcb0d4s5s4f4a0nrflrh3hzabyarvp"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 584 passed, 1 skipped, 2 deselected
;; tests: 585 passed, 2 deselected
#:test-flags
;; ModuleNotFoundError: No module named 'numpy', not sure why?
#~(list "-k" (string-append "not test_disabled_extensions"
;; hypothesis.errors.InvalidArgument:
;; xp.__array_api_version__='2025.12', but it must be a valid version
;; string ('2021.12', '2022.12', '2023.12', '2024.12'). If the standard
;; version you want is not available, please ensure you're using the
;; latest version of Hypothesis, then open an issue if one doesn't
;; already exist.
#~(list "--ignore=array_api_strict/tests/test_set_functions.py"
;; ModuleNotFoundError: No module named 'numpy', not sure why?
"-k" (string-append "not test_disabled_extensions"
" and not test_environment_variables"))))
(native-inputs
(list python-pytest
(list python-hypothesis
python-pytest
python-setuptools
python-setuptools-scm))
(propagated-inputs
@@ -8944,16 +8952,20 @@ and convert DDL to BigQuery JSON schema.")
(define-public python-jsonschema
(package
(name "python-jsonschema")
(version "4.23.0")
(version "4.26.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jsonschema" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/Julian/jsonschema")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1i3b4sckkc3v8vckqa11xbrj695qzrzsfzrkclra6lb3ybz9f56p"))))
(base32 "0p89jy7s1agi2zqrsdm56p843k847n9cixjsc12hnzscll37kysk"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 7744 passed, 71 skipped
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -8963,21 +8975,20 @@ and convert DDL to BigQuery JSON schema.")
(list python-hatchling
python-hatch-fancy-pypi-readme
python-hatch-vcs
;; For <tests/test_cli.py::TestCLIIntegration::test_license>.
python-pip
python-jsonpath-ng
python-pytest))
(propagated-inputs
(list python-attrs
python-fqdn
python-idna
python-importlib-resources
python-isoduration
python-jsonpointer
python-jsonschema-specifications
python-rfc3339-validator
python-rfc3986-validator
python-referencing-bootstrap
python-rpds-py
;; [optional]
python-fqdn
python-idna
python-isoduration
python-jsonpointer
python-rfc3339-validator
python-rfc3986-validator
python-uri-template
python-webcolors))
(home-page "https://github.com/Julian/jsonschema")
@@ -9315,7 +9326,8 @@ JavaScript-like message boxes. Types of dialog boxes include:
;; See <https://github.com/pympler/pympler/issues/134>.
"--deselect=test/muppy/test_summary.py::SummaryTest::test_repr_function"
;; This test times out.
"--deselect=test/gui/test_web.py::WebGuiTest::test_traceback")))
"--deselect=test/gui/test_web.py::WebGuiTest::test_traceback"
"--deselect=test/muppy/test_tracker.py::TrackerTest::test_otracker_diff")))
(native-inputs
(list python-pytest python-setuptools))
(home-page "https://pythonhosted.org/Pympler/")
@@ -10044,13 +10056,13 @@ Google and Numpydoc format.")
(define-public python-docutils
(package
(name "python-docutils")
(version "0.21.2")
(version "0.22.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "docutils" version))
(sha256
(base32 "0vwqzbmzdvwx23myx4cg8s8mdkrqnfxpa9yi7jm2s66z5rrihsrs"))))
(base32 "0s4ryafs954ivgb7bifzpbv98vb2mcr0s8wi9nvwpglsvqgkpdad"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -11482,13 +11494,16 @@ For some datatypes the overhead can be reduced by using khash by factor 4-8.")
;; TODO: Move to python-build.
(package
(name "python-cython")
(version "3.1.7")
(version "3.2.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cython" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/cython/cython")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0gaslzb3virk4v6yh5a7dp6ka1lm267v994g8r25lck1702vjy3g"))))
(base32 "07n0x4z0ifkhl8hi47amqhqfjc6jlh5dra9r54nlsnwnai83psy1"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -11496,17 +11511,16 @@ For some datatypes the overhead can be reduced by using khash by factor 4-8.")
#:test-flags
#~(list "runtests.py"
"-vv"
"-j" (number->string (parallel-job-count))
;; Some tests fail when number of cores are 24, keep on save
;; minimal count.
"-j" (number->string (min 8 (parallel-job-count)))
"-x" (string-join
(list "annotate_html"
"Debugger"
;; It introduces cycle.
"numpy_test"
;; It fails with AssertionError: Failed doctest test
;; for complex_numbers_cpp.double_abs.
;; See: <https://github.com/cython/cython/issues/6528>.
"complex_numbers_cpp"
;; This test fails when running on 24 cores.
"cpp_stl_conversion"
#$@(if (target-32bit?)
;; XXX: On 32-bit architectures, running the
;; parallel tests fails on many-core systems.
@@ -11533,8 +11547,7 @@ For some datatypes the overhead can be reduced by using khash by factor 4-8.")
(setenv "HOME" "/tmp"))))))
(native-inputs
(list libxcrypt
python-setuptools
python-wheel))
python-setuptools))
;; we need the full python package and not just the python-wrapper
;; because we need libpython3.3m.so
(inputs
@@ -11609,16 +11622,8 @@ def load_dynamic(name, path):
;; time of the test suite.
(setenv "CFLAGS" "-O0"))))))))
(define-public python-cython-next
(package
(inherit python-cython)
(version "3.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cython" version))
(sha256
(base32 "0d0n0yyicr7icd4f5kn1wwbjqyad6j4m640xlqlk3ixchgad7bf3"))))))
;; XXX: Deprecated on <2026-05-28>.
(define-public python-cython-next python-cython)
;; NOTE: when upgrading numpy please make sure that python-numba,
;; python-pandas and python-scipy still build, as these three packages are
@@ -11626,49 +11631,41 @@ def load_dynamic(name, path):
(define-public python-numpy
(package
(name "python-numpy")
(version "2.3.1")
(version "2.4.6")
(source
(origin
;; XXX: When switching to Git it fails to find Numpy's fork of Meson
;; git submodule -- <https://github.com/numpy/meson>.
(method url-fetch)
(uri (string-append
"https://github.com/numpy/numpy/releases/download/v"
version "/numpy-" version ".tar.gz"))
(sha256
(base32 "0aqx8hsw54wfp7iv0h0ljlpsygvmrmi3rjic6rsa6v92lhhaxj8y"))))
(base32 "1nkx73blw298dzdk6blhrsann60cgdy7q6n3q9m785ia9865g8zk"))))
(build-system pyproject-build-system)
(arguments
(list
;; tests: 47513 passed, 1740 skipped, 33 xfailed, 5 xpassed, 341 warnings
;; tests: 47255 passed, 1079 skipped, 32 xfailed, 2 xpassed, 318 warnings
#:modules '((guix build utils)
(guix build pyproject-build-system)
(ice-9 format))
#:test-flags
#~(list "-m" "not slow"
"--numprocesses" (number->string (min 8 (parallel-job-count)))
;; See: <https://github.com/numpy/numpy/issues/27531>,
;; <https://github.com/numpy/numpy/issues/17685>,
;; <https://github.com/numpy/numpy/issues/17635>.
"-k" "not test_api_importable")
"--numprocesses" (number->string (min 8 (parallel-job-count))))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-executable-paths
(lambda _
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "numpy/distutils/exec_command.py"
(("'/bin/sh'")
(format #f "~s" (which "bash"))))
(substitute* "numpy/meson.build"
;; Relay on python from the PATH instead of full reference
;; stored in built wheel.
(("'py.full_path\\(\\)'") "'python'"))))
;; This isn't architecture specific.
;; TODO: Remove this conditional and apply for all builds.
#$@(if (target-ppc64le?)
#~((add-after 'unpack 'patch-bin-true
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "numpy/_core/tests/test_cpu_features.py"
(("/bin/true")
(search-input-file inputs "bin/true"))))))
#~())
(("'py.full_path\\(\\)'") "'python'"))
(substitute* "numpy/_core/tests/test_cpu_features.py"
(("/bin/true")
(search-input-file inputs "bin/true")))))
(add-before 'build 'parallelize-build
(lambda _
(setenv "OMP_NUM_THREAD"
@@ -11688,7 +11685,7 @@ def load_dynamic(name, path):
(string-split (getenv "CPLUS_INCLUDE_PATH") #\:))
":")))))
(add-before 'build 'configure-blas
(lambda* (#:key inputs #:allow-other-keys)
(lambda _
(call-with-output-file "site.cfg"
(lambda (port)
(format port
@@ -11700,7 +11697,11 @@ include_dirs = ~:*~a/include~%" #$(this-package-input "openblas"))))))
(lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(with-directory-excursion #$output
(apply invoke "pytest" test-flags)))))
(apply invoke "pytest" test-flags)
(let ((pytest-cache (string-append #$output
"/.pytest_cache")))
(when (access? pytest-cache X_OK)
(delete-file-recursively pytest-cache)))))))
;; The executables provided by this package ('f2py' and 'numpy-config')
;; only depend on Python. By customizing the wrap phase we can ensure
;; that we don't add all Python packages listed in native-inputs to
@@ -11717,12 +11718,14 @@ include_dirs = ~:*~a/include~%" #$(this-package-input "openblas"))))))
(find-files (in-vicinity #$output "/bin"))))))))
(native-inputs
(list gfortran
python-cython
python-hypothesis
python-meson
python-pytest
python-pytest-xdist
python-setuptools
python-typing-extensions))
python-pytest-xdist))
(inputs
(list bash
openblas))
(home-page "https://numpy.org")
(synopsis "Fundamental package for scientific computing with Python")
(description "NumPy is the fundamental package for scientific computing
@@ -13493,7 +13496,7 @@ Python list with elements of type @code{PIL.Image} (from the
(define-public python-pillow
(package
(name "python-pillow")
(version "12.1.1")
(version "12.2.0")
(source
(origin
(method git-fetch)
@@ -13502,7 +13505,7 @@ Python list with elements of type @code{PIL.Image} (from the
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1g374rklljx0941j6d1gib9pgcq3scmqw9psqaj2c7m8pilqsn9n"))))
(base32 "140ynzxpazq6gq041bhkzx314z4kkzv3wlmvph68a0nkj9nqa3pg"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -13543,7 +13546,7 @@ stored in a few basic pixel formats. It should provide a solid foundation for
a general image processing tool.")
(properties `((cpe-name . "pillow")))
(license (license:x11-style
"https://github.com/python-pillow/Pillow/blob/12.1.1/LICENSE"
"https://github.com/python-pillow/Pillow/blob/12.2.0/LICENSE"
"MIT-CMU License"))))
(define-public python-pillow-avif-plugin
@@ -15531,20 +15534,21 @@ to Python code.")
(define-public python-asttokens
(package
(name "python-asttokens")
(version "3.0.0")
(version "3.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asttokens" version))
(sha256
(base32 "1ixv6n8cg08n9h6rwyhd3lkzyjiwpbfv56dk338w3c32inm8pk8d"))))
(method git-fetch)
(uri (git-reference
(url "https://github.com/gristlabs/asttokens")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "1qqi7dygcv58czrsafc4gf41prfb6shd0crx33kd9wypk0v29afn"))))
(build-system pyproject-build-system)
(native-inputs
(list python-astroid
python-pytest
python-setuptools
python-setuptools-scm
python-wheel))
python-setuptools-scm))
(home-page "https://github.com/gristlabs/asttokens")
(synopsis "Python library to annotate abstract syntax trees")
(description "The @code{asttokens} module annotates Python abstract syntax
@@ -18122,14 +18126,16 @@ primary use case is APIs defined before keyword-only parameters existed.")
(define-public python-pyasn1
(package
(name "python-pyasn1")
(version "0.6.1")
(version "0.6.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyasn1" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/pyasn1/pyasn1")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0d5h500ig8sp72pabd1wcyglc4951xalbkqahf056dl4vlmhsn3g"))))
(base32 "0b22m94j163nikfkl031hgrfasb6wgqp3374b8dbr84jalkl0ykw"))))
(build-system pyproject-build-system)
(arguments
(list #:test-backend #~'unittest
@@ -22747,20 +22753,22 @@ times.
(define-public python-lazy-object-proxy
(package
(name "python-lazy-object-proxy")
(version "1.11.0")
(version "1.12.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "lazy_object_proxy" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/ionelmc/python-lazy-object-proxy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "174fswfrsqr7yj72f8fyry34qxgagbfw37vzljxbp7schq8l91qq"))))
(base32 "1qig879igkjmj4mir26b0n40w3vn5jqn293172s6npxnb4k90kzk"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-pytest-benchmark
python-setuptools
python-setuptools-scm
python-wheel))
python-setuptools-scm))
(home-page "https://github.com/ionelmc/python-lazy-object-proxy")
(synopsis "Lazy object proxy for Python")
(description
@@ -24788,7 +24796,7 @@ instead of servers and network commands.")
(define-public python-astroid
(package
(name "python-astroid")
(version "3.3.11")
(version "4.1.2")
(source
(origin
(method git-fetch)
@@ -24797,24 +24805,12 @@ instead of servers and network commands.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1x5903kmi47pc87r949lym2cwl0xg885xyy730adxv0g6r083zwn"))))
(base32 "04x82slqxyyv0pikz680sw5aj2vbid1s7zdnzgqj7dlbz68c0ch0"))))
(build-system pyproject-build-system)
(arguments
;; UserWarning: pkg_resources is deprecated as an API. See
;; https://setuptools.pypa.io/en/latest/pkg_resources.html. The
;; pkg_resources package is slated for removal as early as
;; 2025-11-30. Refrain from using this package or pin to Setuptools<81.
(list #:test-flags
#~(list "-k" "not test_identify_old_namespace_package_protocol")))
(native-inputs
(list python-mypy-minimal
python-pytest
python-setuptools
python-wheel))
(propagated-inputs
(list python-lazy-object-proxy
python-typing-extensions
python-wrapt))
python-setuptools))
(home-page "https://github.com/PyCQA/astroid")
(synopsis "Python source code base representation")
(description "@code{python-astroid} provides a common base representation
@@ -27930,26 +27926,23 @@ codecs for use in data storage and communication applications.")
(define-public python-dill
(package
(name "python-dill")
(version "0.4.0")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "dill" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/uqfoundation/dill")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1w5w5hlijw7ahqji45ssyvdip5pv074h4nw97bsj8ws7vz9g2cq6"))))
(base32 "09ig6820sd68cjixl5vkwkwvvgdii8qhaikc1rxhabhwxfymc7v2"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
;; Extracted from tox.ini
(invoke "python" "dill/tests/__main__.py")
(format #t "test suite not run~%")))))))
(list #:test-backend #~'custom
#:test-flags #~(list "dill/tests/__main__.py")))
(native-inputs
(list python-setuptools python-wheel))
(home-page "https://pypi.org/project/dill/")
(list python-setuptools))
(home-page "http://dill.rtfd.io/")
(synopsis "Serialize all of Python")
(description "Dill extends Python's @code{pickle} module for serializing
and de-serializing Python objects to the majority of the built-in Python
@@ -30911,14 +30904,20 @@ positioning, and keyboard input.")
(define-public python-readme-renderer
(package
(name "python-readme-renderer")
(version "44.0")
(properties '((commit . "e603eb17fcabd6bd20706d278fc24a7e9a663190")
(revision . "0")))
(version (git-version "44.0"
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method url-fetch)
(uri (pypi-uri "readme_renderer" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/pypa/readme_renderer")
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32
"1qfiqm3w1ydpbipns5nifa7h4wraxd72nh7imif819mzmd7064l7"))))
(base32 "15w3lzgg8gcq22saqy2cpnv3hvkrixhyn57fcg1p1bm2njh1hr61"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -33514,18 +33513,22 @@ systems in Python.")
(define-public python-dotenv
(package
(name "python-dotenv")
(version "1.1.1")
(version "1.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python_dotenv" version))
(sha256
(base32 "1aw9c5gw2gfjf7n3s7k6lb6ybz090hh60wq0daz4azr52sbkk9m8"))))
(base32 "1wwwg7gasqmnv5y2hb3w1155c8nai6zzih8x5hn0ifnpzf8ildrc"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; .dotenv-real instead of dotenv
#~(list "-k not test_run_with_dotenv_and_command_flags")))
(native-inputs
(list python-pytest
python-setuptools
python-sh))
python-setuptools))
(propagated-inputs
(list python-click))
(home-page "https://saurabh-kumar.com/python-dotenv/")
@@ -34614,19 +34617,22 @@ for styling strings in the terminal.")
(define-public python-multipart
(package
(name "python-multipart")
(version "0.0.20")
(source (origin
(method url-fetch)
(uri (pypi-uri "python_multipart" version))
(sha256
(base32
"04wxzakk3hs4z4xf3ldhym3gm46hjicn4iwiw150c8wfbfscml4d"))))
(version "0.0.29")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Kludex/python-multipart")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "06rxa2xymdqri8zydy7xw2cnpsnzlv2jzdy9g86m5fpfca0pp9fm"))))
(build-system pyproject-build-system)
(native-inputs
(list python-hatchling
python-pytest
python-pyyaml))
(home-page "https://github.com/andrew-d/python-multipart")
(home-page "https://github.com/Kludex/python-multipart")
(synopsis "Streaming multipart parser for Python")
(description
"This package provides a streaming multipart parser for Python.")
@@ -35887,13 +35893,13 @@ line by line or column by column or a combination of both.")
(define-public python-rpds-py
(package
(name "python-rpds-py")
(version "0.10.6")
(version "0.30.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "rpds_py" version))
(sha256
(base32
"0l5slkvhq2vf64mapimmj6ginsv01mc4niyj90vvz3assq4agrac"))))
"110y8k62b9xb3slny7gf89943xpbji3s7vl7yz0g0jh1j37zg3yx"))))
(build-system cargo-build-system)
(arguments
(list
@@ -38393,18 +38399,32 @@ and @code{tokens_to_src} to roundtrip.")
(define-public python-tomlkit
(package
(name "python-tomlkit")
(version "0.13.3")
(version "0.15.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tomlkit" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/sdispater/tomlkit")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "18fjmmhiv5jkkg1dwidmxd0sjqnkf675igizxsa2ppspxr3z4323"))))
(base32 "00sv5x8j78zkirzh9rl89lkpwfwhkhrq4mql2p4rqws1j37zx88g"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
;; toml-test is submodule to
;; <https://github.com/toml-lang/toml-test>.
(add-after 'unpack 'copy-toml-test-source
(lambda _
(copy-recursively
#$(package-source (this-package-native-input "toml-test"))
"tests/toml-test"))))))
(native-inputs
(list python-poetry-core
python-pytest
python-pyyaml))
toml-test))
(home-page "https://github.com/sdispater/tomlkit")
(synopsis "Style-preserving TOML library")
(description
+36 -34
View File
@@ -747,6 +747,10 @@
(crate-source "archery" "1.2.1"
"0sdqlmybcvd0rzv22ac3k3xxm5anr1gpm03sf02iy0jmrlhyvqpa"))
(define rust-archery-1.2.2
(crate-source "archery" "1.2.2"
"07a4wn09ad1q7qi1bfdv03hl4668jaxm63rd6jxqgfzykpwsbq3h"))
(define rust-archspec-0.1.3
(crate-source "archspec" "0.1.3"
"1is6yjyk38hlijhp8yyk3xq3dgg5aass7rms5h6s2mjgrzcprdlx"))
@@ -3799,6 +3803,10 @@
(crate-source "cc" "1.2.46"
"0diynsnlmw8fr032dxci5a79il5br2ws1l2a730v3cac0vhn6x5r"))
(define rust-cc-1.2.48
(crate-source "cc" "1.2.48"
"0fk37741p34v904a49zcli9b65fmmir7sa06z3v95f6k1szvv0f4"))
(define rust-cc-1.2.49
(crate-source "cc" "1.2.49"
"05929ra8a2q81w45f932nr4blifnxkpr8i7lmcba28bm0c4k0n4h"))
@@ -24613,6 +24621,10 @@
(crate-source "rpds" "1.1.0"
"194hjbsicmgqi3dyllqrz09mmhh597m2j9l49lr16cyfscambqd0"))
(define rust-rpds-1.2.0
(crate-source "rpds" "1.2.0"
"0d7vpyignq837rh9wgcrq53xplsg5b85a3bcbq0x7m0rx22z8xcy"))
(define rust-rpm-pkg-count-0.2.1
(crate-source "rpm-pkg-count" "0.2.1"
"1jzh63l7k30l37s5gd2m2hvh8slzjaxw54s4xpcjnaqb8xfsq0sa"))
@@ -73510,42 +73522,32 @@
rust-zerovec-0.10.4
rust-zerovec-derive-0.10.3))
(python-rpds-py =>
(list rust-archery-1.2.1
rust-autocfg-1.4.0
rust-bitflags-2.9.0
rust-cfg-if-1.0.0
rust-indoc-1.0.9
rust-libc-0.2.171
rust-lock-api-0.4.12
(list rust-archery-1.2.2
rust-autocfg-1.5.0
rust-cc-1.2.48
rust-find-msvc-tools-0.1.5
rust-heck-0.5.0
rust-indoc-2.0.7
rust-libc-0.2.177
rust-memoffset-0.9.1
rust-once-cell-1.21.3
rust-parking-lot-0.12.3
rust-parking-lot-core-0.9.10
rust-proc-macro2-1.0.94
rust-pyo3-0.19.2
rust-pyo3-build-config-0.19.2
rust-pyo3-ffi-0.19.2
rust-pyo3-macros-0.19.2
rust-pyo3-macros-backend-0.19.2
rust-quote-1.0.40
rust-redox-syscall-0.5.10
rust-rpds-1.1.0
rust-scopeguard-1.2.0
rust-smallvec-1.15.0
rust-syn-1.0.109
rust-target-lexicon-0.12.16
rust-triomphe-0.1.14
rust-unicode-ident-1.0.18
rust-unindent-0.1.11
rust-windows-targets-0.52.6
rust-windows-aarch64-gnullvm-0.52.6
rust-windows-aarch64-msvc-0.52.6
rust-windows-i686-gnu-0.52.6
rust-windows-i686-gnullvm-0.52.6
rust-windows-i686-msvc-0.52.6
rust-windows-x86-64-gnu-0.52.6
rust-windows-x86-64-gnullvm-0.52.6
rust-windows-x86-64-msvc-0.52.6))
rust-portable-atomic-1.11.1
rust-proc-macro2-1.0.103
rust-pyo3-0.27.2
rust-pyo3-build-config-0.27.2
rust-pyo3-ffi-0.27.2
rust-pyo3-macros-0.27.2
rust-pyo3-macros-backend-0.27.2
rust-python3-dll-a-0.2.14
rust-quote-1.0.42
rust-rpds-1.2.0
rust-rustversion-1.0.22
rust-shlex-1.3.0
rust-syn-2.0.111
rust-target-lexicon-0.13.3
rust-triomphe-0.1.15
rust-unicode-ident-1.0.22
rust-unindent-0.2.4))
(python-rustworkx =>
(list rust-adler2-2.0.1
rust-aho-corasick-1.1.4