Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705414 - dev-python/setuptools-45.0.0 causes a massive dependency conflict
Summary: dev-python/setuptools-45.0.0 causes a massive dependency conflict
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-01-14 14:12 UTC by Anton Gubarkov
Modified: 2020-01-16 04:49 UTC (History)
6 users (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 Gubarkov 2020-01-14 14:12:34 UTC
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/setuptools:0

  (dev-python/setuptools-45.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_6 -pypy3 -python3_7 -python3_8" conflicts with
    dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_6(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] required by (dev-python/lxml-4.4.2:0/0::gentoo, installed) USE="threads -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8"
                                                                                                                                                                                                                                                             
    dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_6(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] required by (dev-python/packaging-20.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8"
                                                                                                                                                                                                                                                             
    dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_6(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] required by (dev-python/psutil-5.6.7:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8"
                                                                                                                                                                                                                                                             
and lots more... doesn't fit to a comment
Comment 1 edes 2020-01-14 15:27:00 UTC
Same here.
Comment 2 Mike Gilbert gentoo-dev 2020-01-14 16:56:43 UTC
Stable users should not run into this unless dev-python/setuptools is in package.accept_keywords.

I assume we will update the default PYTHON_TARGETS value in profiles/base/make.defaults before stabilizing >=dev-python/setuptools-45.0.0.

For ~arch, there are 2 solutions:

1. Add >=dev-python/setuptools-45.0.0 to /etc/portage/package.mask.

2. Remove python2_7 from PYTHON_TARGETS by adding this to /etc/portage/package.use:

*/* PYTHON_TARGETS: -python2_7

Solution 2 is preferable, assuming you are not using applications which only work with python2.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-14 17:00:01 UTC
I suppose we could also mask the new version for now, at least until upstreams makes a release with real user-impacting changes.
Comment 4 Larry the Git Cow gentoo-dev 2020-01-16 04:49:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e597ae536d8f89b0d2390d075291a6aa14355a3

commit 2e597ae536d8f89b0d2390d075291a6aa14355a3
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-01-16 04:48:02 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-01-16 04:48:02 +0000

    package.mask: Mask new dev-python/setuptools
    
    Closes: https://bugs.gentoo.org/705414
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)