From patchwork Thu Mar 5 19:22:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Maja_K=C4=85dzio=C5=82ka?= X-Patchwork-Id: 20546 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 34EDC27BBEA; Thu, 5 Mar 2020 19:22:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EA06827BBE4 for ; Thu, 5 Mar 2020 19:22:15 +0000 (GMT) Received: from localhost ([::1]:55138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9w4V-0007nv-Gy for patchwork@mira.cbaines.net; Thu, 05 Mar 2020 14:22:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33297) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9w4K-0007eK-Mh for guix-patches@gnu.org; Thu, 05 Mar 2020 14:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9w4J-0003nl-I2 for guix-patches@gnu.org; Thu, 05 Mar 2020 14:22:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37765) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9w4J-0003nY-Er for guix-patches@gnu.org; Thu, 05 Mar 2020 14:22:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9w4J-0003qr-C9 for guix-patches@gnu.org; Thu, 05 Mar 2020 14:22:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39932] [PATCH 3/3] gnu: python-virtualenv: Update to 20.0.8. Resent-From: Jakub =?utf-8?b?S8SFZHppb8WCa2E=?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Mar 2020 19:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39932 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39932@debbugs.gnu.org Received: via spool by 39932-submit@debbugs.gnu.org id=B39932.158343607814734 (code B ref 39932); Thu, 05 Mar 2020 19:22:03 +0000 Received: (at 39932) by debbugs.gnu.org; 5 Mar 2020 19:21:18 +0000 Received: from localhost ([127.0.0.1]:43736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9w3Z-0003pU-Kj for submit@debbugs.gnu.org; Thu, 05 Mar 2020 14:21:17 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:49906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9w3X-0003p1-7A for 39932@debbugs.gnu.org; Thu, 05 Mar 2020 14:21:16 -0500 Received: (qmail 9713 invoked by uid 1009); 5 Mar 2020 20:21:13 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25741. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.022388 secs); 05 Mar 2020 19:21:13 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 5 Mar 2020 20:21:13 +0100 From: Jakub =?utf-8?b?S8SFZHppb8WCa2E=?= Date: Thu, 5 Mar 2020 20:22:04 +0100 Message-Id: <20200305192204.14973-3-kuba@kadziolka.net> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200305192204.14973-1-kuba@kadziolka.net> References: <20200305192204.14973-1-kuba@kadziolka.net> MIME-Version: 1.0 X-Qmailux-2.08st: added fake Content-Type header X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.0.8. [arguments]: Remove the now-redundant 'disable-failing-test phase. [native-inputs]: Add python-setuptools and python-setuptools-scm. [inputs]: Add python-{appdirs, distlib, filelock, six, importlib-metadata}. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c3d08844e6..6131baf5ea 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2397,28 +2397,30 @@ e.g. filters, callbacks and errbacks can all be promises.") (define-public python-virtualenv (package (name "python-virtualenv") - (version "16.1.0") + (version "20.0.8") (source (origin (method url-fetch) (uri (pypi-uri "virtualenv" version)) (sha256 (base32 - "0242cg3hdq3qdvx5flyrki8lpwlgwf5k45c21ks5049fv7ygm6gq")))) + "096r7g5cv85vxymg9iqbn5z749613snlvd6p3rf1nxnrd386j0qz")))) (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'disable-failing-test - (lambda _ - ;; Disable failing test. See upstream bug report - ;; https://github.com/pypa/virtualenv/issues/957 - (substitute* "tests/test_virtualenv.py" - (("skipif.*") "skipif(True, reason=\"Guix\")\n")) - #t))))) (native-inputs `(("python-mock" ,python-mock) - ("python-pytest" ,python-pytest))) + ("python-pytest" ,python-pytest) + ;; NOTE: guix lint remarks that "python-setuptools should probably not + ;; be an input at all". However, removing the input makes the build error: + ;; File "setup.py", line 4, in + ;; raise RuntimeError("setuptools >= 41 required to build") + ("python-setuptools" ,python-setuptools) + ("python-setuptools-scm" ,python-setuptools-scm))) + (inputs + `(("python-appdirs" ,python-appdirs) + ("python-distlib" ,python-distlib) + ("python-filelock" ,python-filelock) + ("python-six" ,python-six) + ("python-importlib-metadata" ,python-importlib-metadata))) (home-page "https://virtualenv.pypa.io/") (synopsis "Virtual Python environment builder") (description