[Twisted-Python] Re: [Twisted-bugs] Syntax error when upgrading Debian Python 2.4
trac@twistedmatrix.com wrote:
New submission from LonelyPixel <nospam@unclassified.de>:
I have installed twisted 2.4 for Debian Python 2.4 and after a recent apt-get upgrade, when Python 2.4 was to be upgraded, I get this error:
Setting up python2.4 (2.4.1-2sarge1) ... Compiling python modules in /usr/lib/python2.4 ... Compiling /usr/lib/python2.4/site-packages/twisted/test/stdio_test_halfclose.py ... File "/usr/lib/python2.4/site-packages/twisted/test/stdio_test_halfclose.py", line 20 ??? ^ SyntaxError: invalid syntax
I'm amazed that this error is still there -- I saw it *months* ago! Sure makes Twisted look bad. Steve
On Mon, Nov 13, 2006 at 09:01:58AM -0500, Stephen Waterbury wrote:
trac@twistedmatrix.com wrote:
New submission from LonelyPixel <nospam@unclassified.de>:
I have installed twisted 2.4 for Debian Python 2.4 and after a recent apt-get upgrade, when Python 2.4 was to be upgraded, I get this error:
Setting up python2.4 (2.4.1-2sarge1) ... Compiling python modules in /usr/lib/python2.4 ... Compiling /usr/lib/python2.4/site-packages/twisted/test/stdio_test_halfclose.py ... File "/usr/lib/python2.4/site-packages/twisted/test/stdio_test_halfclose.py", line 20 ??? ^ SyntaxError: invalid syntax
I'm amazed that this error is still there -- I saw it *months* ago! Sure makes Twisted look bad.
Yes, it is there in 2.4, and yes it has been fixed for ages in trunk. We just haven't done a new release. Also, the debian package maintainers could easily fix this, but apparently choose not to. Other packagers (among which FreeBSD) have no troubles at all. -- Groetjes, ralphm
Ralph Meijer wrote:
"/usr/lib/python2.4/site-packages/twisted/test/stdio_test_halfclose.py", line 20 ??? ^ SyntaxError: invalid syntax I'm amazed that this error is still there -- I saw it *months* ago! Sure makes Twisted look bad.
Yes, it is there in 2.4, and yes it has been fixed for ages in trunk. We just haven't done a new release. Also, the debian package maintainers could easily fix this, but apparently choose not to. Other packagers (among which FreeBSD) have no troubles at all.
The *twisted* developers could easily fix this, but apparently choose not to. Other packagers (among which FreeBSD) have no troubles at all.
On Tue, 14 Nov 2006 12:58:30 +0100, Ralf Schmitt <ralf@brainbot.com> wrote:
Ralph Meijer wrote:
"/usr/lib/python2.4/site-packages/twisted/test/stdio_test_halfclose.py", line 20 ??? ^ SyntaxError: invalid syntax I'm amazed that this error is still there -- I saw it *months* ago! Sure makes Twisted look bad.
Yes, it is there in 2.4, and yes it has been fixed for ages in trunk. We just haven't done a new release. Also, the debian package maintainers could easily fix this, but apparently choose not to. Other packagers (among which FreeBSD) have no troubles at all.
The *twisted* developers could easily fix this, but apparently choose not to. Other packagers (among which FreeBSD) have no troubles at all.
http://twistedmatrix.com/trac/changeset/16921 (timestamp - 6 months ago) Jean-Paul
Jean-Paul Calderone wrote:
http://twistedmatrix.com/trac/changeset/16921 (timestamp - 6 months ago)
So, where is the download link to version 2.4.1 or 2.5? - Ralf
On Tue, 14 Nov 2006 15:01:21 +0100, Ralf Schmitt <ralf@brainbot.com> wrote:
Jean-Paul Calderone wrote:
http://twistedmatrix.com/trac/changeset/16921 (timestamp - 6 months ago)
So, where is the download link to version 2.4.1 or 2.5?
- Ralf
I just checked the Debian package. It seems they have already tried to deal with this problem. The _first_ hunk in the Debian patch to Twisted comments out the line with the syntax error. Here's a link if you can't find it: http://ftp.debian.org/debian/pool/main/t/twisted/twisted_2.4.0-2.diff.gz So I don't know what this thread is about anymore. More than ever, though, this looks like an issue someone needs to take up with the Debian maintainer. I looked through the Debian bug tracker and I didn't notice any bugs related to this filed against the package. How did anyone expect anything to get fixed if there haven't even been any bugs filed? Please take further discussion to submit@bugs.debian.org. If the Debian maintainer agrees that this is really an upstream issue then we can resume discussion here and I'm sure whatever further changes are required can be made. Jean-Paul
Jean-Paul Calderone wrote:
On Tue, 14 Nov 2006 12:58:30 +0100, Ralf Schmitt <ralf@brainbot.com> wrote:
Ralph Meijer wrote:
"/usr/lib/python2.4/site-packages/twisted/test/stdio_test_halfclose.py",
line 20 ??? ^ SyntaxError: invalid syntax I'm amazed that this error is still there -- I saw it *months* ago! Sure makes Twisted look bad.
Yes, it is there in 2.4, and yes it has been fixed for ages in trunk. We just haven't done a new release. Also, the debian package maintainers could easily fix this, but apparently choose not to. Other packagers (among which FreeBSD) have no troubles at all.
The *twisted* developers could easily fix this, but apparently choose not to. Other packagers (among which FreeBSD) have no troubles at all.
http://twistedmatrix.com/trac/changeset/16921 (timestamp - 6 months ago)
Yes, it has been fixed in trunk, but has there been a maintenance release in the Twisted release series that had the problem? If so, then the ball is in the debian package maintainers' court; if not, it's still in Twisted's. Steve
On Nov 14, 2006, at 9:56 AM, Stephen Waterbury wrote:
Yes, it has been fixed in trunk, but has there been a maintenance release in the Twisted release series that had the problem? If so, then the ball is in the debian package maintainers' court; if not, it's still in Twisted's.
I agree it might have been nice to have a maintenance release, but the problem apparently doesn't affect anybody but Debian. They're allowed to (and are capable enough to) apply patches to fix debian packaging issues in upstream source. So saying that twisted *has* to have a release that fixes it before debian can is a bit wrong. But a 2.5 release is coming soon now, so, it'll be fixed then. James
James Y Knight wrote:
On Nov 14, 2006, at 9:56 AM, Stephen Waterbury wrote:
Yes, it has been fixed in trunk, but has there been a maintenance release in the Twisted release series that had the problem? If so, then the ball is in the debian package maintainers' court; if not, it's still in Twisted's.
I agree it might have been nice to have a maintenance release, but the problem apparently doesn't affect anybody but Debian. They're allowed to (and are capable enough to) apply patches to fix debian packaging issues in upstream source. So saying that twisted *has* to have a release that fixes it before debian can is a bit wrong.
Just to set the record straight: I did not say that "twisted had to have a release that fixes it before debian could"; I said that doing so would "put the ball in their court" (i.e., give debian no excuse not to include the patched release), and that that (a patch release) would have been in twisted's interest, since the problem was small but annoying and just made twisted look bad. By this time it is moot, of course, and I've already said too much, but I hate being misrepresented. Bleah. Steve
participants (5)
-
James Y Knight
-
Jean-Paul Calderone
-
Ralf Schmitt
-
Ralph Meijer
-
Stephen Waterbury