← Back to team overview

dulwich-users team mailing list archive

Re: [PATCH] Unified gzip/paster patch

 

On Sat, 2011-03-19 at 20:07 -0400, David Blewett wrote:
> On Sat, Mar 19, 2011 at 4:42 PM, David Blewett <david@xxxxxxxxxxxxxxxx> wrote:
> > Realized this morning that I'd. Forgotten to update the entry_point path in
> > this last move. I will post an updated patch later, with a test to actually
> > load the expected points with pkg_resources.
> 
> Updated patch that fixes the final path of the entry_points, and adds
> a test to ensure each can be loaded via pkg_resources.
> 
> Github fork is up to date.
I'm getting two test failures now:

ERROR: test_gzip_factory (dulwich.tests.test_web.PasterFactoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "dulwich/tests/test_web.py", line 568, in test_gzip_factory
    self._load_factory('paste.filter_factory', 'gzip', make_gzip_filter)
  File "dulwich/tests/test_web.py", line 561, in _load_factory
    test_factory = self.load_entry_point('dulwich', protocol, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 305, in
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2243,
in load_entry_point
    raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('paste.filter_factory', 'gzip') not found

======================================================================
ERROR: test_limit_factory (dulwich.tests.test_web.PasterFactoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "dulwich/tests/test_web.py", line 572, in test_limit_factory
    make_limit_input_filter)
  File "dulwich/tests/test_web.py", line 561, in _load_factory
    test_factory = self.load_entry_point('dulwich', protocol, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 305, in
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2243,
in load_entry_point
    raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('paste.filter_factory', 'limitinput') not
found

----------------------------------------------------------------------

Cheers,

Jelmer

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References