[Bug 266836] www/py-notebook uses obsolete version of devel/py-ipykernel

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Oct 2022 06:17:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266836

            Bug ID: 266836
           Summary: www/py-notebook uses obsolete version of
                    devel/py-ipykernel
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sgs@pichove.org
                CC: python@FreeBSD.org, sunpoet@FreeBSD.org
                CC: python@FreeBSD.org, sunpoet@FreeBSD.org

When building devel/py-jupyterlab the following problem occurs:

Since devel/py-jupyterlab has both 
${PYTHON_PKGNAMEPREFIX}notebook>=0<7:www/py-notebook@${PY_FLAVOR}
and
${PYTHON_PKGNAMEPREFIX}nbclassic>=0:devel/py-nbclassic@${PY_FLAVOR}
as dependencies

and at the same time
www/py-notebook uses
${PYTHON_PKGNAMEPREFIX}ipykernel5>=0:devel/py-ipykernel5@${PY_FLAVOR}

while
devel/py-nbclassic uses
${PYTHON_PKGNAMEPREFIX}ipykernel>=0:devel/py-ipykernel@${PY_FLAVOR}

The following problem occurs when building devel/py-jupyterlab

Installing py310-ipykernel5-5.5.6...
pkg-static: py310-ipykernel5-5.5.6 conflicts with py310-ipykernel-6.16.0
(installs files into the same place).  Problematic file:
/usr/local/lib/python3.10/site-packages/ipykernel/__init__.py
*** Error code 1


The simplest solution (that works for me) seems to be to upgrade py-ipykernel
for www/py-notebook

-              
${PYTHON_PKGNAMEPREFIX}ipykernel5>=0:devel/py-ipykernel5@${PY_FLAVOR} \
+              
${PYTHON_PKGNAMEPREFIX}ipykernel>=0:devel/py-ipykernel@${PY_FLAVOR} \

-- 
You are receiving this mail because:
You are the assignee for the bug.