Your message dated Fri, 03 Mar 2023 13:48:59 +0000
with message-id <e1py5mn-008bga...@fasolo.debian.org>
and subject line Bug#1031763: fixed in python-motor 2.3.0-3
has caused the Debian Bug report #1031763,
regarding python3-motor asyncio broken with python3.11
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1031763: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031763
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-motor
Version: 2.3.0-2
Severity: important
X-Debbugs-Cc: thomas.celler...@appgate.com
Dear Maintainer,
Since bookworm was switched to python3.11 from python3.10 the
python3-motor package breaks when trying to use asyncio.
This is very easy to reproduce:
$ python3
Python 3.11.2 (main, Feb 12 2023, 00:48:52) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import motor.motor_asyncio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/motor/motor_asyncio.py", line 18, in
<module>
from .frameworks import asyncio as asyncio_framework
File
"/usr/lib/python3/dist-packages/motor/frameworks/asyncio/__init__.py", line 28,
in <module>
from asyncio import coroutine # For framework interface.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'coroutine' from 'asyncio'
(/usr/lib/python3.11/asyncio/__init__.py)
This makes the package unusable when using asyncio on bookworm.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.19.0-32-generic (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages python3-motor depends on:
ii python3 3.11.1-3
ii python3-gridfs 3.11.0-1
ii python3-pymongo 3.11.0-1+b5
python3-motor recommends no packages.
Versions of packages python3-motor suggests:
pn python3-aiohttp <none>
pn python3-tornado <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-motor
Source-Version: 2.3.0-3
Done: Étienne Mollier <emoll...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-motor, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1031...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <emoll...@debian.org> (supplier of updated python-motor package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 03 Mar 2023 14:29:00 +0100
Source: python-motor
Architecture: source
Version: 2.3.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Étienne Mollier <emoll...@debian.org>
Closes: 1031763
Changes:
python-motor (2.3.0-3) unstable; urgency=medium
.
* Team upload.
.
[ Debian Janitor ]
* Update standards version to 4.6.2, no changes needed.
.
[ Étienne Mollier ]
* python-3.11.patch: add patch from upstream.
This fixes an import error of motor.motor_asyncio.
Thanks to Andrey Rakhmatullin for the hint! (Closes: #1031763)
Checksums-Sha1:
a4805031e56e3ffeefa9b565d1559e3bba1d895d 2302 python-motor_2.3.0-3.dsc
3e4e2cbb012f3e304de4df9d5340871c8be861c9 14872
python-motor_2.3.0-3.debian.tar.xz
Checksums-Sha256:
e1911c9b3e4dfbc422caa8c089c79371f12c8c4f2777581bdb3eb6fcc65308a1 2302
python-motor_2.3.0-3.dsc
ef25c202fa2bd496134669b6f20f5759f0f5447232fd252c8aac67d8742932ab 14872
python-motor_2.3.0-3.debian.tar.xz
Files:
fab3436d228df7c1a8991d0531201f4e 2302 python optional python-motor_2.3.0-3.dsc
bc9136b65dacd6ace69288e2e1140521 14872 python optional
python-motor_2.3.0-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmQB9uwUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpRHBAAgYC6OuRcdld3TiHS2F6PHkJ9d8t8
IfkENeKLHcVp8Jzc3J75eVfsBCEHpmOdR5J3Y8cElQ4ROTOscWPJ4hOkrss3aaj+
89qLjysryWoYLLn45IuyAY4Z+ZRyeiQfGg2yaZcCxEq1dGAaABcOcCaZNYkP534w
XbdSz+DVGcokPM9x7pKSWelfF5CTtiEYkG2lFVvvIgHtnUG2Q/hezzoeheQoe76C
EPrD6H39OO4oac504uVX1GtrJC6gdKy1YjLZpcKnWP5u0IM9ZOnYCMd1r852N8eE
LgmqhBU1IbihrNcXqShylYxPUVKuIAHXZXwC70q2m2gj3h1rwlMX4p6807qebj1Z
0YqLTeRsr+p68Y/DJIwN5bHoLmQQqimmrx/rp+b0YqcFK/eERgh8vCisUqd1T+GG
R3BU6ackNn0he3WWU55q98I9tIYfzmrVrbOWZqVBExxbxf2GDKul9hGyIEvP5LSe
UsGkFdEVcjLWjmqdBqITpukeYMXQa1TiiSqIHTSoJcr5E99uO1J64G+Bz+xQjNHe
o41dsu3CljvxCdhkCsPhgUd2zr0JzhFo/tUstMs55d9O+mlpMl6YjHj3CWM9LTpK
RlOslPEbfqhrHMr59Q9t0ytt2Ck4LkxTHQ9PzbImZlKJbnkag9g4sRc++yyo/ir3
sanZvTlTBR9N1Qk=
=9jyF
-----END PGP SIGNATURE-----
--- End Message ---