On Wed, May 03, 2017 at 03:20:10PM +0300, Pavel Korovin wrote:
> On 05/03, Landry Breuil wrote:
> > On Wed, May 03, 2017 at 01:00:42PM +0300, Pavel Korovin wrote:
> > 
> > As-is that one isnt okay since it depends on devel/py-twisted for its
> > regress, and right now in-tree we have devel/py-twisted/core, and even
> > if you fix the depends regress fails:
> > 
> > ==================================== ERRORS
> > ====================================
> > ____________ ERROR collecting src/incremental/tests/test_update.py
> > _____________
> > ImportError while importing test module
> > '/home/ports/pobj/py-incremental-16.10.1/incremental-16.10.1/src/incremental/tests/test_update.py'.
> > Hint: make sure your test modules/packages have valid Python names.
> > Traceback:
> > tests/test_update.py:15: in <module>
> >     from twisted.python.compat import NativeStringIO
> > E   ImportError: cannot import name NativeStringIO
> > !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection
> > !!!!!!!!!!!!!!!!!!!!
> > 
> > 
> > So right now i think this one should be imported with NO_TEST=Yes, with
> > a reminder to enable tests once twisted is updated...
> 
> Agreed, sorry, missed that point.
> Attached updated version.

Meep :)

$make test
make: don't know how to make _print-metadata
Stop in /home/ports/devel/py-twisted
Problem with dependency devel/py-twisted

sadly, even if NO_TEST=Yes, the dependencies need to exist ...
So TEST_DEPENDS should be commented out too :) With that fixed, ok to
import.

Reply via email to