PaulHowarth/Blog/2011-08-12

Friday 12th August 2011

Fedora Project

Local Packages

  • Updated perl-Mail-IMAPClient to 3.29:

    • CPAN RT#69876: ENVELOPE as part of fetch_hash convenience method: added Mail::IMAPClient::BodyStructure::Envelope->parse_string($str) convenience method for handling ENVELOPE data from fetch_hash

    • CPAN RT#68310: folders() should not call exists()/STATUS: use selectable() instead of exists() in call

    • Ensure separator is set properly in folders()

    • selectable now properly checks for \Noselect flag

    • Update folders() POD to match implementation behaviour

    • CPAN RT#68648: CAPABILITY after authenticate

    • Delete cache after State set toAuthenticate

    • State() is no longer an auto-generated method

    • Fix CPAN RT#68755: Provided socket loses blocking in 3.19-3.28

  • Updated perl-Module-Extract-VERSION to filter bogus provide for perl(ExtUtils::MakeMaker::_version) (Bug #728286)

  • Updated python-zope-interface to 3.6.5:

    • LP#804951: InterfaceClass instances were unhashable under Python 3.x

    • LP#811792: Work around buggy behaviour in some subclasses of zope.interface.interface.InterfaceClass, which invoke __hash__ before initializing __module__ and __name__; the workaround returns a fixed constant hash in such cases, and issues a UserWarning

    • LP#804832: Under PyPy, zope.interface should not build its C extension; also prevent attempting to build it under Jython

    • Add a tox.ini for easier xplatform testing

    • Fix testing deprecation warnings issued when tested under Py3K

  • Initially I found that the test suite failed (in a new test just added):
  •  ======================================================================
     FAIL: test_hash_missing_required_attrs (zope.interface.tests.test_interface.InterfaceTests)
     ----------------------------------------------------------------------
     Traceback (most recent call last):
       File "/builddir/build/BUILD/zope.interface-3.6.5/src/zope/interface/tests/test_interface.py", line 420, in test_hash_missing_required_attrs
         self.assertEqual(len(warned), 1)
     AssertionError: 0 != 1
     ----------------------------------------------------------------------
     Ran 167 tests in 0.209s
     FAILED (failures=1)
  • I added a patch to resolve this and sent it upstream (LP#825249)

  • I also added a second patch to remove the problematic test altogether if we have python 2.4, as it uses the "with" statement introduced in Python 2.5; all other tests pass with 2.4, and upstream skips the test on Python 2.5 for other reasons so it's not that important


Recent