Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #998470 > unrolled thread
| Started by | Ron Lovell <ron163264@gmail.com> |
|---|---|
| First post | 2020-03-05 07:00 +0100 |
| Last post | 2020-03-07 06:50 +0100 |
| Articles | 8 — 3 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#953139: python3-jupyter-core: Sid python3-jupyter-core 4.6.3-2 Needs python3-distutils Ron Lovell <ron163264@gmail.com> - 2020-03-05 07:00 +0100
Bug#953139: BUG #953139 Correction Ron Lovell <ron163264@gmail.com> - 2020-03-05 07:10 +0100
Bug#953139: BUG #953139 Update after python 3.8 default Ron Lovell <ron163264@gmail.com> - 2020-03-05 16:50 +0100
Bug#953139: BUG #953139 Update after python 3.8 default Sandro Tosi <morph@debian.org> - 2020-03-06 03:00 +0100
Bug#953139: BUG #953139 Reply to Msg #20 Ron Lovell <ron163264@gmail.com> - 2020-03-06 14:40 +0100
Bug#953139: BUG #953139 Info on other distros Ron Lovell <ron163264@gmail.com> - 2020-03-06 16:10 +0100
Bug#953139: [Python-modules-team] Bug#953139: BUG #953139 Info on other distros Scott Kitterman <debian@kitterman.com> - 2020-03-06 16:40 +0100
Bug#953139: Bug #953139 confirmation of fix Ron Lovell <ron163264@gmail.com> - 2020-03-07 06:50 +0100
| From | Ron Lovell <ron163264@gmail.com> |
|---|---|
| Date | 2020-03-05 07:00 +0100 |
| Subject | Bug#953139: python3-jupyter-core: Sid python3-jupyter-core 4.6.3-2 Needs python3-distutils |
| Message-ID | <zGRI5-6wo-1@gated-at.bofh.it> |
Package: python3-jupyter-core
Version: 4.6.3-2
Severity: important
After recent updates to the jupyter packages and for the Python
3.8 tranision in Sid, I decided to give qtconsole a spin just to
see how it's working. It's not able to load:
$ jupyter qtconsole
Traceback (most recent call last):
File "/usr/bin/jupyter", line 11, in <module>
load_entry_point('jupyter-core==4.6.3', 'console_scripts', 'jupyter')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
...
File "/usr/lib/python3/dist-packages/jupyter_core/command.py", line 25, in <module>
from . import paths
File "/usr/lib/python3/dist-packages/jupyter_core/paths.py", line 21, in <module>
from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils.util'
I was able to resolve this by installing python3-distutils, which
installs both Python 3.7 and 3.8 versions of distutils.util.
The latest /usr/lib/python3/dist-packages/jupyter_core/paths.py
module from Debian package python3-jupyter-core does import from
distutils.util. The python3-jupyter-core 4.4.0-2 installed on my
Buster host does not.
Should python3-jupyter-core now depend on package python3-distutils?
CAVEATS: The Python 3.8 transition is still a work-in-progress
on my Sid host, as I expect it is on other users'. Upgrades of
python3 libpython3-stdlib python3-minimal from 3.7.5-3 -> 3.8.2-1
are blocked because python3-talloc requires python3 (< 3.8), and
python3-talloc is (ultimately) required by gnome-control-center
via GVFS/Samba dependencies.
Also, I DO NOT have python3-all installed, which would bring in
python3-distutils. Should I have python3 installed?
My sincere apologies if I've jumped the gun and this issue would
have worked itself out as the 3.8 transition progresses. But this
could affect other qtconsole users, so I thought I should report it.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-jupyter-core depends on:
hi python3 3.7.5-3
ii python3-traitlets 4.3.3-2
python3-jupyter-core recommends no packages.
Versions of packages python3-jupyter-core suggests:
pn python3-pip <none>
-- no debconf information
[toc] | [next] | [standalone]
| From | Ron Lovell <ron163264@gmail.com> |
|---|---|
| Date | 2020-03-05 07:10 +0100 |
| Subject | Bug#953139: BUG #953139 Correction |
| Message-ID | <zGRRM-6PY-5@gated-at.bofh.it> |
| In reply to | #998470 |
[Multipart message — attachments visible in raw view] — view raw
> Should I have python3 installed? Meant: Should I have python3-all installed? -- James Ronald Lovell <ron163264@gmail.com> Huntsville, AL, USA
[toc] | [prev] | [next] | [standalone]
| From | Ron Lovell <ron163264@gmail.com> |
|---|---|
| Date | 2020-03-05 16:50 +0100 |
| Subject | Bug#953139: BUG #953139 Update after python 3.8 default |
| Message-ID | <zH0V4-3VP-7@gated-at.bofh.it> |
| In reply to | #998470 |
[Multipart message — attachments visible in raw view] — view raw
With the latest python3-talloc update, the upgrade to python3 3.8.2 completed on my Sid host. I temporarily removed python3-distutils to verify the situation has not changed: "juypter qtconsole" still requires python3-distutils, and nothing brought it in as a dependency. -- James Ronald Lovell <ron163264@gmail.com> Huntsville, AL, USA
[toc] | [prev] | [next] | [standalone]
| From | Sandro Tosi <morph@debian.org> |
|---|---|
| Date | 2020-03-06 03:00 +0100 |
| Subject | Bug#953139: BUG #953139 Update after python 3.8 default |
| Message-ID | <zHarn-1m4-1@gated-at.bofh.it> |
| In reply to | #998470 |
On Thu, 5 Mar 2020 09:44:07 -0600 Ron Lovell <ron163264@gmail.com> wrote: > With the latest python3-talloc update, the upgrade to python3 3.8.2 > completed on my Sid host. I temporarily removed python3-distutils to verify > the situation has not changed: "juypter qtconsole" still requires > python3-distutils, and nothing brought it in as a dependency. that's weird, as python3-jupyter-core both in buster and testing dont depend on python3-distutils so i'm wondering if something else broke in the meantime that doesnt let you run jupyter qtconsole now
[toc] | [prev] | [next] | [standalone]
| From | Ron Lovell <ron163264@gmail.com> |
|---|---|
| Date | 2020-03-06 14:40 +0100 |
| Subject | Bug#953139: BUG #953139 Reply to Msg #20 |
| Message-ID | <zHlmN-8ot-3@gated-at.bofh.it> |
| In reply to | #998470 |
[Multipart message — attachments visible in raw view] — view raw
Probably "what's different" is just that I decided to test qtconsole on by Sid guest VM. I would normally run qtconsole on my host Buster system, where jupyter_core/paths.py does not import from distutils.util, and besides python3-distutils is already installed since it's needed by other things I have installed like python3-pip and python3-dev. I doubt that I ever removed python3-distutils on Sid, it's just that I never installed anything that explicitly deps on it. Still, jupyter_core/paths.py in 4.6.3 does have a runtime dependency on distutils.util, so I would recommend having python3-jupyter-core depend on python3-distutils just in case the latter hasn't been brought in by another dependency. -- James Ronald Lovell <ron163264@gmail.com> Huntsville, AL, USA
[toc] | [prev] | [next] | [standalone]
| From | Ron Lovell <ron163264@gmail.com> |
|---|---|
| Date | 2020-03-06 16:10 +0100 |
| Subject | Bug#953139: BUG #953139 Info on other distros |
| Message-ID | <zHmLU-VU-5@gated-at.bofh.it> |
| In reply to | #998470 |
[Multipart message — attachments visible in raw view] — view raw
I checked a couple of other distros I run. In Arch Linux distutils/util.py is provided by the base "python" pkg. In openSUSE Tumbleweed it is provided by python3-base. So among my installations, Debian Buster and Sid are the odd ducks in that they require an optional pkg installation to provide distutils/util.py. -- James Ronald Lovell <ron163264@gmail.com> Huntsville, AL, USA
[toc] | [prev] | [next] | [standalone]
| From | Scott Kitterman <debian@kitterman.com> |
|---|---|
| Date | 2020-03-06 16:40 +0100 |
| Subject | Bug#953139: [Python-modules-team] Bug#953139: BUG #953139 Info on other distros |
| Message-ID | <zHneV-15i-7@gated-at.bofh.it> |
| In reply to | #998670 |
On March 6, 2020 3:05:17 PM UTC, Ron Lovell <ron163264@gmail.com> wrote: >I checked a couple of other distros I run. In Arch Linux >distutils/util.py >is provided by the base "python" pkg. In openSUSE Tumbleweed it is >provided >by python3-base. So among my installations, Debian Buster and Sid are >the >odd ducks in that they require an optional pkg installation to provide >distutils/util.py. It was part of libpython*-stdlib before Buster, so it's not surprising some packages may not have updated their depends to explicitly specify the new package. Scott K
[toc] | [prev] | [next] | [standalone]
| From | Ron Lovell <ron163264@gmail.com> |
|---|---|
| Date | 2020-03-07 06:50 +0100 |
| Subject | Bug#953139: Bug #953139 confirmation of fix |
| Message-ID | <zHAvv-MS-3@gated-at.bofh.it> |
| In reply to | #998470 |
[Multipart message — attachments visible in raw view] — view raw
Update 4.6.3-3 adds a depends for python3-distutils. Thank for the quick fix! -- James Ronald Lovell <ron163264@gmail.com> Huntsville, AL, USA
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web