Your message dated Wed, 30 Nov 2022 18:10:05 +0000 with message-id <[email protected]> and subject line Bug#938168: Removed package(s) from unstable has caused the Debian Bug report #463840, regarding python-setuptools: setup.py crashes when there is a syntax error 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 [email protected] immediately.) -- 463840: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463840 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-setuptools Version: 0.6c7-1 Severity: normal I have a python2.5 program that uses "with". If I accidentally try installing this with setuptools, I get the following crash. Note the SyntaxError reported about 22 lines down: that's python2.4 reporting the "with" statement. If I install with python2.5, it all works correctly. Possibly, this means that setuptools cannot handle syntax errors? $ python foo.py install --prefix=/usr/local running install Checking .pth file support in /usr/local/lib/python2.4/site-packages/ /usr/bin/python -E -c pass TEST PASSED: /usr/local/lib/python2.4/site-packages/ appears to support .pth files running bdist_egg running egg_info writing autosegment.egg-info/PKG-INFO writing top-level names to autosegment.egg-info/top_level.txt writing dependency_links to autosegment.egg-info/dependency_links.txt reading manifest file 'autosegment.egg-info/SOURCES.txt' writing manifest file 'autosegment.egg-info/SOURCES.txt' installing library code to build/bdist.linux-i686/egg running install_lib running build_py creating build/bdist.linux-i686/egg creating build/bdist.linux-i686/egg/autosegment copying build/lib/autosegment/stepperserver.py -> build/bdist.linux-i686/egg/autosegment copying build/lib/autosegment/stepperclient.py -> build/bdist.linux-i686/egg/autosegment copying build/lib/autosegment/__init__.py -> build/bdist.linux-i686/egg/autosegment byte-compiling build/bdist.linux-i686/egg/autosegment/stepperserver.py to stepperserver.pyc byte-compiling build/bdist.linux-i686/egg/autosegment/stepperclient.py to stepperclient.pyc SyntaxError: ('future feature with_statement is not defined',) byte-compiling build/bdist.linux-i686/egg/autosegment/__init__.py to __init__.pyc creating build/bdist.linux-i686/egg/EGG-INFO copying autosegment.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO copying autosegment.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO copying autosegment.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO copying autosegment.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/autosegment-0.10-py2.4.egg' and adding 'build/bdist.linux-i686/egg' to it removing 'build/bdist.linux-i686/egg' (and everything under it) Processing autosegment-0.10-py2.4.egg Removing /usr/local/lib/python2.4/site-packages/autosegment-0.10-py2.4.egg Copying autosegment-0.10-py2.4.egg to /usr/local/lib/python2.4/site-packages autosegment 0.10 is already the active version in easy-install.pth Installed /usr/local/lib/python2.4/site-packages/autosegment-0.10-py2.4.egg Processing dependencies for autosegment==0.10 Traceback (most recent call last): File "foo.py", line 22, in ? dependency_links = [ File "/usr/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 76, in run self.do_egg_install() File "/usr/lib/python2.4/site-packages/setuptools/command/install.py", line 100, in do_egg_install cmd.run() File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 211, in run self.easy_install(spec, not self.no_deps) File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 427, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 473, in install_item self.process_distribution(spec, dist, deps) File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 518, in process_distribution distros = WorkingSet([]).resolve( File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 529, in resolve requirements.extend(dist.requires(req.extras)[::-1]) File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2107, in requires dm = self._dep_map File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2099, in _dep_map for extra,reqs in split_sections(self._get_metadata(name)): File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2518, in split_sections for line in yield_lines(s): File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1813, in yield_lines for ss in strs: File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2121, in _get_metadata for line in self.get_metadata_lines(name): File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1140, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1137, in get_metadata return self._get(self._fn(self.egg_info,name)) File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1195, in _get return self.loader.get_data(path) zipimport.ZipImportError: bad local file header in /usr/local/lib/python2.4/site-packages/autosegment-0.10-py2.4.egg $ Here's the setup.py file: $ cat foo.py #!python # from setuptools import setup, Extension from ez_setup import use_setuptools use_setuptools() from distutils.core import setup, Extension setup(name = "autosegment", version = "0.10", description = "Semi-automatically segment speech with a GUI", author = "Greg Kochanski", packages = ["autosegment"], package_dir = {'autosegment': 'lib'}, install_requires = [ # 'numpy >= 1.0.1', # 'gmisclib >= 1.0' ], extras_require = { # 'TK': 'something > something' }, dependency_links = [ ], ) $ -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages python-setuptools depends on: ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.15-0.1 register and build utility for Pyt python-setuptools recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 44.1.1-1.2+rm Dear submitter, as the package python-setuptools has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/938168 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---

