Package: python3-minimal
Version: 3.6.5-4
Severity: important

Dear Maintainer,

I saw this upgrading python3, and py3compile fails because there is
a typo in /usr/share/python3/debian_defaults

The list of supported versions should have had a comma

     4  # all supported python3 versions
     5  supported-versions = python3.6 python3.7

                                      ^^^ missing comma here.

causes this:

cannot read debian_defaults
Traceback (most recent call last):
  File "/usr/share/python3/debpython/version.py", line 60, in <module>
    for i in _supported.split(','))
  File "/usr/share/python3/debpython/version.py", line 60, in <genexpr>
    for i in _supported.split(','))
  File "/usr/share/python3/debpython/version.py", line 59, in <genexpr>
    SUPPORTED = tuple(tuple(int(j) for j in i.strip().split('.'))
ValueError: invalid literal for int() with base 10: '6  3'

-Abhijit

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 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 /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-minimal depends on:
ii  dpkg               1.19.0.5+b1
ii  python3.6-minimal  3.6.5-9

python3-minimal recommends no packages.

python3-minimal suggests no packages.

-- no debconf information

Reply via email to