Re: zope-tests - FAILED: 3, OK: 41

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----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          [email protected]
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  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.