Package: python-bson-ext
Version: 2.2-4+deb7u1
Severity: important

If you manage to install python-bson-ext and python-bson of different
versions (like I did), you may end up with weird connections bugs like below:

seoul# python                                                        
Python 2.7.3 (default, Jan  2 2013, 13:56:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymongo
>>> pymongo.connection.Connection()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/pymongo/connection.py", line 220, in 
__init__
    max_pool_size, document_class, tz_aware, _connect, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pymongo/mongo_client.py", line 337, in 
__init__
    raise ConnectionFailure(str(e))
pymongo.errors.ConnectionFailure: function takes at most 3 arguments (4 given)

This is obviously caused by the fact that python-bson-ext depends on
"python-pymongo" rather than on "python-pymongo (= ${SAME_VERSION})", and
should be fixed accordingly.

But this is not the only place that may cause issues in the future. I
haven't spotted any problems myself, but python-pymongo-ext also depends on
unversioned "python-pymongo", and I wouldn't risk to install
python-pymongo-ext and python-pymongo with different versions. 
It seems like python-pymongo-ext needs the similar fix.


Thank you in advance for your assistance.


-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing'), (500, 
'stable'), (480, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/24 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-bson-ext depends on:
ii  libc6        2.17-6
ii  python       2.7.3-4
ii  python-bson  2.5.2-1

python-bson-ext recommends no packages.

python-bson-ext suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to