Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705556 - dev-python/matplotlib-2.2.4 : add support for dev-python/numpy-python2
Summary: dev-python/matplotlib-2.2.4 : add support for dev-python/numpy-python2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-16 13:51 UTC by Kobboi
Modified: 2020-01-26 08:48 UTC (History)
4 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 Kobboi 2020-01-16 13:51:03 UTC
[ebuild  N     ] dev-python/numpy-python2-1.16.5::gentoo  USE="-doc -lapack -test" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     U  ] dev-python/numpy-1.17.4-r1::gentoo [1.16.5::gentoo] USE="lapack -doc -test" PYTHON_TARGETS="python3_6 -python3_7 -python3_8% (-python2_7%*)" 6,218 KiB
[ebuild  N     ] dev-python/pygtk-2.24.0-r4:2::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python2_7" 2,306 KiB
[blocks B      ] <dev-python/numpy-1.17 ("<dev-python/numpy-1.17" is blocking dev-python/numpy-python2-1.16.5)

Total: 3 packages (1 upgrade, 2 new), Size of downloads: 8,524 KiB
Conflict: 1 block (1 unsatisfied)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/numpy:0

  (dev-python/numpy-1.17.4-r1:0/0::gentoo, ebuild scheduled for merge) USE="lapack -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_6 -python3_7 -python3_8" pulled in by
    dev-python/numpy (Argument)

  (dev-python/numpy-1.16.5:0/0::gentoo, installed) USE="lapack -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 -python3_7" pulled in by
    >=dev-python/numpy-1.7.1[python_targets_python2_7(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)] required by (dev-python/matplotlib-2.2.4:0/0::gentoo, installed) USE="cairo gtk3 qt5 wxwidgets (-doc) -examples -excel -gtk2 -latex -test -tk" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 -python3_7"

Other packages seem to have had their numpy dependency replaced by an "numpy || numpy-python2" construct. This one did not. Not sure if there is a technical reason for this, in which I would be happy to learn.


Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-17 09:41:12 UTC
'Other packages' don't support python3.  matplotlib does both py2 & py3, so it's not eligible.
Comment 2 Kobboi 2020-01-17 22:23:22 UTC
Sorry, too stupid to understand. I have no idea how to get out of this situation and would like to see my daily updates working again, so I'm just masking >=dev-python/numpy-1.17 for now and will wait until someday I don't need to be an Gentoo Python expert for this update to work flawlessly.
Comment 3 Kobboi 2020-01-17 22:50:52 UTC
Decided to stop using media-video/pitivi instead, which was my only use for matplotlib.
Comment 4 Dennis Schridde 2020-01-18 13:30:53 UTC
(In reply to Michał Górny from comment #1)
> 'Other packages' don't support python3.  matplotlib does both py2 & py3, so
> it's not eligible.

It appears that matplotlib is blocking the numpy-1.17 update.  Can you please explain why that happens, if it is not a python2/3 issue?
Comment 5 Benda Xu gentoo-dev 2020-01-26 08:48:05 UTC
matplotlib-3.1.2 is in tree as a Python 3 only release.  Please give that a try.