[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
104/397: gnu: python-yarl: Update to 1.18.3.
From: |
guix-commits |
Subject: |
104/397: gnu: python-yarl: Update to 1.18.3. |
Date: |
Thu, 16 Jan 2025 04:30:08 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 9a328c42339f92c62640b9eaa4f15e0a5eb03997
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 1 21:32:31 2025 +0100
gnu: python-yarl: Update to 1.18.3.
* gnu/packages/python-web.scm (python-yarl): Update to 1.18.3.
[source]: Remove snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Enable tests; delete custom 'check phase; remove phase
'cythonize-code; add phase 'patch-build-system.
[native-inputs]: Remove python-cython and python-pytest-runner; add
python-covdefaults, python-cython-3, python-expandvars, python-pytest-cov,
python-pytest-xdist, python-setuptools, python-tomli, and python-wheel.
[propagated-inputs]: Add python-packaging and python-propcache.
Change-Id: Iab46d2600782ffee6fdf0c9816b771c0884af04a
---
gnu/packages/python-web.scm | 51 +++++++++++++++++++++++----------------------
1 file changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 099881d601..6f569fcfdf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6108,37 +6108,38 @@ name resolutions asynchronously.")
(define-public python-yarl
(package
(name "python-yarl")
- (version "1.6.3")
+ (version "1.18.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "yarl" version))
(sha256
(base32
- "045z4ssg8g5h0qhz8hnx74hswgkndaldqq1xi5l1n5s0j996d44a"))
- (modules '((guix build utils)))
- (snippet
- #~(begin
- (delete-file "yarl/_quoting_c.c")))))
- (build-system python-build-system)
- (arguments
- (list #:tests? #f ; test suite can't find yarl._quoting_c
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'cythonize-code
- (lambda _
- (invoke "cython" "yarl/_quoting_c.pyx")))
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (substitute* "setup.cfg"
- (("--cov=yarl") ""))
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest")))))))
- (native-inputs
- (list python-cython python-pytest python-pytest-runner))
- (propagated-inputs
- (list python-idna python-multidict))
+ "1qfj6kvdxr8bzka4lp0bh0xfgr5mzx7zzvj2jb4vcxxzbk20265c"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags '(list "--ignore-glob=tests/test_*_benchmarks.py")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'patch-build-system
+ (lambda _
+ ;; XXX: I don't know how to tell it to build the extensions in
+ ;; place.
+ (substitute* "packaging/pep517_backend/_backend.py"
+ (("build_inplace=False") "build_inplace=True")))))))
+ (native-inputs
+ (list python-covdefaults
+ python-cython-3
+ python-expandvars
+ python-pytest
+ python-pytest-cov
+ python-pytest-xdist
+ python-setuptools
+ python-tomli
+ python-wheel))
+ (propagated-inputs
+ (list python-packaging python-idna python-multidict python-propcache))
(home-page "https://github.com/aio-libs/yarl/")
(synopsis "Yet another URL library")
(description "@code{yarl} module provides handy @code{URL} class
- 153/397: gnu: python-pydantic-2: Update to 2.10.4., (continued)
- 153/397: gnu: python-pydantic-2: Update to 2.10.4., guix-commits, 2025/01/16
- 154/397: gnu: Add python-rich-toolkit., guix-commits, 2025/01/16
- 389/397: gnu: python-glom: Update to 24.11.0., guix-commits, 2025/01/16
- 352/397: gnu: python-hiredis: Update to 3.1.0., guix-commits, 2025/01/16
- 384/397: gnu: python-imap-tools: Update to 1.9.0., guix-commits, 2025/01/16
- 362/397: gnu: python-hyperkitty: Update to 1.3.12., guix-commits, 2025/01/16
- 360/397: gnu: Add python-django-q-rollbar., guix-commits, 2025/01/16
- 367/397: gnu: python-stpipe: Add missing inputs., guix-commits, 2025/01/16
- 386/397: gnu: python-eliot: Update to 1.16.0., guix-commits, 2025/01/16
- 363/397: gnu: python-mord: Add missing inputs., guix-commits, 2025/01/16
- 104/397: gnu: python-yarl: Update to 1.18.3.,
guix-commits <=
- 393/397: gnu: python-flask-migrate: Update to 4.1.0., guix-commits, 2025/01/16
- 125/397: gnu: python-py-partiql-parser: Update to 0.6.1., guix-commits, 2025/01/16
- 157/397: gnu: python-pydantic-settings: Update to 2.7.1., guix-commits, 2025/01/16
- 178/397: gnu: python-flask-htpasswd: Update to 0.5.0., guix-commits, 2025/01/16
- 183/397: gnu: python-locust: Update to 2.32.5., guix-commits, 2025/01/16
- 191/397: gnu: python-liana-py: Update to 1.4.0., guix-commits, 2025/01/16
- 206/397: gnu: python-fastcluster: Add missing inputs., guix-commits, 2025/01/16
- 279/397: gnu: python-nampa: Add missing inputs., guix-commits, 2025/01/16
- 276/397: gnu: python-flask-socketio: Update to 5.5.1., guix-commits, 2025/01/16
- 305/397: gnu: python-zodbpickle: Fix build., guix-commits, 2025/01/16