GNU bug report logs - #38742
[PATCH] gnu: python-fonttools: Update to 4.2.2

Previous Next

Package: guix-patches;

Reported by: Riku Viitanen <riku.viitanen <at> protonmail.com>

Date: Wed, 25 Dec 2019 17:04:01 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.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 38742 in the body.
You can then email your comments to 38742 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#38742; Package guix-patches. (Wed, 25 Dec 2019 17:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Riku Viitanen <riku.viitanen <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 25 Dec 2019 17:04:01 GMT) Full text and rfc822 format available.

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

From: Riku Viitanen <riku.viitanen <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: python-fonttools: Update to 4.2.2
Date: Wed, 25 Dec 2019 14:24:46 +0000
This updates python-fonttools to the newest version (4.2.2).
python2-fonttools is only updated to 3.44.0, as the 4.x versions don't support Python 2.

* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.2.2.
* gnu/packages/python-xyz.scm (python2-fonttools): Update to 3.44.0.
---
 gnu/packages/python-xyz.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c06c2199de..4d6dd7b32d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -68,6 +68,7 @@
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;; Copyright © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
+;;; Copyright © 2019 Riku Viitanen <riku.viitanen <at> protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6803,16 +6804,15 @@ add functionality and customization to your projects with their own plugins.")
 (define-public python2-straight-plugin
   (package-with-python2 python-straight-plugin))
 
-(define-public python-fonttools
+(define (python-fonttools-version version hash)
   (package
     (name "python-fonttools")
-    (version "3.38.0")
+    (version version)
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "fonttools" version ".zip"))
               (sha256
-               (base32
-                "12ripk3s7skgxr1bs9r8n13r94ym3s8iir7ivfixls9fa4dabmlh"))))
+               (base32 hash))))
     (build-system python-build-system)
     (native-inputs
      `(("unzip" ,unzip)
@@ -6828,8 +6828,16 @@ also contains a tool called “TTX” which converts TrueType/OpenType fonts to
 from an XML-based format.")
     (license license:expat)))
 
+(define-public python-fonttools
+  (python-fonttools-version
+    "4.2.2"
+    "012qqspnwdl4vy8qgzzpfglkk5dgzxiw0fak2jq74ngygvz3vfv6"))
+
 (define-public python2-fonttools
-  (package-with-python2 python-fonttools))
+  (package-with-python2
+    (python-fonttools-version
+      "3.44.0"  ;; last version to support Python 2
+      "0v6399g755f2hn1ry62i5b6gdinf2fpx2966v3bxh6bjw1accb5p")))
 
 (define-public python-ly
   (package
--
2.24.0




Information forwarded to guix-patches <at> gnu.org:
bug#38742; Package guix-patches. (Thu, 26 Dec 2019 11:59:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Riku Viitanen via Guix-patches via <guix-patches <at> gnu.org>
Cc: Riku Viitanen <riku.viitanen <at> protonmail.com>, 38742 <at> debbugs.gnu.org
Subject: Re: [bug#38742] [PATCH] gnu: python-fonttools: Update to 4.2.2
Date: Thu, 26 Dec 2019 12:58:01 +0100
[Message part 1 (text/plain, inline)]
Hi,

thanks for the patch!  I have a few comments below:

* I can't apply it.  There's two parts in your message:
  (1) A rfc822 format file with MIME escape parts (like "=C2=A0") in it which "git am" cannot use and which looks very unusable.
  (2) A plain text format file (much better) which is missing the author information ("From"...)--so "git am" cannot use it.
  If that's a problem with our Guix-patches tooling (or my mail client), I apologize, but even with manual editing I could not apply (2).  (1) is out of the question.
  Please use "git format-patch -1" after committing the change to your local git repository in order to create the patch.
  You can revert your patch using "git reset HEAD~1" and then try "git am your-patchfile" on your side to see whether we would be able to apply it.
* Please rename the procedure from "python-fonttools-version" to "python-fonttools-package" for consistency with other places we do that.
* Please mention the new procedure in the commit log.
* Please put maintainer comments into the source code, not the commit log.
* A comment trailing a scheme line should have only one ";".

> +    (python-fonttools-version

python-fonttools-package

> +      "3.44.0"  ;; last version to support Python 2

+      "3.44.0"  ; last version to support Python 2
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38742; Package guix-patches. (Thu, 26 Dec 2019 11:59:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#38742; Package guix-patches. (Thu, 26 Dec 2019 15:07:01 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Riku Viitanen <riku.viitanen <at> protonmail.com>,
 Riku Viitanen via Guix-patches <guix-patches <at> gnu.org>, 38742 <at> debbugs.gnu.org
Subject: Re: [bug#38742] [PATCH] gnu: python-fonttools: Update to 4.2.2
Date: Thu, 26 Dec 2019 16:05:56 +0100
[Message part 1 (text/plain, inline)]
Riku Viitanen via Guix-patches via <guix-patches <at> gnu.org> writes:

> This updates python-fonttools to the newest version (4.2.2).
> python2-fonttools is only updated to 3.44.0, as the 4.x versions don't support Python 2.
>
> * gnu/packages/python-xyz.scm (python-fonttools): Update to 4.2.2.
> * gnu/packages/python-xyz.scm (python2-fonttools): Update to 3.44.0.

Thanks for the patch!  Note that python-fonttools has 4481 dependent
packages according to 'guix refresh -l python-fonttools', so this change
must go through the 'core-updates' branch.

We already have python-fonttools version 4.2.0 on that branch, so this
patch needs to be adjusted a little.  Can you rebase this on the
'core-updates' branch and send an updated patch?

TIA,
Marius
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#38742; Package guix-patches. (Thu, 26 Dec 2019 15:07:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#38742; Package guix-patches. (Mon, 30 Dec 2019 15:23:01 GMT) Full text and rfc822 format available.

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

From: Riku Viitanen <riku.viitanen <at> protonmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: "38742 <at> debbugs.gnu.org" <38742 <at> debbugs.gnu.org>,
 Riku Viitanen via Guix-patches <guix-patches <at> gnu.org>
Subject: Re: [bug#38742] [PATCH] gnu: python-fonttools: Update to 4.2.2
Date: Mon, 30 Dec 2019 15:22:19 +0000
Here's the rebased patch. I accidentally sent it to only Marius earlier.

Python2-fonttools is already 3.44.0 in core-updates, so I left that untouched.

From cb683c9119753df4734bebe5855d2d1993b04cff Mon Sep 17 00:00:00 2001
From: Riku Viitanen <riku.viitanen <at> protonmail.com>
Date: Thu, 26 Dec 2019 20:00:01 +0200
Subject: [PATCH] gnu: python-fonttools: Update to 4.2.2.

* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.2.2.
---
 gnu/packages/python-xyz.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 75b8a4cc08..9c830c2bc3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -67,6 +67,7 @@
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy <at> bioneland.org>
+;;; Copyright © 2019 Riku Viitanen <riku.viitanen <at> protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6805,13 +6806,13 @@ add functionality and customization to your projects with their own plugins.")
 (define-public python-fonttools
   (package
     (name "python-fonttools")
-    (version "4.2.0")
+    (version "4.2.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "fonttools" version ".zip"))
               (sha256
                (base32
-                "0psy6z52jn49wp93s3k7kj0jzji1cad3wnwgm6c26vphv5appk4v"))))
+                "012qqspnwdl4vy8qgzzpfglkk5dgzxiw0fak2jq74ngygvz3vfv6"))))
     (build-system python-build-system)
     (native-inputs
      `(("unzip" ,unzip)
--
2.24.0




Information forwarded to guix-patches <at> gnu.org:
bug#38742; Package guix-patches. (Mon, 30 Dec 2019 15:23:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#38742; Package guix-patches. (Sun, 12 Jan 2020 21:23:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Riku Viitanen <riku.viitanen <at> protonmail.com>
Cc: Riku Viitanen via Guix-patches <guix-patches <at> gnu.org>,
 "38742 <at> debbugs.gnu.org" <38742-done <at> debbugs.gnu.org>
Subject: Re: [bug#38742] [PATCH] gnu: python-fonttools: Update to 4.2.2
Date: Sun, 12 Jan 2020 22:22:13 +0100
[Message part 1 (text/plain, inline)]
Riku Viitanen <riku.viitanen <at> protonmail.com> writes:

> Here's the rebased patch. I accidentally sent it to only Marius earlier.
>
> Python2-fonttools is already 3.44.0 in core-updates, so I left that untouched.
>
> From cb683c9119753df4734bebe5855d2d1993b04cff Mon Sep 17 00:00:00 2001
> From: Riku Viitanen <riku.viitanen <at> protonmail.com>
> Date: Thu, 26 Dec 2019 20:00:01 +0200
> Subject: [PATCH] gnu: python-fonttools: Update to 4.2.2.
>
> * gnu/packages/python-xyz.scm (python-fonttools): Update to 4.2.2.

Pushed to 'core-updates', thanks!

By the way, I notice the tests are no longer running (it was also the
case before this patch).  Could you look into that?
[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Sun, 12 Jan 2020 21:23:02 GMT) Full text and rfc822 format available.

Notification sent to Riku Viitanen <riku.viitanen <at> protonmail.com>:
bug acknowledged by developer. (Sun, 12 Jan 2020 21:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Feb 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 75 days ago.

Previous Next


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