Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

Re: [Distutils] Where is the setuptools source repository?

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


jim at zope

Jul 2, 2009, 7:44 AM

Post #1 of 4 (613 views)
Permalink
Re: [Distutils] Where is the setuptools source repository?

Switching to zope-dev.

On Jul 2, 2009, at 10:40 AM, Chris Withers wrote:

> Jim Fulton wrote:
>> buildout works fine. The problem is the zope.testing test runner,
>> which will find tests in your eggs directory if your buildout is in
>> your software path.
>
> I'm safe from this one, since I store all my eggs in ~/buildout-eggs
> as specified in my ~/.buildout/default.cfg.
>
> However, the same problem occurs with the contents of the build
> directory :-(


It is really rather shallow and should be easy to fix. The issue is
that the test finder will descend into directories that don't have
__init__.py files, and shouldn't.

Jim

--
Jim Fulton
Zope Corporation


_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


ct at gocept

Jul 4, 2009, 3:30 AM

Post #2 of 4 (571 views)
Permalink
Re: [Distutils] Where is the setuptools source repository? [In reply to]

Hi,

On Thu, 2009-07-02 at 10:44 -0400, Jim Fulton wrote:
> Switching to zope-dev.
>
> On Jul 2, 2009, at 10:40 AM, Chris Withers wrote:
>
> > Jim Fulton wrote:
> >> buildout works fine. The problem is the zope.testing test runner,
> >> which will find tests in your eggs directory if your buildout is in
> >> your software path.
> >
> > I'm safe from this one, since I store all my eggs in ~/buildout-eggs
> > as specified in my ~/.buildout/default.cfg.
> >
> > However, the same problem occurs with the contents of the build
> > directory :-(
>
>
> It is really rather shallow and should be easy to fix. The issue is
> that the test finder will descend into directories that don't have
> __init__.py files, and shouldn't.

It was shallow after understanding it ... ;)

The test runner already tried to avoid those directories, except there
wasn't a test for this and obviously it was bound to be broken.

It's fixed on the testrunner trunk now.

Christian

--
Christian Theune · ct [at] gocept
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
Attachments: signature.asc (0.19 KB)


ct at gocept

Jul 4, 2009, 8:31 AM

Post #3 of 4 (566 views)
Permalink
Re: [Distutils] Where is the setuptools source repository? [In reply to]

On Sat, 2009-07-04 at 11:25 -0400, Barry Warsaw wrote:
> On Jul 4, 2009, at 6:30 AM, Christian Theune wrote:
>
> > It was shallow after understanding it ... ;)
> >
> > The test runner already tried to avoid those directories, except there
> > wasn't a test for this and obviously it was bound to be broken.
> >
> > It's fixed on the testrunner trunk now.
>
> Very cool, thanks Christian. I'm already using 'src' in most of my
> active packages, but I'll try it out and see. Is this fix in
> zope.testing 3.7.6?

Nope, I didn't care to cut a release right away. If you can't/don't want
to use the trunk I'd be happy to cut one.

Christian

--
Christian Theune · ct [at] gocept
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
Attachments: signature.asc (0.19 KB)


jim at zope

Jul 6, 2009, 6:01 AM

Post #4 of 4 (544 views)
Permalink
Re: [Distutils] Where is the setuptools source repository? [In reply to]

On Jul 4, 2009, at 6:30 AM, Christian Theune wrote:

> Hi,
>
> On Thu, 2009-07-02 at 10:44 -0400, Jim Fulton wrote:
>> Switching to zope-dev.
>>
>> On Jul 2, 2009, at 10:40 AM, Chris Withers wrote:
>>
>>> Jim Fulton wrote:
>>>> buildout works fine. The problem is the zope.testing test runner,
>>>> which will find tests in your eggs directory if your buildout is in
>>>> your software path.
>>>
>>> I'm safe from this one, since I store all my eggs in ~/buildout-eggs
>>> as specified in my ~/.buildout/default.cfg.
>>>
>>> However, the same problem occurs with the contents of the build
>>> directory :-(
>>
>>
>> It is really rather shallow and should be easy to fix. The issue is
>> that the test finder will descend into directories that don't have
>> __init__.py files, and shouldn't.
>
> It was shallow after understanding it ... ;)
>
> The test runner already tried to avoid those directories, except there
> wasn't a test for this and obviously it was bound to be broken.
>
> It's fixed on the testrunner trunk now.

Thanks!

Jim

--
Jim Fulton
Zope Corporation


_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.