[Zope-dev] zope-tests - FAILED: 3, OK: 41
Tres Seaver
tseaver at palladion.com
Fri May 18 12:25:31 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/18/2012 08:21 AM, Tres Seaver wrote:
> On 05/18/2012 06:28 AM, Patrick Gerken wrote:
>> The first error (zope.app.appsetup) is due to deprecation warnings.
>> I am not sure here. Is it normal that tests configure logs to output
>> deprecations to stdout?
>
>> Is this the standard?
>
> That is an oddball test -- it makes doctest assertions about the
> standar output of the server subprocess. I"ve tried to remediate the
> deprecation warnings which break the (over fragile. IMNSHO)
> assertions.
>
> Side note: the deprecation warnings are due to use of
> zope.interface.implements (and / or .implementsOnly, .classProvides).
> Those APIs cannot work on Python3, due to its different class
> initialization semantics, and so zope.interface 4.0.0 deprecates them
> in favor of the class decorators. zope.component.adapts is likewise
> broken under Python3, but there is not yet a release which actually
> deprecates it.
Another note: fixing the deprecations via class decorators means
dropping Python 2.5 compatibility. I have therefore been creating
maintennance branches for all those packages and switching over ZTK 1.0 /
1.1 dev checkouts to use those branches.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+2P7sACgkQ+gerLs4ltQ6X7ACgs2h8AG9jzykvzKX2P2+SzGhi
zWIAoMwGQqsFpFHDHnfXjqQJw0Tmsg5W
=z/eU
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list