On Sun, Jan 29, 2023 at 10:43:06AM +0000, Stuart Henderson wrote:
> On 2023/01/28 22:53, Theo Buehler wrote:
> > On Sat, Jan 28, 2023 at 08:48:52PM +0000, Stuart Henderson wrote:
> > > Python bindings for LMDB. OK to import?
> > > 
> > 
> > Something's wrong. When trying to run tests, I got
> > 
> > E   ModuleNotFoundError: No module named 'cffi'
> 
> This is our old friend, pytest not finding the cpython extension,
> with a twist where it falls back to calling lmdb via cffi.

Ah, that's nasty.

> This fixes it:
> 
> MODPY_TEST_DIR= ${WRKSRC}/build
> MODPY_PYTEST_ARGS= ..

Indeed it does. Thanks for the explanations of the failures. I buy all
of that.

ok for import then.

Reply via email to