Package: python2.7 Version: 2.7.3-2 Severity: serious The following change in 2.7.3-2 break python2.7-dbg 2.7.3-1 and earlier versions:
python2.7 (2.7.3-2) unstable; urgency=low ... * Backport issue #13150: sysconfig no longer parses the Makefile and config.h files when imported, instead doing it at build time. This makes importing sysconfig faster and reduces Python startup time by 20%. ... python2.7-dbg doesn't have _sysconfigdata_d so running python2.7-dbg fails with: Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 562, in <module> main() File "/usr/lib/python2.7/site.py", line 544, in main known_paths = addusersitepackages(known_paths) File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages user_site = getusersitepackages() File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/usr/lib/python2.7/site.py", line 236, in getuserbase USER_BASE = get_config_var('userbase') File "/usr/lib/python2.7/sysconfig.py", line 591, in get_config_var return get_config_vars().get(name) File "/usr/lib/python2.7/sysconfig.py", line 490, in get_config_vars _init_posix(_CONFIG_VARS) File "/usr/lib/python2.7/sysconfig.py", line 374, in _init_posix from _sysconfigdata import build_time_vars File "/usr/lib/python2.7/_sysconfigdata.py", line 4, in <module> from _sysconfigdata_d import * ImportError: No module named _sysconfigdata_d Since python2.7-dbg 2.7.3-1 depends on python2.7 (>= 2.7.3-1), python2.7 should have a Breaks on python2.7-dbg (<< 2.7.3-2) so that python2.7-dbg isn't rendered unusable by upgrading python2.7 without upgrading python2.7-dbg to a version >= 2.7.3-2. It might be also a good idea to change python2.7-dbg's dependency on python2.7 to (= ${binary:Version}) as it's already done in experimental. (I've observed this issue because of the build failure of python-crypto 2.6-4 on the ia64 buildd which has python2.7 2.7.3-5 and python2.7-dbg 2.7.3-1 installed [1]) Regards [1] https://buildd.debian.org/status/fetch.php?pkg=python-crypto&arch=ia64&ver=2.6-4&stamp=1361116491 -- Sebastian Ramacher
signature.asc
Description: Digital signature