Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830713 - media-sound/puddletag-2.0.1-r1 fails with NameError: name 'operatorPrecedence' is not defined (pyparsing 3)
Summary: media-sound/puddletag-2.0.1-r1 fails with NameError: name 'operatorPrecedence...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Daniel Pielmeier
URL: https://github.com/puddletag/puddleta...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-01-07 03:25 UTC by Alexander Wessel
Modified: 2022-02-02 17:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch replacing operatorPrecedence with infixNotation, should be compatible with pyparsing < 3 as well. (puddletag-2.0.1-replace_operatorPrecedence_with_infixNotation-commit_e5fb85c.patch,295 bytes, patch)
2022-01-07 03:28 UTC, Alexander Wessel
Details | Diff
Ebuild including the patch (puddletag-2.0.1-r2.ebuild,1.17 KB, text/plain)
2022-01-07 03:32 UTC, Alexander Wessel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wessel 2022-01-07 03:25:24 UTC
Due to a change in pyparsing 3 puddletag-2.0.1-r1 fails with 

  NameError: name 'operatorPrecedence' is not defined 

See upstream issue #643 at https://github.com/puddletag/puddletag/issues/643. The issue is closed but no new release was made upstream. Since operatorPrecedence was just an alias for infixNotation, this patch should also be compatible with earlier versions of pyparsing. I didn't test that though.

I attach an Ebuild for a puddletag-2.0.1-r2 and a patch equal to upstream commit e5fb85c which should allow puddletag to run fine again.

Reproducible: Always
Comment 1 Alexander Wessel 2022-01-07 03:28:48 UTC
Created attachment 761462 [details, diff]
patch replacing operatorPrecedence with infixNotation, should be compatible with pyparsing < 3 as well.

Signed-off-by: Alexander Wessel <flexx@chello.at>
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-07 03:29:10 UTC
(In reply to Alexander Wessel from comment #1)
> Created attachment 761462 [details, diff] [details, diff]
> patch replacing operatorPrecedence with infixNotation, should be compatible
> with pyparsing < 3 as well.
> 
> Signed-off-by: Alexander Wessel <flexx@chello.at>

oh, excellent, thank you!
Comment 4 Alexander Wessel 2022-01-07 03:32:16 UTC
Created attachment 761463 [details]
Ebuild including the patch

Signed-off-by: Alexander Wessel <flexx@chello.at>
Comment 5 Daniel Pielmeier gentoo-dev 2022-01-22 10:29:40 UTC
Version 2.1.0 is about to be released so I fill fix this with the upcoming version bump!
Comment 6 Larry the Git Cow gentoo-dev 2022-02-02 17:22:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0138b87c71d2e2aa035d91cb3b11084923536f

commit 1a0138b87c71d2e2aa035d91cb3b11084923536f
Author:     Daniel Pielmeier <billie@gentoo.org>
AuthorDate: 2022-02-02 17:21:27 +0000
Commit:     Daniel Pielmeier <billie@gentoo.org>
CommitDate: 2022-02-02 17:21:27 +0000

    media-sound/puddletag: Version bump.
    
    Migrate to EAPI 8 and PEP517 build. Add python 3.10 support.
    
    Closes: https://bugs.gentoo.org/830713
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Daniel Pielmeier <billie@gentoo.org>

 media-sound/puddletag/Manifest               |  1 +
 media-sound/puddletag/puddletag-2.1.0.ebuild | 38 ++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)