Control: reopen -1

On Tue, Jul 03, 2018 at 05:21:29AM +0200, Matthias Klose wrote:
> Control: reassign -1 python3.7
> 
> On 30.06.2018 22:58, Adrian Bunk wrote:
> > Package: python3-minimal
> > Version: 3.6.6-1
> > Severity: serious
> > Control: block -1 by 902757 902631 902766 902646 902715 902650
> > Control: block 902582 by -1
> > 
> > Plenty of packages fail to work or even install with Python 3.7
> > for reasons like 'async' now being a keyword.
> > 
> > python3-minimal needs Breaks for against all versions of other
> > packages in stretch or buster that don't work with 3.7.
> 
> if at all, python3.7 needs these breaks, not the dependency packages.

It is actually python3.7-minimal that needs them, and they should be 
moved there:

# apt-get install python3-motor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  python3.7-minimal
Use 'apt autoremove' to remove it.
Suggested packages:
  python3-aiohttp
The following packages will be REMOVED:
  python3-all python3-all-dev python3-coverage python3-hypothesis
  python3-numpy python3.7 python3.7-dev
The following NEW packages will be installed:
  python3-motor
0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded.
Need to get 0 B/45.6 kB of archives.
After this operation, 17.6 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 797869 files and directories currently installed.)
Removing python3-all-dev (3.6.6-1) ...
Removing python3-all (3.6.6-1) ...
Removing python3-hypothesis (3.44.1-2) ...
Removing python3-coverage (4.5.1+dfsg.1-1) ...
Removing python3-numpy (1:1.14.5-1+b1) ...
Removing python3.7-dev (3.7.0-4) ...
Removing python3.7 (3.7.0-4) ...
Selecting previously unselected package python3-motor.
(Reading database ... 797288 files and directories currently installed.)
Preparing to unpack .../python3-motor_1.2.3-1_all.deb ...
Unpacking python3-motor (1.2.3-1) ...
Processing triggers for mime-support (3.61) ...
Processing triggers for desktop-file-utils (0.23-3) ...
Setting up python3-motor (1.2.3-1) ...
  File "/usr/lib/python3/dist-packages/motor/frameworks/asyncio/__init__.py", 
line 32
    from asyncio import async as ensure_future
                            ^
SyntaxError: invalid syntax

dpkg: error processing package python3-motor (--configure):
 installed python3-motor package post-installation script subprocess returned 
error exit status 1
Processing triggers for man-db (2.8.4-2) ...
Errors were encountered while processing:
 python3-motor
E: Sub-process /usr/bin/dpkg returned an error code (1)
# 

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to