From 3ec1e8297d651bf667fe0d89dbee327c2758d6b7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 13 Mar 2026 15:46:11 +0000 Subject: [PATCH] Revert "gnu: Remove python-virtualenv-for-hatch." This reverts commit b26441571185e92b5ac5e25ad7c04280d40be0a3. Hatch still needs a lower version: ...checking requirements: ERROR: hatch==1.9.7 ContextualVersionConflict(virtualenv 20.29.1 (/gnu/store/<...>-python-virtualenv-20.29.1/lib/python3.11/site-packages), Requirement.parse('virtualenv<20.26.0'), {'hatch'}) Change-Id: I8da2372dc595bb62629581193540ef8bc17295e8 --- gnu/packages/python-xyz.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 984dda47e9..4bd774c160 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -39870,6 +39870,19 @@ e.g. filters, callbacks and errbacks can all be promises.") "Virtualenv is a tool to create isolated Python environments.") (license license:expat))) +(define-public python-virtualenv-for-hatch + ;; For hatch@1.9.7, remove when no longer required. + (hidden-package + (package + (inherit python-virtualenv) + (version "20.25.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "virtualenv" version)) + (sha256 + (base32 "1gj57xqgrg53yfn9ypikgky01hvazxdyl556kwsc7b7avyxm9dbv"))))))) + ;; XXX: No new release since 2021, no updates on default branch since 2023, no ;; users in Guix; consider to remove if it keeps failing to build. (define-public python-virtualenv-clone