View previous topic :: View next topic |
Author |
Message |
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Thu Jul 16, 2020 7:28 pm Post subject: dev-python/more-itertools install oddness |
|
|
Hello all!
I'm looking for a little insight into this message I've received over the last few system updates:
Code: | WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-python/more-itertools:0
(dev-python/more-itertools-8.3.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)" conflicts with
dev-python/more-itertools[python_targets_python2_7(-),python_targets_python3_7(-),-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/zipp-1.0.0:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 -python3_8"
|
I'm not sure if perhaps the text coloring will help to identify the problem:
https://i.imgur.com/rjLyV8q.png
primarily: what does the error mean?
secondarily: what should I do about it?
I originally thought it was something transient that would resolve after a few syncs, but it's been a couple of days now, and it persists; I'd rather figure it out & fix it before it becomes a blocker.
Any insights appreciated (: |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31021 Location: here
|
Posted: Thu Jul 16, 2020 7:41 pm Post subject: |
|
|
What is the exact emerge command you gave?
There is a reason because your dev-python/zipp is stuck on the 1.0.0 version?
The problem is that zipp-1.0.0 is compiled with python2_7 support but dev-python/more-itertools not have this support version. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Thu Jul 16, 2020 7:51 pm Post subject: |
|
|
hi fedeliallalinea!
thanks for replying.
basically, it's Code: | emerge --update --newuse --changed-use --deep --changed-deps --keep-going @world |
I don't have any special USE flags for zipp -- in fact, Code: | grep -ri python2_7 /etc/portage/* | comes back empty, (so not set in package use flags or make.conf either), but does have PYTHON_TARGETS set to "python2_7 python3_7", so I guess that's coming from my profile (default/linux/amd64/17.1/desktop/plasma) ?
iow, I don't (as far as I can tell) have any explicit requirement for python2_7, but my profile lists it as a possible target; is that the problem? Is there something else I should be looking for? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31021 Location: here
|
Posted: Thu Jul 16, 2020 7:54 pm Post subject: |
|
|
python2_7 target is set by default, with also python3_7, by profile.
The problem is understand because zipp is stuck in 1.0.0 version when the latest stable is 3.1.0, you can post equery d dev-python/zipp output? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Thu Jul 16, 2020 9:03 pm Post subject: |
|
|
fedeliallalinea wrote: | The problem is understand because zipp is stuck in 1.0.0 version when the latest stable is 3.1.0, you can post equery d dev-python/zipp output? |
Not the OP, but dev-python/importlib_metadata-1.6.1 seems to be the cause of the DEP.
Code: | These are the packages that would be merged, in order:
Calculating dependencies ... done!
[ebuild UD ] dev-python/zipp-1.0.0::gentoo [3.1.0::gentoo] USE="-doc -test" PYTHON_TARGETS="python2_7%* python3_7 (-pypy3) -python3_6 -python3_8" 0 KiB
[ebuild N ] dev-python/importlib_metadata-1.6.1::gentoo USE="-doc -test" PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 -python3_8" 0 KiB
Total: 2 packages (1 downgrade, 1 new), Size of downloads: 0 KiB |
_________________ gentoo repos: kakoune | oil | hyper-v |
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Fri Jul 17, 2020 4:16 am Post subject: |
|
|
yes, following the chain:
Code: |
❯ equery d zipp
* These packages depend on zipp:
dev-python/importlib_metadata-1.6.1 (dev-python/zipp[python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)])
(test ? dev-python/zipp[python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)])
❯ equery d importlib_metadata
* These packages depend on importlib_metadata:
dev-python/markdown-3.2.2 (python_targets_pypy3 ? dev-python/importlib_metadata[python_targets_pypy3(-)?,-python_single_target_pypy3(-),python_targets_python3_6(-)?,-python_single_target_python3_6(-),python_targets_python3_7(-)?,-python_single_target_python3_7(-)])
(python_targets_python3_6 ? dev-python/importlib_metadata[python_targets_pypy3(-)?,-python_single_target_pypy3(-),python_targets_python3_6(-)?,-python_single_target_python3_6(-),python_targets_python3_7(-)?,-python_single_target_python3_7(-)])
(python_targets_python3_7 ? dev-python/importlib_metadata[python_targets_pypy3(-)?,-python_single_target_pypy3(-),python_targets_python3_6(-)?,-python_single_target_python3_6(-),python_targets_python3_7(-)?,-python_single_target_python3_7(-)])
❯ equery d dev-python/markdown
* These packages depend on dev-python/markdown:
dev-libs/gobject-introspection-1.62.0-r1 (python_single_target_python3_6 ? dev-python/markdown[python_targets_python3_6(-)])
(python_single_target_python3_7 ? dev-python/markdown[python_targets_python3_7(-)])
(python_single_target_python3_8 ? dev-python/markdown[python_targets_python3_8(-)])
dev-python/cheetah3-3.2.4 (dev-python/markdown[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)])
❯ equery d cheetah3
* These packages depend on cheetah3:
net-nntp/sabnzbd-3.0.0_rc1 (python_single_target_python3_6 ? dev-python/cheetah3[python_targets_python3_6(-)])
(python_single_target_python3_7 ? dev-python/cheetah3[python_targets_python3_7(-)])
(python_single_target_python3_8 ? dev-python/cheetah3[python_targets_python3_8(-)])
|
it's ultimately sabnzbd which brings in this chain (and I know sab moved up to python 3 recently) -- I'm not sure how to resolve this though. It looks like python2_7 was dropped and now things are stuck:
Code: |
❯ equery u more-itertools
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for dev-python/more-itertools-8.3.0:
U I
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
globally
- - python_targets_python3_6 : Build with Python 3.6
+ + python_targets_python3_7 : Build with Python 3.7
- - python_targets_python3_8 : Build with Python 3.8
❯ equery u zipp
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for dev-python/zipp-3.1.0:
U I
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
globally
- - python_targets_python3_6 : Build with Python 3.6
+ + python_targets_python3_7 : Build with Python 3.7
- - python_targets_python3_8 : Build with Python 3.8
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test
but can be toggled independently)
|
|
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Fri Jul 17, 2020 4:34 am Post subject: |
|
|
ok, I could have sworn I tried this last night, but perhaps not:
Code: |
emerge -1 more-itertools
|
rebuilds more-itertools and a system update no longer complains. I thought this was what I needed to do -- perhaps I was doing something else wrong last night -- I remember this being the solution for a similar issue in the past. Anyhoo, thanks for all the help people (: |
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Fri Jul 17, 2020 4:45 am Post subject: |
|
|
o, nm, I'm mistaken -- a world update still complains with the same message ); back to square 1. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31021 Location: here
|
Posted: Fri Jul 17, 2020 5:28 am Post subject: |
|
|
If you can try to remove python_targets_python2_7 use flag to dev-python/zipp package with /etc/portage/package.use _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4628 Location: Germany
|
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Fri Jul 17, 2020 1:17 pm Post subject: |
|
|
yeah, I realise that py2.7 is supposed to be dead; I don't want to do a system-wide expunge for the packages that may still be using it and break; but perhaps fedeliallalinea has an idea in trying to convince just _one_ package not to use py2.7; when I'm back at my home machine, I'll try again.
Thanks again for all the help; I <3 the gentoo community |
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Fri Jul 17, 2020 5:23 pm Post subject: |
|
|
neither zipp nor more-itertools have python_targets_python2_7 as a USE flag:
Code: |
❯ equery u zipp
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for dev-python/zipp-3.1.0:
U I
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
globally
- - python_targets_python3_6 : Build with Python 3.6
+ + python_targets_python3_7 : Build with Python 3.7
- - python_targets_python3_8 : Build with Python 3.8
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test
but can be toggled independently)
❯ equery u more-itertools
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for dev-python/more-itertools-8.3.0:
U I
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
globally
- - python_targets_python3_6 : Build with Python 3.6
+ + python_targets_python3_7 : Build with Python 3.7
- - python_targets_python3_8 : Build with Python 3.8
|
So I can't turn that off via USE flags. I thought I'd try a "big hammer":
Code: |
❯ PYTHON_TARGETS=python3_7 emerge -1 more-itertools zipp
Calculating dependencies... done!
[ebuild U ] dev-python/more-itertools-8.3.0 [5.0.0]
[ebuild U ] dev-python/zipp-3.1.0 [1.0.0]
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-python/zipp:0
(dev-python/zipp-3.1.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8" pulled in by
dev-python/zipp (Argument)
(dev-python/zipp-1.0.0:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 -python3_8" pulled in by
dev-python/zipp[python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-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/importlib_metadata-1.6.1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 -python3_8"
dev-python/more-itertools:0
(dev-python/more-itertools-8.3.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)" pulled in by
dev-python/more-itertools (Argument)
(dev-python/more-itertools-5.0.0:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)" pulled in by
dev-python/more-itertools[python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-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/zipp-1.0.0:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3) -python3_6 -python3_8"
|
but that (obviously) doesn't work :/ I know it's a warning for now, but my feeling is that if I can't resolve it, these kinds of things will just compound until I'm in a world of hurt ): |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31021 Location: here
|
Posted: Fri Jul 17, 2020 5:36 pm Post subject: |
|
|
You should disable python2_7 recursivly, now is dev-python/importlib_metadata package that need to disable this use flag.
As Josef.95 say you can disable python2_7 to all packages and enable it only for packages that forcibly require it. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Sat Jul 18, 2020 10:20 am Post subject: |
|
|
fedeliallalinea wrote: | If you can try to remove python_targets_python2_7 use flag to dev-python/zipp package with /etc/portage/package.use |
Not zipp, just the packages that depend on it. In his case importlib_metadata. _________________ gentoo repos: kakoune | oil | hyper-v |
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Sat Jul 18, 2020 5:11 pm Post subject: |
|
|
Dr.Willy, thanks, that's the ticket -- explicitly setting
Code: |
dev-python/importlib_metadata -python_targets_python2_7
|
resolves the issue (I should have noticed this in the last bit of the emerge output!); I'd rather let py27 fizzle out by itself instead of trying to be clever about masking it off everywhere and then needing to fix up anything depending on it.
I've also raised the issue here: https://bugs.gentoo.org/733146 in case the package maintainer cares to resolve it.
Thanks again for the help, everyone. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|