From patchwork Fri Apr 28 05:50:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kehayias X-Patchwork-Id: 49629 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 326D727BBEA; Fri, 28 Apr 2023 06:52:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 824DA27BBE2 for ; Fri, 28 Apr 2023 06:52:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psH1Y-0005y9-0E; Fri, 28 Apr 2023 01:52:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psH1W-0005xa-J8 for guix-patches@gnu.org; Fri, 28 Apr 2023 01:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psH1W-0003HO-9U for guix-patches@gnu.org; Fri, 28 Apr 2023 01:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psH1W-0006eR-5u for guix-patches@gnu.org; Fri, 28 Apr 2023 01:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22.0. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Apr 2023 05:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63139@debbugs.gnu.org Cc: John Kehayias Received: via spool by 63139-submit@debbugs.gnu.org id=B63139.168266107525387 (code B ref 63139); Fri, 28 Apr 2023 05:52:02 +0000 Received: (at 63139) by debbugs.gnu.org; 28 Apr 2023 05:51:15 +0000 Received: from localhost ([127.0.0.1]:60297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psH0l-0006bN-54 for submit@debbugs.gnu.org; Fri, 28 Apr 2023 01:51:15 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:17213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psH0j-0006aT-54 for 63139@debbugs.gnu.org; Fri, 28 Apr 2023 01:51:13 -0400 Date: Fri, 28 Apr 2023 05:50:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682661067; x=1682920267; bh=SBio75ChSIlUmVt+aTavm2+oLbRQGDVKJaNFe0VyGlg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=N7MjGBfuxF5ae85N3TjUoK2yqYmEy25S1W2+A1dLQcV1rki82CwUs6RmhGeEqbpR9 kS85flrBxePTMLmE7uzQUVRaqNep+0Cwa/tIe991gkWgsfC7QR/hQFrh3/7QPzwJ5b tZokaW7KsVq2c8SSAGTVnwrUtAZzEm4VGv/LIkOZ+MfcH93niWPhGzO1W23Y1ucR8v 4FuXRLm+/owwFPYx7geipiL5flvk30xgjuBCOfSmnFt+dmAuNjxJgLDIycBhLPRYpy 4pE8OBMp/CZ1eB1aIVrFysmBk8CtpDqeNNPSRRSCNczCAi4B3W+hu2bzoL34/WS+Ow bCDYs4dEIEyOQ== Message-ID: <1f7380517d02ae1221a3d3169775357e9828d082.1682660104.git.john.kehayias@protonmail.com> In-Reply-To: References: Feedback-ID: 7805494:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches X-Patchwork-Original-From: John Kehayias via Guix-patches via From: John Kehayias Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.22.0. [build-system]: Switch to pyproject-build-system. [arguments]{test-flags}: Disable failing tests. [native-inputs]: Remove python-mock and python-setuptools-scm. Add python-cython, python-flaky, python-hatch-vcs, python-hatchling, and python-pytest-mock. [propagated-inputs]: Remove python-appdirs and python-six. Add python-platformdirs. --- gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) -- 2.39.2 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 62ed69c437..1f55df0cd9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4467,19 +4467,48 @@ (define-public python-vine (define-public python-virtualenv (package (name "python-virtualenv") - (version "20.3.1") + (version "20.22.0") (source (origin (method url-fetch) (uri (pypi-uri "virtualenv" version)) (sha256 (base32 - "1nbhnpzswcf3lmzn5xabmfdd7ki8r2w2i37y6wml54di6qi1l48c")))) - (build-system python-build-system) + "1hvcc518l3byvk0hykb5x85fjh70w72s9f3d9vqs1wdfgb2571r7")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags + ;; TODO: Some of these tests may be able to be worked around. + ;; Currently they fail due to needing network access and/or trying + ;; to interact with the build environment in a way that does not + ;; work, or for unknown reasons. + '(let ((disabled-tests (list "test_acquire" + "test_activation_support" + "test_bootstrap_link_via_app_data" + "test_build_c_ext" + "test_builtin_discovery_class_preferred" + "test_can_symlink_when_symlinks_not_enabled" + "test_cpython3_win" + "test_creator" + "test_failed_to_find_implementation" + "test_periodic_update " + "test_pip_invoke" + "test_py_info" + "test_pypy3" + "test_value_alias" + "test_wheel_support_no_python_requires"))) + (list "-k" (string-append "not " + (string-join disabled-tests + " and not ")))))) (native-inputs - (list python-mock python-pytest python-setuptools-scm)) + (list python-cython + python-flaky + python-hatch-vcs + python-hatchling + python-pytest + python-pytest-mock)) (propagated-inputs - (list python-appdirs python-distlib python-filelock python-six)) + (list python-distlib python-filelock python-platformdirs)) (home-page "https://virtualenv.pypa.io/") (synopsis "Virtual Python environment builder") (description