Closed mauritsvanrees closed 12 months ago
The *.pyc
warning was what bugged @elisallenens and me in the big PR. That's where the "don't write bytecode" line in one of the test files came from.
iirc build would complain about missing *.pyc
files that it is being told to ignore.
I wondered a bit whether it was an interplay between "build" and "check-manifest" that we include as a recommended tool, btw.
Actually, we are already trying to ignore that warning. Must be slightly different here. I will see what I can do.
Apart from this problem, what has always irritated me:
But that is something that should have been solved in core Python 15 years ago already. Anyway....
Ah! Look at _project_builder_runner()
in release.py
. That's a function that gets passed to the "build" mechanism.
The KNOWN_WARNINGS
should probably be used in there.
Yes, I already found it, and am completely replacing it. :-)
All fixed.
I have released 9.0.0a1.
Using master here, after the merge of PR #415.
build
seems to produce more warning output:Workaround: cleanup
MANIFEST.in
in my test package. This is unfortunate, but I don't think we can do anything about that. cc @gforcada as we will likely see this a lot when releasing Plone packages as well.More problematic, maybe not even related to
build
, is that I get this error when releasing:I very much do have this properly configured. So somehow this is not recognised. Probably an inadvertent change in the big PR from @elisallenens. I am investigating.