GNU bug report logs - #46228
[PATCH 0/2] gnu: python-pkginfo: Update to 1.7.0.

Previous Next

Package: guix-patches;

Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>

Date: Mon, 1 Feb 2021 08:52:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> outlook.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46228 in the body.
You can then email your comments to 46228 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#46228; Package guix-patches. (Mon, 01 Feb 2021 08:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 01 Feb 2021 08:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 0/2] gnu: python-pkginfo: Update to 1.7.0.
Date: Mon,  1 Feb 2021 09:50:23 +0100
Tanguy Le Carrour (2):
  gnu: python-pkginfo: Update to 1.7.0.
  gnu: python-pkginfo: Enable tests.

 gnu/packages/python-xyz.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

-- 
2.30.0





Information forwarded to guix-patches <at> gnu.org:
bug#46228; Package guix-patches. (Mon, 01 Feb 2021 08:53:01 GMT) Full text and rfc822 format available.

Message #8 received at 46228 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 46228 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 1/2] gnu: python-pkginfo: Update to 1.7.0.
Date: Mon,  1 Feb 2021 09:52:30 +0100
* gnu/packages/python-xyz.scm (python-pkginfo): Udpate to 1.7.0.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c63774ce13..29f66705e4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17103,14 +17103,14 @@ design and layout.")
 (define-public python-pkginfo
   (package
     (name "python-pkginfo")
-    (version "1.4.2")
+    (version "1.7.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "pkginfo" version))
         (sha256
           (base32
-            "0x6lm17p1ks031mj6pajyp4rkq74vpqq8qwjb7ikgwmkli1day2q"))))
+            "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2"))))
     (build-system python-build-system)
     (arguments
      ;; The tests are broken upstream.
-- 
2.30.0





Information forwarded to guix-patches <at> gnu.org:
bug#46228; Package guix-patches. (Mon, 01 Feb 2021 08:53:02 GMT) Full text and rfc822 format available.

Message #11 received at 46228 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 46228 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 2/2] gnu: python-pkginfo: Enable tests.
Date: Mon,  1 Feb 2021 09:52:31 +0100
* gnu/packages/python-xyz.scm (python-pkginfo)[arguments]: Don't disable tests.
Disable a failing test.
---
 gnu/packages/python-xyz.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 29f66705e4..38dbda25d8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17113,8 +17113,14 @@ design and layout.")
             "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2"))))
     (build-system python-build-system)
     (arguments
-     ;; The tests are broken upstream.
-     '(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'patch-tests
+           (lambda _
+             (substitute* "pkginfo/tests/test_installed.py"
+               (("test_ctor_w_package_no_PKG_INFO")
+                "_test_ctor_w_package_no_PKG_INFO"))
+             #t)))))
     (home-page
       "https://code.launchpad.net/~tseaver/pkginfo/trunk")
     (synopsis
-- 
2.30.0





Reply sent to 宋文武 <iyzsong <at> outlook.com>:
You have taken responsibility. (Thu, 11 Feb 2021 03:05:02 GMT) Full text and rfc822 format available.

Notification sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
bug acknowledged by developer. (Thu, 11 Feb 2021 03:05:02 GMT) Full text and rfc822 format available.

Message #16 received at 46228-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> outlook.com>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: 46228-done <at> debbugs.gnu.org
Subject: Re: [bug#46228] [PATCH 0/2] gnu: python-pkginfo: Update to 1.7.0.
Date: Thu, 11 Feb 2021 11:06:29 +0800
Tanguy Le Carrour <tanguy <at> bioneland.org> writes:

> Tanguy Le Carrour (2):
>   gnu: python-pkginfo: Update to 1.7.0.
>   gnu: python-pkginfo: Enable tests.

Applied, thank you!




Information forwarded to guix-patches <at> gnu.org:
bug#46228; Package guix-patches. (Thu, 11 Feb 2021 09:40:01 GMT) Full text and rfc822 format available.

Message #19 received at 46228-done <at> debbugs.gnu.org (full text, mbox):

From: Tanguy LE CARROUR <tanguy <at> bioneland.org>
To: 宋文武 <iyzsong <at> outlook.com>
Cc: 46228-done <at> debbugs.gnu.org
Subject: Re: [bug#46228] [PATCH 0/2] gnu: python-pkginfo: Update to 1.7.0.
Date: Thu, 11 Feb 2021 10:39:46 +0100
Hi,

Excerpts from 宋文武's message of February 11, 2021 4:06 am:
> Tanguy Le Carrour <tanguy <at> bioneland.org> writes:
> 
>> Tanguy Le Carrour (2):
>>   gnu: python-pkginfo: Update to 1.7.0.
>>   gnu: python-pkginfo: Enable tests.
> 
> Applied, thank you!

Thanks!

-- 
Tanguy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 11 Mar 2021 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.