Re: [Zope-dev] zope.i18messageid

2010-07-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tres Seaver wrote:
> Chris McDonough wrote:
>> Fabio,
> 
>> Within the last few months you committed the following change to
>> zope.i18nmessageid:
> 
>> http://svn.zope.org/zope.i18nmessageid/trunk/setup.py?rev=102497&r1=101297&r2=102497
> 
>> The commit message is "Fixed the compilation of the C extension with
>> python 2.6: refactored it as a setuptools Feature."  Can I ask what
>> problem was being fixed with this commit?
> 
>> It undid work I did in this revision:
> 
>> http://svn.zope.org/zope.i18nmessageid/trunk/setup.py?rev=99669&r1=97948&r2=99669
> 
>> I should have left a comment in there: the work was effectively there to
>> support building zope.i18nmessageid on Jython and other platforms like
>> GAE that do not support C extensions at all, even optionally.  The
>> package no longer builds on Jython ("error: Setup script exited with
>> error: Compiling extensions is not supported on Jython"), although to be
>> honest I don't really understand why not.  I'm hoping we can find a way
>> to retain whatever fix you were trying to make but still allow the
>> package to build on Jython, but I think I need to understand what
>> problem you were fixing first.
> 
> I think there is a good case for making the C extension an "optional"
> setuptools feature:  nobody acutally *needs* that extension built to
> have their application work.
> 
> Jim has asserted (but not really explained) that the C extension closes
> some kind of security hole.  I don't see any credible attack vector
> myself, but then I no longer believe it worthwhile to devote my own
> energy to defending against malicious TTW programmers.
> 
> The change here is to remove 'standard=True' from the feature
> constructor.  Developers who want the feature enabled can then build the
> egg via:
> 
>   $ python setup.py --with-codeoptimization bdist_egg
> 
> We could then update the zc.recipe.egg:custom recipe to allow specifying
> features to be installed for a given egg.

I asked on the distutils SIG about the status of setuptools' Feature:
PJE basically said that they are deprecated / obsolete, which is why
they aren't documented.

I went ahead and packaged up the 'optional_build_ext' class which Chris
had previously inlined (into the setup.py of zope.i18nmessageid):

  http://svn.zope.org/zope.optionalextension/

  http://pypi.python.org/pypi/zope.optionalextension/1.1

The 1.1 release was to allow for using the package via 'setup_requires',
without having to install it manually first.  Unfortunately, setuptools
stomps on the 'command_packages' lookup, which means it only (currently)
works under plain distutils, and then only if you have already installed it.

I plan to investigate further to fix that problem.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwvi5wACgkQ+gerLs4ltQ4bVQCdH2zuP2slSgnQ16GiWOnPT2xb
5IEAoLzW/Jq9BL2gL5VgSxt+HyRj6i9j
=8ayy
-END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope Tests: 26 OK, 2 Failed, 2 Unknown

2010-07-03 Thread Hanno Schlichting
On Sat, Jul 3, 2010 at 6:00 PM, Tres Seaver  wrote:
>> Subject: UNKNOWN : Zope-trunk-alltests Python-2.6.5 : Linux
>> From: Zope Tests
>> Date: Fri Jul  2 21:32:12 EDT 2010
>> URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016028.html
>
> These are due to an SSH issue:
>
> - - %< 
> mr.developer: Queued 'DateTime' for checkout.
> mr.developer: Checked out 'DateTime' with subversion.
> mr.developer: Subversion checkout for 'DateTime' failed.
> mr.developer: Host key verification failed.
> mr.developer: svn: Connection closed unexpectedly
> mr.developer:
> mr.developer: There have been errors, see messages above.
> - - %< 
>
> I haven't noticed any change to the SSH hostkey for svn.zope.org, so I'm
> puzzled.

I hope my commit from earlier today fixes this. DateTime is checked
out by mr.developer and that causes some slightly different SVN
interaction.

So hopefully this will work again tomorrow.

Hanno
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope Tests: 26 OK, 2 Failed, 2 Unknown

2010-07-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Zope Tests Summarizer wrote:
> Summary of messages to the zope-tests list.
> Period Fri Jul  2 12:00:00 2010 UTC to Sat Jul  3 12:00:00 2010 UTC.
> There were 30 messages: 6 from Zope Tests, 11 from ccomb at free.fr, 1 from 
> ct at gocept.com, 12 from jdriessen at thehealthagency.com.
> 
> 
> Test failures
> -
> 
> Subject: FAILED: Repository policy check found errors in 417 projects
> From: ct at gocept.com
> Date: Fri Jul  2 21:14:40 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016022.html
> 
> Subject: FAILED : Zope Buildbot / ztk_win slave-win
> From: jdriessen at thehealthagency.com
> Date: Sat Jul  3 07:28:49 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016042.html

Yay, we're down to just the one Windows failure!


> Unknown
> ---
> 
> Subject: UNKNOWN : Zope-trunk Python-2.6.5 : Linux
> From: Zope Tests
> Date: Fri Jul  2 21:30:12 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016027.html
> 
> Subject: UNKNOWN : Zope-trunk-alltests Python-2.6.5 : Linux
> From: Zope Tests
> Date: Fri Jul  2 21:32:12 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016028.html

These are due to an SSH issue:

- - %< 
mr.developer: Queued 'DateTime' for checkout.
mr.developer: Checked out 'DateTime' with subversion.
mr.developer: Subversion checkout for 'DateTime' failed.
mr.developer: Host key verification failed.
mr.developer: svn: Connection closed unexpectedly
mr.developer:
mr.developer: There have been errors, see messages above.
- - %< 

I haven't noticed any change to the SSH hostkey for svn.zope.org, so I'm
puzzled.



Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwvXoYACgkQ+gerLs4ltQ4JuACeKiEFMGnsvrsa5gbsh8YiciMs
lpUAniiviER1amLNh3TNelFJT4JLf8+a
=UTIz
-END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] New release of z3c.form

2010-07-03 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/1/10 17:36 , Martin Aspeli wrote:
> On 1 July 2010 21:10, Godefroid Chapelle  wrote:
>> http://packages.python.org/z3c.form
>>
>> Who will get rid of http://docs.zope.org/z3c.form/ ?
> 
> If you do, can you please make it link or redirect to the new
> location? There are "live" links to that kind of thing in lots of
> documentation I've written. ;-)

I have set up a permanent redirect from docs.zope.org/z3c.form to
packages.python.org/z3c.form.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkwvPTAACgkQRAx5nvEhZLIn1ACfW7OQZeujJ84bZN45tnS4QIiC
onIAn3fZfWds/2waxr7tL4EByKV0liI7
=0crl
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 26 OK, 2 Failed, 2 Unknown

2010-07-03 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Fri Jul  2 12:00:00 2010 UTC to Sat Jul  3 12:00:00 2010 UTC.
There were 30 messages: 6 from Zope Tests, 11 from ccomb at free.fr, 1 from ct 
at gocept.com, 12 from jdriessen at thehealthagency.com.


Test failures
-

Subject: FAILED: Repository policy check found errors in 417 projects
From: ct at gocept.com
Date: Fri Jul  2 21:14:40 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016022.html

Subject: FAILED : Zope Buildbot / ztk_win slave-win
From: jdriessen at thehealthagency.com
Date: Sat Jul  3 07:28:49 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016042.html


Unknown
---

Subject: UNKNOWN : Zope-trunk Python-2.6.5 : Linux
From: Zope Tests
Date: Fri Jul  2 21:30:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016027.html

Subject: UNKNOWN : Zope-trunk-alltests Python-2.6.5 : Linux
From: Zope Tests
Date: Fri Jul  2 21:32:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016028.html


Tests passed OK
---

Subject: OK : Zope Buildbot / zope2.12 slave-osx
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 08:22:34 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016017.html

Subject: OK : Zope Buildbot / zope2 slave-osx
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 08:24:26 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016018.html

Subject: OK : Zope Buildbot / ztk slave-osx
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 08:30:58 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016019.html

Subject: OK : Zope Buildbot / zope2 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 09:54:33 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016020.html

Subject: OK : Zope Buildbot / zope2 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Fri Jul  2 09:54:37 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016021.html

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Fri Jul  2 21:22:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016023.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Fri Jul  2 21:24:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016024.html

Subject: OK : Zope-2.12 Python-2.6.5 : Linux
From: Zope Tests
Date: Fri Jul  2 21:26:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016025.html

Subject: OK : Zope-2.12-alltests Python-2.6.5 : Linux
From: Zope Tests
Date: Fri Jul  2 21:28:12 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016026.html

Subject: OK : BlueBream template / Python2.5.2 32bit linux
From: ccomb at free.fr
Date: Fri Jul  2 22:00:59 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016030.html

Subject: OK : BlueBream template / Python2.6.4 32bit linux
From: ccomb at free.fr
Date: Fri Jul  2 22:00:59 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016031.html

Subject: OK : BlueBream template / Python2.4.6 32bit linux
From: ccomb at free.fr
Date: Fri Jul  2 22:00:59 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016029.html

Subject: OK : ZTK 1.0dev / Python2.4.6 Linux 32bit
From: ccomb at free.fr
Date: Sat Jul  3 00:17:24 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016032.html

Subject: OK : ZTK 1.0dev / Python2.6.4 Linux 32bit
From: ccomb at free.fr
Date: Sat Jul  3 00:19:25 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016033.html

Subject: OK : ZTK 1.0dev / Python2.5.2 Linux 32bit
From: ccomb at free.fr
Date: Sat Jul  3 00:19:36 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016034.html

Subject: OK : Zope 3.4.1 KGS / Python2.4.6 32bit linux
From: ccomb at free.fr
Date: Sat Jul  3 00:37:25 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016035.html

Subject: OK : Zope 3.4.1 KGS / Python2.5.2 32bit linux
From: ccomb at free.fr
Date: Sat Jul  3 01:03:54 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016036.html

Subject: OK : ZTK 1.0 / Python2.4.6 Linux 32bit
From: ccomb at free.fr
Date: Sat Jul  3 01:52:00 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016037.html

Subject: OK : ZTK 1.0 / Python2.6.4 Linux 32bit
From: ccomb at free.fr
Date: Sat Jul  3 01:52:39 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016038.html

Subject: OK : ZTK 1.0 / Python2.5.2 Linux 32bit
From: ccomb at free.fr
Date: Sat Jul  3 01:53:01 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016039.html

Subject: OK : Zope Buildbot / zope2.12 slave-ubuntu64
From: jdriessen at thehealthagency.com
Date: Sat Jul  3 07:26:23 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-July/016040.html

Subject: OK : Zope Buildbot / zope2 slave-ubuntu64
From: jdriessen at thehealthagency.com