[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: Re: [Zope-dev] zope-tests - FAILED: 3, OK: 41
From: Tres Seaver <tseaver () palladion ! com>
Date: 2012-05-18 12:25:31
Message-ID: jp5f3r$j5k$2 () dough ! gmane ! org
[Download RAW message or body]
-----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@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-----
_______________________________________________
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic