Re: [pysqlite 2.2.0] how to run tests in %check section?

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

 



On Thu, 2006-04-13 at 20:21 +0200, Dawid Gajownik wrote:
> Dnia 04/13/2006 07:47 PM, Użytkownik Garrick Staples napisał:
> 
> > Need to export PYTHONPATH before running python?
> 
> I tried that before but it does not resolve the problem. What bothers me 
> is the fact that it works in normal shell but not in rpm spec file.

If run in the build directory, it doesn't work in a shell either.

Python apparently becomes confused because there's a pysqlite2 subdir
containing some of the needed files but no _sqlite.so in the current
dir.  cd'ing somewhere else in %check (for example /tmp) before running
the tests appears to work around it.  I'm not qualified to say for sure,
but it does smell like a bug in pysqlite or python to me.

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux