From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kCi3OrWLw15ONQAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 07:33:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mBiMNrWLw17ZNgAAB5/wlQ (envelope-from ) for ; Tue, 19 May 2020 07:33:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3E012940712 for ; Tue, 19 May 2020 07:33:09 +0000 (UTC) Received: from localhost ([::1]:45402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jawkO-0006jx-71 for larch@yhetil.org; Tue, 19 May 2020 03:33:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jawkJ-0006i5-2d for guix-patches@gnu.org; Tue, 19 May 2020 03:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jawkI-0002XH-Px for guix-patches@gnu.org; Tue, 19 May 2020 03:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jawkI-00046B-Mq for guix-patches@gnu.org; Tue, 19 May 2020 03:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41392] [PATCH] Upgrade python-argcomplete to 1.11.1 Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 May 2020 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41392 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41392@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158987354715705 (code B ref -1); Tue, 19 May 2020 07:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 May 2020 07:32:27 +0000 Received: from localhost ([127.0.0.1]:49048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jawjf-00045A-B9 for submit@debbugs.gnu.org; Tue, 19 May 2020 03:32:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:42510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jawjZ-00044y-Gd for submit@debbugs.gnu.org; Tue, 19 May 2020 03:32:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jawjZ-0005cS-6z for guix-patches@gnu.org; Tue, 19 May 2020 03:32:17 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:52108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jawjU-0002Fv-K3 for guix-patches@gnu.org; Tue, 19 May 2020 03:32:16 -0400 Received: by mail-wm1-x32c.google.com with SMTP id f134so1946174wmf.1 for ; Tue, 19 May 2020 00:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=b2mSB8E/G5mV0TP8+mbHMKvMopKoNvUTTQ3jk/Cpykc=; b=la5rbyoX5t/EDsrQm+yHOrnFjvIPkv6RZWT6RPaebUV+eL8qaIvXQ/L99JWRZKyF7E Rfqa5W+tQYTSjS1/9YEkrr+uDAAxjugCh+iByrNQZzKNogaU9wykWwrfiA3gzPatQXIQ kREWe9r1AOEmnnJGN5hHVKFGUifRC/jaomu5boBA0H+9n50Xb88zyI4IMyuZm8SY9Uh6 M4s84ZhR+vPQ8KHHQDyk1z5LXEf2DgUVjS72XRdw0ekPWl7ZKvQVVQDAkHtepjk+vBLN 4rMrWp7BMyklJpe79VtvAVdoE4izTa1tThKTxPQ1lN7tA84dYGh+kS1UisFmnfDVKb25 VrzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=b2mSB8E/G5mV0TP8+mbHMKvMopKoNvUTTQ3jk/Cpykc=; b=kODOIh8q3H++DUsQqRLqqsMK4hZpWSLkY1JiqmcBo0nHK9qGDHmGA/7IjDR9QMcfLM nqeL8OQ3qMvP20CVva2MIBqd+7v5Dl2cXd6psm0sO55jwBXP9ipptMERLau5Ro4EkLkN xEqQEMpB0dqUkLZA0pIBWzcGsDbI6IMdhkhVXZ2z51XwUO/lIHIcq/EqlxNK1Q5+Ys3L 7Cr/vBBtHJ4Mwiw9JLbHT35jX0I2mxwcFW8jmKLDRxxntZk7UgPbAtBizohnC8VkaOLb OrNuTngMtfRrCFVDYRGFdlXBc68kD8i03cg8A++O3NwDE9yrQFb4DZ7A4Jac/WrnIW40 SYWw== X-Gm-Message-State: AOAM533+VOEGuq2JRh38uEYjzUyIjzWoT2H/D5itKOlZJX+QgXREG92P HpIXPb73C0xZTJpIIS3kupj1oToz1sTN6uyWEU/oEv1oh5Qc7z3z0NLzDydyMUeZSslinLFZoOx BDpWlI7RDXW+aRkTEkwq7pzhKNKnAl7dwBOlar6zfYAAv57BS7QMw2W058/AvzIczgJSgXIsdA8 NnwQMycbs= X-Google-Smtp-Source: ABdhPJzBpiNtmLtkjVxEO+pIJIff1yCTDwz2eZdWFmyP25K8Q+MTP6gLTqUfIu3Hgrced0skCGy+Nw== X-Received: by 2002:a05:600c:21c2:: with SMTP id x2mr3780950wmj.148.1589873530413; Tue, 19 May 2020 00:32:10 -0700 (PDT) Received: from localhost (dynamic-2a01-0c23-7850-5200-7d0a-d634-6a10-7df9.c23.pool.telefonica.de. [2a01:c23:7850:5200:7d0a:d634:6a10:7df9]) by smtp.gmail.com with ESMTPSA id c19sm20734647wrb.89.2020.05.19.00.32.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 00:32:09 -0700 (PDT) Date: Tue, 19 May 2020 09:32:09 +0200 From: Lars-Dominik Braun Message-ID: <20200519073209.GA3485@zpidnp36> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Received-SPF: none client-ip=2a00:1450:4864:20::32c; envelope-from=ldb@leibniz-psychology.org; helo=mail-wm1-x32c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=la5rbyoX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: Fqyl04HCMsd7 --l76fUT7nc3MelDdI Content-Type: multipart/mixed; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, the attached patch upgrades python-argcomplete to version 1.11.1 and includes a fix from git for the testsuite and fish>=3.1. Cheers, Lars --Q68bSM7Ycu6FN28Q Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-python-argcomplete-Update-to-1.11.1.patch" Content-Transfer-Encoding: quoted-printable =46rom f72dc474ff2e0ded162661b5c845371cb48c936d Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Tue, 19 May 2020 09:24:03 +0200 Subject: [PATCH] gnu: python-argcomplete: Update to 1.11.1 * gnu/packages/python-xyz.scm (python-argcomplete)[version]: Upgrade [arguments]: Remove, obsolete * gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch: Add fix for = fish 3.1 * gnu/local.mk (dist_patch_DATA): Add new file --- gnu/local.mk | 1 + .../python-argcomplete-1.11.1-fish31.patch | 35 +++++++++++++++++++ gnu/packages/python-xyz.scm | 23 ++---------- 3 files changed, 39 insertions(+), 20 deletions(-) create mode 100644 gnu/packages/patches/python-argcomplete-1.11.1-fish31.p= atch diff --git a/gnu/local.mk b/gnu/local.mk index 38b286203e..82497923c8 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1409,6 +1409,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/python-CVE-2018-14647.patch \ %D%/packages/patches/python-aiohttp-3.6.2-no-warning-fail.patch \ %D%/packages/patches/python-alembic-exceptions-cause.patch \ + %D%/packages/patches/python-argcomplete-1.11.1-fish31.patch \ %D%/packages/patches/python-axolotl-AES-fix.patch \ %D%/packages/patches/python-cairocffi-dlopen-path.patch \ %D%/packages/patches/python-cross-compile.patch \ diff --git a/gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch b/= gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch new file mode 100644 index 0000000000..575c8abbb7 --- /dev/null +++ b/gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch @@ -0,0 +1,35 @@ +From 08bfc8a788e8081515d733e67be026d051c726f7 Mon Sep 17 00:00:00 2001 +From: Evan +Date: Thu, 19 Mar 2020 14:55:07 +1100 +Subject: [PATCH] Remove expected test failure for new versions of fish (#2= 92) + +--- + test/test.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/test/test.py b/test/test.py +index e91352b..2c34806 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -28,6 +28,8 @@ +=20 + BASH_VERSION =3D subprocess.check_output(['bash', '-c', 'echo $BASH_VERSI= ON']).decode() + BASH_MAJOR_VERSION =3D int(BASH_VERSION.split('.')[0]) ++FISH_VERSION_STR =3D subprocess.check_output(['fish', '-c', 'echo -n $FIS= H_VERSION']).decode() ++FISH_VERSION_TUPLE =3D tuple(int(x) for x in FISH_VERSION_STR.split('.')) +=20 +=20 + class TempDir(object): +@@ -1258,8 +1260,11 @@ class TestFish(_TestSh, unittest.TestCase): + expected_failures =3D [ + 'test_parse_special_characters', + 'test_comp_point', +- 'test_special_characters_double_quoted' + ] ++ if FISH_VERSION_TUPLE < (3, 1): ++ expected_failures.extend([ ++ 'test_special_characters_double_quoted' ++ ]) +=20 + skipped =3D [ + 'test_single_quotes_in_single_quotes', diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c26a766d64..bc593120aa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13014,33 +13014,16 @@ PNG, JPEG, JPEG2000 and GIF files in pure Python.= ") (define-public python-argcomplete (package (name "python-argcomplete") - (version "1.10.3") + (version "1.11.1") (source (origin (method url-fetch) (uri (pypi-uri "argcomplete" version)) (sha256 (base32 - "02jkc44drb0yjz6x28lvg6rj607n8r2irdpdvyylm8xnycn54zx3")))) + "0h1przxffrhqvi46k40pzjsvdrq4zc3sl1pc96kkigqppq0vdrss")) + (patches (search-patches "python-argcomplete-1.11.1-fish31.patch"))= )) (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'embed-tool-references - (lambda _ - (substitute* "argcomplete/bash_completion.d/python-argcomplet= e.sh" - ((" grep") - (string-append " " (which "grep"))) - ((" egrep") - (string-append " " (which "egrep"))) - (("elif which") - (string-append "elif " (which "which"))) - (("\\$\\(which") - (string-append "$(" (which "which")))) - #t))))) - (inputs - `(("grep" ,grep) - ("which" ,which))) (native-inputs `(("python-coverage" ,python-coverage) ("python-flake8" ,python-flake8) --=20 2.20.1 --Q68bSM7Ycu6FN28Q-- --l76fUT7nc3MelDdI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl7Di3QACgkQQhN3ARo3 hEa9ZQv9H6MxYc98K0vsOV7ElnxAPtjU9zLGV2txQDDlUjVxDaIvYj5Dr8gQmWWC 1GRm2T1PRWSiwsTQIYjCRMCgFAK6ZGGLZRvQ9tOCsgQV8LLuMD3Tpr86zroQILeT 20vpbLQYaHD8fOUF0yXcAEtZAmvmQRIEBKx/nlfq3U9fpjyoz8wB2BRq+FtCTmfE bhMC17+OxGvhD/ozsU6iwiMCbWpjZGtvwaTwOpLxUIW2unrS9797BDA57FkhmTcX N+P4gS91WfdaI5p+r1ATiCWOfZmx1XWT8kGQCBfiEgRYTdI8ctgP3PyAMfbo0UOq csOeIR6R0hrCboq6nJ8AhuLhzMEAUcOxSn9G68tzSeeIqc0IlEGMYEQlaIQP8Jss VyphXtDtLvvk9w9q9pFsKmTwq8g9Q/rFuAPkxwCsr/5Csn8oGHRwvPAbSi5owH3q 7KSMIODZyntX8ja+b9Y+GOCftPbOGQ3hgcqcl7RfZFxk/NEaeV9im9QOsNI0gWuQ /gEVMz3U =U9I3 -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI--