Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830676 - dev-python/pydot-1.4.2-r1 blocks <dev-python/pyparsing-3
Summary: dev-python/pydot-1.4.2-r1 blocks <dev-python/pyparsing-3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-06 09:06 UTC by Anton Bolshakov
Modified: 2022-01-25 16:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2022-01-06 09:06:54 UTC
dev-python/pyparsing-3 is stable and that causes emerge to complain.

The patch is trivial, see

https://github.com/pydot/pydot/issues/277

emerge -DNuav world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/pyparsing:0

  (dev-python/pyparsing-3.0.6:0/0::gentoo, ebuild scheduled for merge) USE="-examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8" conflicts with
    <dev-python/pyparsing-3[python_targets_python3_9(-)] required by (dev-python/pydot-1.4.2-r1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_10 -python3_8"
    ^                                            ^      


Nothing to merge; quitting.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-07 01:19:10 UTC
Once the patch is accepted upstream, sure. While it's nice to fix emerge complaining, it's a warning, and non-fatal.
Comment 2 Anton Bolshakov 2022-01-07 03:09:54 UTC
Correct me if im wrong, but I see it as more critical. 
Pyparsing is not slotted. I have some packages which require <3 and some >3. So one of them much be broken
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-07 03:18:18 UTC
(In reply to Anton Bolshakov from comment #2)
> Correct me if im wrong, but I see it as more critical. 
> Pyparsing is not slotted. I have some packages which require <3 and some >3.
> So one of them much be broken

I don't think there's many needing >3, at a skim, I just see translate-toolkit.

It's important, but I'd just like to give upstream at least a day or two to reply to your PR first.
Comment 4 Anton Bolshakov 2022-01-09 01:24:34 UTC
The patch was proposed earlier in Nov 2021, see
https://github.com/pydot/pydot/issues/277#issuecomment-973696668

I created a pull request with that trivial change, mostly for myself, so I could download the patch. I don't think it would help the upstream to fix the issue faster
Comment 5 Larry the Git Cow gentoo-dev 2022-01-24 20:08:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e07ea8abd7fe63bf7c276eae7ffa956f9f64b6

commit 48e07ea8abd7fe63bf7c276eae7ffa956f9f64b6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-24 20:08:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-24 20:08:39 +0000

    dev-python/pydot: workaround pyparsing-3 issue
    
    Closes: https://bugs.gentoo.org/830676
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pydot/files/pydot-1.4.2-pyparsing-3.patch      | 22 +++++++++++++
 dev-python/pydot/pydot-1.4.2-r2.ebuild             | 36 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)
Comment 6 Anton Bolshakov 2022-01-25 05:24:37 UTC
The patch seems disabled?
Comment 7 Larry the Git Cow gentoo-dev 2022-01-25 16:37:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af44660abd549790aa07d42794f0603ac8fcd19

commit 7af44660abd549790aa07d42794f0603ac8fcd19
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-25 16:36:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-25 16:37:01 +0000

    dev-python/pydot: actually enable patch for pyparsing-3
    
    Closes: https://bugs.gentoo.org/830676
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pydot/{pydot-1.4.2-r2.ebuild => pydot-1.4.2-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)