Your message dated Mon, 26 Mar 2018 14:43:01 +0200
with message-id
<caoonqaecazqf_r3wt27nnaz78_xawvcsameuzrwgoftr_+d...@mail.gmail.com>
and subject line Fixed with new version of pymongo
has caused the Debian Bug report #892162,
regarding python3-motor: Fails to import
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.)
--
892162: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892162
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-motor
Version: 1.2.1-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
I had just started the tutorial for this module
http://motor.readthedocs.io/en/stable/tutorial-asyncio.html
and started with the initial import:
import motor.motor_asyncio
which fails.
In [2]: import motor.motor_asyncio
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-0f5fca46d7de> in <module>()
----> 1 import motor.motor_asyncio
/usr/lib/python3/dist-packages/motor/motor_asyncio.py in <module>()
15 """Asyncio support for Motor, an asynchronous driver for MongoDB."""
16
---> 17 from . import core, motor_gridfs
18 from .frameworks import asyncio as asyncio_framework
19 from .metaprogramming import create_class_with_framework
/usr/lib/python3/dist-packages/motor/core.py in <module>()
32 from pymongo.bulk import BulkOperationBuilder
33 from pymongo.database import Database
---> 34 from pymongo.change_stream import ChangeStream
35 from pymongo.collection import Collection
36 from pymongo.cursor import Cursor, _QUERY_OPTIONS
ModuleNotFoundError: No module named 'pymongo.change_stream'
So as it is, this module is completely useless.
I suppose it depends on a different version of pymongo than
what is currently in the archiveā¦
Best.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to it_IT.UTF-8), LANGUAGE=it (charmap=UTF-8) (ignored: LC_ALL set to
it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-motor depends on:
ii python3 3.6.4-1
ii python3-gridfs 3.5.1+dfsg1-1
ii python3-pymongo 3.5.1+dfsg1-1
python3-motor recommends no packages.
Versions of packages python3-motor suggests:
ii python3-aiohttp 3.0.1-1
pn python3-tornado <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
[2018-03-20] pymongo 3.6.1+dfsg1-1 MIGRATED to testing (Britney)
This fixed the issue.
However, it is not proper behaviour to upload a package that depends
on a library version that is newer than what is available.
It should have at least been tested. It was very easy to spot since it
failed directly on the import.
In the future, please make sure that things work, before uploading
them to the archive.
Best
--
Salvo Tomaselli
"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei
http://ltworf.github.io/ltworf/
--- End Message ---