GNU bug report logs - #66920
python-pikepdf showing wrong version in egg

Previous Next

Package: guix-patches;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Fri, 3 Nov 2023 15:57:01 UTC

Severity: normal

Done: Hilton Chain <hako <at> ultrarare.space>

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 66920 in the body.
You can then email your comments to 66920 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 bug-guix <at> gnu.org:
bug#66920; Package guix. (Fri, 03 Nov 2023 15:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jack Hill <jackhill <at> jackhill.us>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 03 Nov 2023 15:57:01 GMT) Full text and rfc822 format available.

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

From: Jack Hill <jackhill <at> jackhill.us>
To: bug-guix <at> gnu.org
Subject: python-pikepdf showing wrong version in egg
Date: Fri, 3 Nov 2023 11:56:03 -0400 (EDT)
Hi Guix,

This issue was brought to my attention by f1refly on IRC.

pdfarranger fails to build with the following error in the sanity-check 
phase:

"""
...checking requirements: ERROR: pdfarranger==1.10.1 
ContextualVersionConflict(pikepdf 0.0.0 
(/gnu/store/wli7mi9xb3zdlb9lbnn9haf79phff408-python-pikepdf-7.2.0/lib/python3.10/site-packages), 
Requirement.parse('pikepdf>=1.17.0'), {'pdfarranger'})
"""

Our python-pikepdf version is more than 1.17.0 though, it's 7.2.0. 
However, the egg in site-packages does list its version as 0.0.0.

Best,
Jack




bug reassigned from package 'guix' to 'guix-patches'. Request was from Jack Hill <jackhill <at> jackhill.us> to control <at> debbugs.gnu.org. (Fri, 03 Nov 2023 16:20:01 GMT) Full text and rfc822 format available.

Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#66920; Package guix-patches. (Fri, 03 Nov 2023 16:24:02 GMT) Full text and rfc822 format available.

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

From: Jack Hill <jackhill <at> jackhill.us>
To: 66920 <at> debbugs.gnu.org
Subject: [PATCH] gnu: python-pikepdf: Fix embedded version string.
Date: Fri,  3 Nov 2023 12:22:49 -0400
* gnu/packages/python-xyz.scm (python-pikepdf)[native-inputs]: Add
python-setuptools-scm to correct embedded version form 0.0.0 to 1.17.0.

Change-Id: I659ed3e725fff6afe17abe6f55449567ba84cdfc
---

Thanks Ricardo for the pointer: https://logs.guix.gnu.org/guix/2023-11-03.log#170345

 gnu/packages/python-xyz.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6001e7e6eb..e521c1580d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8726,6 +8726,7 @@ (define-public python-pikepdf
            python-attrs
            python-coverage
            python-hypothesis
+           python-setuptools-scm
            python-psutil
            python-pytest
            python-pytest-cov

base-commit: c9361460dece1dbc3d2645ad3e5c79e85a2bf183
-- 
2.41.0





Reply sent to Hilton Chain <hako <at> ultrarare.space>:
You have taken responsibility. (Sat, 04 Nov 2023 11:20:01 GMT) Full text and rfc822 format available.

Notification sent to Jack Hill <jackhill <at> jackhill.us>:
bug acknowledged by developer. (Sat, 04 Nov 2023 11:20:01 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: Jack Hill <jackhill <at> jackhill.us>
Cc: 66920-done <at> debbugs.gnu.org
Subject: Re: [bug#66920] [PATCH] gnu: python-pikepdf: Fix embedded version
 string.
Date: Sat, 04 Nov 2023 19:18:23 +0800
Hi Jack,

On Sat, 04 Nov 2023 00:22:49 +0800,
Jack Hill wrote:
> 
> * gnu/packages/python-xyz.scm (python-pikepdf)[native-inputs]: Add
> python-setuptools-scm to correct embedded version form 0.0.0 to 1.17.0.
> 
> Change-Id: I659ed3e725fff6afe17abe6f55449567ba84cdfc
> ---
> 
> Thanks Ricardo for the pointer: https://logs.guix.gnu.org/guix/2023-11-03.log#170345
> 
>  gnu/packages/python-xyz.scm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 6001e7e6eb..e521c1580d 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -8726,6 +8726,7 @@ (define-public python-pikepdf
>             python-attrs
>             python-coverage
>             python-hypothesis
> +           python-setuptools-scm
>             python-psutil
>             python-pytest
>             python-pytest-cov
> 
> base-commit: c9361460dece1dbc3d2645ad3e5c79e85a2bf183
> -- 
> 2.41.0

Applied as 9dcd8802f5bc472579f23a38dcf437f8a9ac976c, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Dec 2023 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 93 days ago.

Previous Next


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