Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 791313

Summary: portage thinks dev-python/spyder does not exist
Product: Portage Development Reporter: Erik Quaeghebeur <gentoo>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED OBSOLETE    
Severity: normal CC: andrewammerlaan, sam, silvio.gerli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik Quaeghebeur 2021-05-21 11:47:03 UTC
Portage thinks (at some point) that dev-python/spyder does not exist. Namely:

```
# emerge -DUvu @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/pyflakes:0

  (dev-python/pyflakes-2.2.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" conflicts with
    >=dev-python/pyflakes-2.3.0[python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single
_target_python3_9(-)] required by (dev-python/flake8-3.9.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3
_7 -python3_9"                             
    ^^                    ^^^^^            


dev-libs/libxml2:2                         

  (dev-libs/libxml2-2.9.12:2/2::gentoo, ebuild scheduled for merge) USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x3
2)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" conflicts with                    
    <dev-libs/libxml2-2.9.12 required by (dev-python/lxml-4.6.3:0/0::gentoo, installed) USE="threads -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -p
ython3_7 -python3_9"                       
    ^                 ^^^^^^

dev-python/decorator:0

  (dev-python/decorator-5.0.7:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) (-python3_10) -python3_7 -python3_9" conflicts 
with                                       
    <dev-python/decorator-5[python_targets_python3_8(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (
dev-python/spyder-kernels-2.0.3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
    ^                     ^                                                                                                                                       

dev-python/parso:0                         

  (dev-python/parso-0.8.2:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" conflicts with
    =dev-python/parso-0.7*[python_targets_python3_8(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (d
ev-python/jedi-0.17.2-r1:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
    ^                 ^^^^                                                                                                                                       
    ~dev-python/parso-0.7.0[python_targets_python3_8(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (
dev-python/spyder-5.0.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
    ^                 ^^^^^                                                                                                                                       

dev-python/jedi:0                          

  (dev-python/jedi-0.18.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" conflicts with
    ~dev-python/jedi-0.17.2[python_targets_python3_8(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (
dev-python/spyder-5.0.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
    ^                ^^^^^^


!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:

dev-python/spyder:0                        

!!! Problems have been detected with your world file
!!! Please run emaint --check world


!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
dev-python/spyder
```

I have run emaint --check world, and nothing seems amiss there.

I guess this is triggered by the conflicts caused by spyder and its dependencies, but the last part with all the !!! seems incorrect inference by portage:

```
# eix -I dev-python/spyder
[I] dev-python/spyder
     Available versions:  (~)4.2.5^t (~)5.0.3^t {doc test PYTHON_TARGETS="python3_7 python3_8 python3_9"}
     Installed versions:  5.0.3^t(12:05:20 PM 05/21/2021)(-doc -test PYTHON_TARGETS="python3_8 -python3_7 -python3_9")
     Homepage:            https://www.spyder-ide.org/ https://github.com/spyder-ide/spyder/ https://pypi.org/project/spyder/
     Description:         The Scientific Python Development Environment

[I] dev-python/spyder-kernels
     Available versions:  (~)1.10.2^t (~)2.0.3^t {test PYTHON_TARGETS="python3_7 python3_8 python3_9"}
     Installed versions:  2.0.3^t(12:04:27 PM 05/21/2021)(-test PYTHON_TARGETS="python3_8 -python3_7 -python3_9")
     Homepage:            https://github.com/spyder-ide/spyder-kernels/ https://pypi.org/project/spyder-kernels/
     Description:         Kernels used by spyder on its ipython console

Found 2 matches
```


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-21 19:04:50 UTC
That’s not the conclusion I’d make yet. Sounds like it’s masked by unsatisfied backtracking.

Please run:

emerge -p -uvDU —-backtrack=0
Comment 2 Erik Quaeghebeur 2021-05-21 19:55:58 UTC
(In reply to Sam James from comment #1)
> That’s not the conclusion I’d make yet. Sounds like it’s masked by
> unsatisfied backtracking.
> 
> Please run:
> 
> emerge -p -uvDU —-backtrack=0

I guess you are right:

---
# emerge -p -uvDU --backtrack=0 world                                                                                                                      [10/233]
                                                                                                                                                                               
These are the packages that would be merged, in order:                                                                                                                         
                                                                                                                                                                               
Calculating dependencies... done!                                                                                                                                              
[ebuild     U  ] dev-python/pycodestyle-2.7.0::gentoo [2.6.0::gentoo] USE="-doc" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" 102 KiB                             
[ebuild     U  ] dev-python/pyflakes-2.3.1::gentoo [2.2.0::gentoo] USE="-test" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" 67 KiB                                
[ebuild     U  ] dev-python/autopep8-1.5.6::gentoo [1.5.5::gentoo] USE="-test" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" 119 KiB                               
[ebuild     U  ] dev-python/flake8-3.9.1::gentoo [3.8.4::gentoo] USE="-doc -test" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" 161 KiB                            
                                                                                                                                                                               
Total: 4 packages (4 upgrades), Size of downloads: 448 KiB                                                                                                                     
                                                                                                                                                                               
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/pyflakes:0

  (dev-python/pyflakes-2.2.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" pulled in by
    <dev-python/pyflakes-2.3.0[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_
python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/spyder-5.0.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python
3_7 -python3_9"
    ^                    ^^^^^             


          

  (dev-python/pyflakes-2.3.1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" pulled in by
    >=dev-python/pyflakes-2.3.0[python_targets_pypy3(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),
-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/flake8-3.9.1:0/0::gentoo, ebuild scheduled fo
r merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
    ^^                    ^^^^^            


                                                                                                                

dev-python/pycodestyle:0

  (dev-python/pycodestyle-2.6.0:0/0::gentoo, installed) USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" pulled in by
    <dev-python/pycodestyle-2.7.0[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_targ
et_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/spyder-5.0.3:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -pyt
hon3_7 -python3_9"
    ^                       ^^^^^          


             

  (dev-python/pycodestyle-2.7.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" pulled in by
    >=dev-python/pycodestyle-2.7.0[python_targets_pypy3(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(
-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/flake8-3.9.1:0/0::gentoo, ebuild scheduled
 for merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
    ^^                       ^^^^^         


                                                                                                                   
    (and 1 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
---
Comment 3 Silvio 2021-11-05 13:31:43 UTC
(In reply to Sam James from comment #1)
> That’s not the conclusion I’d make yet. Sounds like it’s masked by
> unsatisfied backtracking.
> 
> Please run:
> 
> emerge -p -uvDU —-backtrack=0

It works if I run:

# emerge -NDv --keep-going --with-bdeps=y --backtrack=30 -q --changed-deps spyder


there is a bit confusion in dependencies?