← Back to team overview

dulwich-users team mailing list archive

Re: [PATCH] Unified gzip/paster patch

 

On Sun, Mar 20, 2011 at 6:49 PM, David Blewett <david@xxxxxxxxxxxxxxxx> wrote:
> On Sun, Mar 20, 2011 at 3:52 PM, David Blewett <david@xxxxxxxxxxxxxxxx> wrote:
>> On Sat, Mar 19, 2011 at 9:50 PM, David Blewett <david@xxxxxxxxxxxxxxxx> wrote:
>>> On Sat, Mar 19, 2011 at 9:12 PM, Jelmer Vernooij <jelmer@xxxxxxxxx> wrote:
>>>> I'm getting two test failures now:
>>>
>>> Both errors are due to pkg_resources not being able to load the
>>> entry_points successfully.
>>
>> I worked around this by using pkg_resources' WorkingSet class
>> directly. It now loads up the base dulwich dir and tests the
>> entry_points it finds in setup.py, to ensure they match up with those
>> expected in the test file. If you don't have setuptools (and thus no
>> paste.deploy), the whole test will be skipped.
>
> Updated patch; test_entry_points now checks to be sure the number of
> found entry_points matches the expected number, as well as checking to
> be sure their names and memory addresses match the imported versions.

Updated patch: `make doc` now works.

-- 
Thanks,

David Blewett

Attachment: gzip_paster-v5.diff
Description: Binary data


Follow ups

References