Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709584 - dev-python/sphinx-2.0.1 update skipped due to dependency conflict with dev-python/sphinx-gallery-0.1.12 and dev-python/sphinxcontrib-websupport-1.1.0
Summary: dev-python/sphinx-2.0.1 update skipped due to dependency conflict with dev-py...
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: 2020-02-14 08:47 UTC by Erik Quaeghebeur
Modified: 2020-03-02 20:23 UTC (History)
2 users (show)

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


Attachments
autodoc: failed to import method 'websupport.WebSupport.build' from module 'sphinxcontrib' (sphinx-2.0.1-r1-build.log,93.19 KB, text/plain)
2020-02-17 21:21 UTC, Maxim P. Dementiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2020-02-14 08:47:09 UTC
When I do emerge -DNvuqa world, I get the following message:

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

dev-python/sphinx:0

  (dev-python/sphinx-2.0.1:0/0::gentoo, ebuild scheduled for merge) USE="doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_6 (-pypy3) (-python3_7) (-python3_8)" conflicts with
    dev-python/sphinx[python_targets_python2_7(-),python_targets_python3_6(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)] required by 
(dev-python/sphinx-gallery-0.1.12:0/0::gentoo, installed) USE="" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 (-python3_7)"
                                                                                                                                                                                       
    >=dev-python/sphinx-1.5.3[python_targets_python2_7(-),python_targets_python3_6(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_s
ingle_target_python3_7(-),-python_single_target_python3_8(-)] required by (dev-python/sphinxcontrib-websupport-1.1.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 py
thon3_6 (-pypy3) (-python3_7) (-python3_8)"

I had a look at this, and its seems that it is because sphinx-2.0.1 does not support python 2.7, but by default sphinx-gallery and sphinxcontrib-websupport still require it. This is a stable system, so I suppose this is unintended.

I guess requiring python 2.7 should be lifted from these packages to fix this issue.

Reproducible: Always

Steps to Reproduce:
1. emerge -DNvuqa world

Actual Results:  
List of packages to emerge prepended by the dependency conflict warning.

Expected Results:  
No dependency warning.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-14 11:22:46 UTC
I'll try to improve things a bit.

sphinx-gallery shouldn't need py2 anymore as old matplotlib[doc] has been masked.

sphinxcontrib-websupport should be needed only by old sphinx itself.  However, there's some suspicious dep in ipython as well.  I'm going to see if it can be removed.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-14 12:49:32 UTC
Ok, I think I've done all that could be done here.

sphinx-gallery is now py3-only, so the next upgrade should resolve that part.

sphinxcontrib-websupport is needed only for old sphinx, so I've added a blocker for it to the new sphinx.  If you *can* upgrade to new sphinx, the PM should unmerge websupport automatically.

Please let me know if that helped.
Comment 3 Maxim P. Dementiev 2020-02-17 21:21:59 UTC
Created attachment 614230 [details]
autodoc: failed to import method 'websupport.WebSupport.build' from module 'sphinxcontrib'

I have the problem with 'sphinxcontrib.websupport' during the build of dev-python/sphinx-2.0.1-r1. See the sphinx-2.0.1-r1-build.log.
Comment 4 Maxim P. Dementiev 2020-02-17 21:29:23 UTC
I've added "-doc" for sphinx in "package.use" file and it helped me.
So, the strange dependency on websupport takes place on the stage of doc generation for sphinx package.
Comment 5 Maxim P. Dementiev 2020-02-18 16:17:18 UTC
Sorry, there is a separated issue for my case:
https://bugs.gentoo.org/683194
Comment 6 Erik Quaeghebeur 2020-02-19 21:08:23 UTC
(In reply to Michał Górny from comment #2)
> Please let me know if that helped.
I managed to update sphinx, so I think it helped. Sorry for the delay, but I needed some free moment to work around Bug 709658.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-02 20:23:30 UTC
Good news, there's new version of sphinxcontrib-websupport that removes py2 support entirely.