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.
The bug has been referenced in the following commit(s):
Author: Pacho Ramos <email@example.com>
AuthorDate: 2019-12-25 16:20:16 +0000
Commit: Pacho Ramos <firstname.lastname@example.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
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Pacho Ramos <email@example.com>
media-libs/opencv/opencv-4.1.2-r3.ebuild | 502 +++++++++++++++++++++++++++++++
1 file changed, 502 insertions(+)
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.
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.
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.