Hello,

I: pybuild base:311: cd 
/src/moat/lib/codec/.pybuild/cpython3_3.12_moat-lib-codec/build; python3.12 -m 
pytest tests

What I don't see there is what's failing.

Well neither did I. The rest of the log showed a perfectly normal, if failing, 
test run;
the fact that it happened to use the system packages didn't even show up in the 
traceback.

I had to intentionally break a 
/usr/lib/python3/dist-packages/moat/lib/codec/__init__.py
in order to even prove that this happened, and posting the backtrace (in 
addition
to writing about it) didn't seem to add any useful information, thus I didn't.

The package should have been installed into build directory.

Yes, the package itself has been installed there. Looking into this further, 
the problem is the files that are *not* in the package.
Specifically, "moat/__init__.py" and "moat/lib/__init__.py" are not copied in 
from the source tree,
and without them Python refuses to recognize the copy.

Ugh.

Do we have any other namespaced packages in the archive? How do *they* handle 
this?

--
-- regards
--
-- Matthias Urlichs

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to