[Bug 267135] py-ipykernel 6.16.0: fails to run a kernel and py39-qtconsole: 5.1.1_1 now has a conflict

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Oct 2022 00:51:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267135

            Bug ID: 267135
           Summary: py-ipykernel 6.16.0: fails to run a kernel and
                    py39-qtconsole: 5.1.1_1 now has a conflict
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: p5B2EA84B3@t-online.de

After upgrading:

New packages to be INSTALLED:
        py39-debugpy: 1.6.3
        py39-ipykernel: 6.16.0

Installed packages to be UPGRADED:
        py39-jupyter-client: 6.1.12_1 -> 7.4.2
        py39-nbformat: 5.6.1_1 -> 5.6.1_2
        py39-notebook: 6.4.12 -> 6.4.12_2
        py39-pyzmq: 22.3.0_1 -> 24.0.1
        py39-traitlets: 5.1.1 -> 5.4.0_1

starting a Jupyter notebook fails like this:

[I 02:19:57.002 NotebookApp] Jupyter Notebook 6.4.12 is running at:
[I 02:19:57.002 NotebookApp] http://localhost:8888/
[I 02:19:57.003 NotebookApp] Use Control-C to stop this server and shut down
all kernels (twice to skip confirmation).
[I 02:20:03.380 NotebookApp] 302 GET /tree (127.0.0.1) 42.110000ms
[W 02:20:17.797 NotebookApp] 401 POST /login?next=%2Ftree (127.0.0.1)
1366.530000ms referer=None
[I 02:20:24.028 NotebookApp] 302 POST /login?next=%2Ftree (127.0.0.1)
1393.660000ms
[I 02:20:52.679 NotebookApp] Kernel started:
4cf75f33-045e-4f6c-8782-efa5c05da849, name: python3
/usr/local/bin/python3.9: No module named ipykernel_launcher
[I 02:20:55.630 NotebookApp] KernelRestarter: restarting kernel (1/5), new
random ports
/usr/local/bin/python3.9: No module named ipykernel_launcher
[I 02:20:58.850 NotebookApp] KernelRestarter: restarting kernel (2/5), new
random ports
/usr/local/bin/python3.9: No module named ipykernel_launcher
[I 02:21:02.110 NotebookApp] KernelRestarter: restarting kernel (3/5), new
random ports
/usr/local/bin/python3.9: No module named ipykernel_launcher
[I 02:21:05.172 NotebookApp] KernelRestarter: restarting kernel (4/5), new
random ports
/usr/local/bin/python3.9: No module named ipykernel_launcher
[I 02:21:08.244 NotebookApp] KernelRestarter: restarting kernel (5/5), new
random ports
/usr/local/bin/python3.9: No module named ipykernel_launcher
[W 02:21:11.322 NotebookApp] KernelRestarter: restart failed
[W 02:21:11.322 NotebookApp] Kernel 4cf75f33-045e-4f6c-8782-efa5c05da849 died,
removing from map.
[W 02:21:14.685 NotebookApp] Replacing stale connection:
4cf75f33-045e-4f6c-8782-efa5c05da849:4a7aa81cfa5c405e8282700414ddb4db
[W 02:21:36.772 NotebookApp] Replacing stale connection:
4cf75f33-045e-4f6c-8782-efa5c05da849:4a7aa81cfa5c405e8282700414ddb4db
[W 02:21:53.624 NotebookApp] Timeout waiting for kernel_info reply from
4cf75f33-045e-4f6c-8782-efa5c05da849
[E 02:21:53.628 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel
does not exist: 4cf75f33-045e-4f6c-8782-efa5c05da849)
[W 02:21:53.655 NotebookApp] 404 GET
/api/kernels/4cf75f33-045e-4f6c-8782-efa5c05da849/channels?session_id=4a7aa81cfa5c405e8282700414ddb4db
(127.0.0.1): Kernel does not exist: 4cf75f33-045e-4f6c-8782-efa5c05da849

Trying to install py39-qtconsole: 5.1.1_1


# pkg install py39-qtconsole-5.1.1_1
Updating local repository catalogue...
local repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        py39-ipykernel5: 5.5.6
        py39-qtconsole: 5.1.1_1

Number of packages to be installed: 2

The process will require 2 MiB more space.
169 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching py39-ipykernel5-5.5.6.pkg: 100%  169 KiB 173.4kB/s    00:01    
Checking integrity... done (1 conflicting)
  - py39-ipykernel5-5.5.6 conflicts with py39-ipykernel-6.16.0 on
/usr/local/lib/python3.9/site-packages/ipykernel/__init__.py
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 6 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        py39-ipykernel: 6.16.0
        py39-jupyterlab_launcher: 0.13.1_3
        py39-notebook: 6.4.12_2
        py39-widgetsnbextension: 3.5.1_2

New packages to be INSTALLED:
        py39-ipykernel5: 5.5.6
        py39-qtconsole: 5.1.1_1

Number of packages to be removed: 4
Number of packages to be installed: 2

The operation will free 44 MiB.

Proceed with this action? [y/N]:

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