Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2022 06:17:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 266836] www/py-notebook uses obsolete version of devel/py-ipykernel
Message-ID:  <bug-266836-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266836

            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=20
${PYTHON_PKGNAMEPREFIX}notebook>=3D0<7:www/py-notebook@${PY_FLAVOR}
and
${PYTHON_PKGNAMEPREFIX}nbclassic>=3D0:devel/py-nbclassic@${PY_FLAVOR}
as dependencies

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

while
devel/py-nbclassic uses
${PYTHON_PKGNAMEPREFIX}ipykernel>=3D0: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-ipykern=
el
for www/py-notebook

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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266836-21822>