From e27167ee16047397da4f3c6651e83d527da5eddc Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 23 Oct 2025 09:53:54 +0100 Subject: [PATCH] gnu: python-pytest-qt: Update to 4.5.0, don't propagate Qt5/Qt6. * gnu/packages/python-check.scm (python-pytest-qt): Update to 4.5.0. [source]: Fix the pypi-uri archive name according to PyPI. [propagated-inputs]: Remove python-pyqt and python-pytest; add python-typing-extensions. [native-inputs]: Remove python-pre-commit and python-wheel; add python-pyqt-6 and python-pytest-bootstrap. Fixes: guix/guix#3769 Change-Id: Idc7399d10ecd615cf8c8e47802dc637f05c782f9 --- gnu/packages/python-check.scm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 126b8f1c71..97b3f83a5f 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -3104,28 +3104,28 @@ types (i.e. Convention, Warn, and Error) fail the build.") (define-public python-pytest-qt (package (name "python-pytest-qt") - (version "4.4.0") + (version "4.5.0") (source (origin (method url-fetch) - (uri (pypi-uri "pytest-qt" version)) + (uri (pypi-uri "pytest_qt" version)) (sha256 - (base32 "0i38qp2rqb44grbk9rn7zr5ffjvdlcl6k380759ji920m51632bn")))) + (base32 "17ridbk4gsr1aclgs1ai55r6k2ngrg0wn9b40g96bw48qh0hwqji")))) (build-system pyproject-build-system) (arguments (list - ;;#:test-target "pytest" #:phases - '(modify-phases %standard-phases + #~(modify-phases %standard-phases (add-before 'check 'set-qpa (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen")))))) - (propagated-inputs - (list python-pluggy python-pyqt python-pytest)) (native-inputs - (list python-pre-commit + (list python-pyqt-6 + python-pytest-bootstrap python-setuptools - python-setuptools-scm - python-wheel)) + python-setuptools-scm)) + (propagated-inputs + (list python-pluggy + python-typing-extensions)) (home-page "https://github.com/pytest-dev/pytest-qt") (synopsis "Pytest support for PyQt and PySide applications") (description