[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Any clue how to run Qiime2 test suite?



On Sun, Oct 28, 2018 at 02:58:59PM +0100, Liubov Chuprikova wrote:
> >
> > >  * run build-time tests after "dh_auto_install"
> >
> 
> This was easy for me to propose but when I tried to implement the tests
> like this, it didn't work :-P The egg was installed but still unavailable
> for pkg_resources. This discussion [1] gave me a hint, that it is possible
> to run "setup.py develop", which creates .egg-link and .pth files necessary
> for
> pkg_resources to find the egg.
> 
> But there are several tests that still fail with the following error:
> 
>     bibtex_file.write(writer.write(bib_database))
> UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position
> 1095: ordinal not in range(128)

> I cannot say from the first glance what is wrong here.

This was in turn easy for me by setting LC_ALL. ;-)  (I'd live this kind
of cooperation where each partner knows one part. ;-) )

> It might be
> something trivial, but I will be able to continue with this not earlier
> than next Thursday..

That's perfectly sufficient.  The build time test now passes.  However,
I have no idea why the resulting package remains empty.  I'm afraid I
will also not have time before and also not the first three weeks of
November.

Thanks a lot for your work on this

       Andreas.
 
> [1]
> https://stackoverflow.com/questions/256417/python-packages-and-egg-info-directories

-- 
http://fam-tille.de


Reply to: