[Python-modules-team] Bug#739476: ImportError: cannot import name ScopedSession

Nils Dagsson Moskopp nils+debian-reportbug at dieweltistgarnichtso.net
Thu Feb 20 17:52:48 UTC 2014


Package: python-elixir
Version: 0.7.1-1
Followup-For: Bug #739476

Please do not remove python-elixir, I am using it in real-world code!

I have not discovered this bug earlier because it is triggered by
python-sqlalchemy 0.8+, which changed the name of “ScopedSession” to
“scoped_session”. The version of python-sqlalchemy in wheezy is 0.7.8.

To fix the bug, in line 18 of /usr/share/pyshared/elixir/entity.py,
replace “ScopedSession” with “scoped_session as ScopedSession”.
<http://stackoverflow.com/questions/14201210/impossible-to-initialize-elixir#answer-17915596>

python-elixir versions not having the patch should depend on
python-sqlachemy before 0.8.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.11-2-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-elixir depends on:
ii  python             2.7.5-5
ii  python-sqlalchemy  0.8.4-1
ii  python-support     1.0.15

Versions of packages python-elixir recommends:
ii  python-crypto  2.6.1-2

python-elixir suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list