Releasing zc.buildout
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm doing most of my development these days with Python 2.6, and would like to get a deprecation-warning-free version of zc.buildout released if possible for the projects which use buildout. I would be glad to make the release myself, if desired: just bless me with the PyPI stick and let me know. ;) Thanks! Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJuQRR+gerLs4ltQ4RAg7cAJ9E6B99dOw1oWWK2lP4Dmk6YdO+BgCfdKAu ky5VUwFfP6cwqFziwwxoZBE= =5CBo -----END PGP SIGNATURE-----
On Mar 12, 2009, at 8:47 AM, Tres Seaver wrote: ...
I'm doing most of my development these days with Python 2.6, and would like to get a deprecation-warning-free version of zc.buildout released if possible for the projects which use buildout.
OK
I would be glad to make the release myself, if desired: just bless me with the PyPI stick and let me know. ;)
That's fine. You are blessed. :) I also blessed you for zc.recipe.cmmi, since you were threatening to fix deprecation warnings there too. Note that I happen to be working on buildout atm and was planning to make a new release soon. I'd be happy to address 2.6 in that release, but I'm happy to have you deal with 2.6. Jim -- Jim Fulton Zope Corporation
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Fulton wrote:
On Mar 12, 2009, at 8:47 AM, Tres Seaver wrote: ...
I'm doing most of my development these days with Python 2.6, and would like to get a deprecation-warning-free version of zc.buildout released if possible for the projects which use buildout.
OK
I would be glad to make the release myself, if desired: just bless me with the PyPI stick and let me know. ;)
That's fine. You are blessed. :) I also blessed you for zc.recipe.cmmi, since you were threatening to fix deprecation warnings there too.
Note that I happen to be working on buildout atm and was planning to make a new release soon. I'd be happy to address 2.6 in that release, but I'm happy to have you deal with 2.6.
The tests all pass for me on 2.6, except the bootstrap one which barfs on its own shoelaces because the already-released egg used to do the bootstrapping emits a DeprecationWarning. I was just planning on releasing it as 1.1.2, at which point the tests should pass. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJuTHH+gerLs4ltQ4RApwXAJ9/RkSSrpcuGN1sTkdrYgYn3Kid0QCeKNgW gq0RikVa3mH14R3RAl9k9pE= =ZdJ8 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tres Seaver wrote:
Jim Fulton wrote:
On Mar 12, 2009, at 8:47 AM, Tres Seaver wrote: ...
I'm doing most of my development these days with Python 2.6, and would like to get a deprecation-warning-free version of zc.buildout released if possible for the projects which use buildout. OK
I would be glad to make the release myself, if desired: just bless me with the PyPI stick and let me know. ;)
That's fine. You are blessed. :) I also blessed you for zc.recipe.cmmi, since you were threatening to fix deprecation warnings there too.
Note that I happen to be working on buildout atm and was planning to make a new release soon. I'd be happy to address 2.6 in that release, but I'm happy to have you deal with 2.6.
The tests all pass for me on 2.6, except the bootstrap one which barfs on its own shoelaces because the already-released egg used to do the bootstrapping emits a DeprecationWarning. I was just planning on releasing it as 1.1.2, at which point the tests should pass.
I spoke too soon: the 'boostrap' failure looks like what I described, but another failfure is a doctest which barfs due to a major change in exception formatting in Python 2.6. I tried to get ELLIPSIS to hide the differences, but my doctest-fu is to weak: - ------------------------------- 8< --------------------------- File "/home/tseaver/projects/Zope-CVS/zc.buildout-trunk/src/zc/buildout/tests.py", line 1725, in zc.buildout.tests.install_source_dist_with_bad_py Failed example: print system(buildout), # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Expected: Installing eggs. Getting distribution for 'badegg'. Got badegg 1. Installing bo. Generated script '/sample-buildout/bin/bo'. ... SyntaxError:...'return' outside function... ... SyntaxError:...'return' outside function... Got: Installing eggs. Getting distribution for 'badegg'. Got badegg 1. Installing bo. Generated script '/sample-buildout/bin/bo'. SyntaxError: ("'return' outside function", ('build/bdist.linux-i686/egg/badegg/scripts/one.py', 2, None, 'return 1/n')) <BLANKLINE> SyntaxError: ("'return' outside function", ('/sample-buildout/eggs/tmpSUUYdy/badegg-1-pyN.N.egg/badegg/scripts/one.py', 2, None, 'return 1/n')) <BLANKLINE> - ------------------------------- 8< --------------------------- Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJuVf3+gerLs4ltQ4RAut1AJ0czxULPGx4E8oiiDvGcUweRzOU4ACgyQi9 Dyk04yDcaPbd3otFN+RbmqU= =mAcA -----END PGP SIGNATURE-----
On Thu, Mar 12, 2009 at 02:44:07PM -0400, Tres Seaver wrote:
I spoke too soon: the 'boostrap' failure looks like what I described, but another failfure is a doctest which barfs due to a major change in exception formatting in Python 2.6. I tried to get ELLIPSIS to hide the differences, but my doctest-fu is to weak:
Doctests have some caveats.
------------------------------- 8< --------------------------- File "/home/tseaver/projects/Zope-CVS/zc.buildout-trunk/src/zc/buildout/tests.py", line 1725, in zc.buildout.tests.install_source_dist_with_bad_py Failed example: print system(buildout), # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Expected: Installing eggs. Getting distribution for 'badegg'. Got badegg 1. Installing bo. Generated script '/sample-buildout/bin/bo'. ... SyntaxError:...'return' outside function... ... SyntaxError:...'return' outside function... Got: Installing eggs. Getting distribution for 'badegg'. Got badegg 1. Installing bo. Generated script '/sample-buildout/bin/bo'. SyntaxError: ("'return' outside function", ('build/bdist.linux-i686/egg/badegg/scripts/one.py', 2, None, 'return 1/n')) <BLANKLINE> SyntaxError: ("'return' outside function", ('/sample-buildout/eggs/tmpSUUYdy/badegg-1-pyN.N.egg/badegg/scripts/one.py', 2, None, 'return 1/n')) <BLANKLINE> ------------------------------- 8< ---------------------------
Let's look at this again:
Generated script '/sample-buildout/bin/bo'. ... SyntaxError:...'return' outside function...
does not match
Generated script '/sample-buildout/bin/bo'. SyntaxError: ("'return' outside function",
because of an unfortunate interaction between ELLIPSIS and NORMALIZE_WHITESPACE. NORMALIZE_WHITESPACE converts your pattern into Generated script '/sample-buildout/bin/bo'. ... SyntaxError:... and the matched text to Generated script '/sample-buildout/bin/bo'. SyntaxError:... Then ELLIPSIS has a mismatch because even if you substitute the '...' with an empty string, the pattern wants two spaces where the text has one. I tried to report this as https://bugs.launchpad.net/zope.testing/+bug/126169 once, but was unable to convince Jim that this behaviour trips people up. (Also, I did not try to provide a patch to fix the issue.) HTH, Marius Gedminas -- This sentence contradicts itself -- no actually it doesn't. -- Douglas Hofstadter
participants (3)
-
Jim Fulton
-
Marius Gedminas
-
Tres Seaver