Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703760 - media-libs/opencv pulls dev-python/numpy-python2
Summary: media-libs/opencv pulls dev-python/numpy-python2
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 703756
  Show dependency tree
 
Reported: 2019-12-25 16:17 UTC by Pacho Ramos
Modified: 2020-05-21 07:57 UTC (History)
5 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 Pacho Ramos gentoo-dev 2019-12-25 16:17:24 UTC
While working on pygame reverse deps to make them python3 only, I hit some packages, like moviepy, that require opencv, even if moviepy will be python3 only package, we need to temporally allow opencv to have numpy-python2 support until we port all openvc reverse deps to python3 only.
Comment 1 Larry the Git Cow gentoo-dev 2019-12-25 16:57:31 UTC
The bug has been referenced in the following commit(s):

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

commit 2dbf3b3c61635735ec32d0f47d45003968a277e5
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-12-25 16:20:16 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-12-25 16:57:15 +0000

    media-libs/opencv: Needs python_optimize, add python 3.8 support
    
    Also needs to support numpy-python2 until reverse deps are handled
    
    Bug: https://bugs.gentoo.org/703760
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 media-libs/opencv/opencv-4.1.2-r3.ebuild | 502 +++++++++++++++++++++++++++++++
 1 file changed, 502 insertions(+)
Comment 2 Dennis Schridde 2020-01-18 13:18:51 UTC
On my system the issue seems to be that opencv *does not* depend on numpy-python2, but on numpy instead, which no longer supports python2 in current versions, so I run into a blocker that portage cannot resolve on its own.
Comment 3 Andreas Sturmlechner gentoo-dev 2020-01-18 18:13:00 UTC
That's because that commit was reverted.

> commit 9658bbc6ca13834811125bcbd477033d09ab27c8
> Date:   Thu Dec 26 15:42:19 2019 +0100
> 
> media-libs/opencv: [QA] Revert "Needs python_optimize, add python 3.8 support"
> 
> * We need to bifurcate the py2/py3 depgraph of numpy atomically,
>   in order to avoid misleading and weird blocker warnings.
> 
> This reverts commit 2dbf3b3c61635735ec32d0f47d45003968a277e5.
Comment 4 Dennis Schridde 2020-03-03 06:22:22 UTC
Has this been fixed? I just updated my system without >=numpy-1.17 and numpy-python2 being package.mask-ed, and found no more blockers.