-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[self-tests] mypyc 1.15.0 self-tests fail #18610
Comments
We don't support compiling with I also see the same behavior on previous versions of mypy (at least 1.13 and 1.14.1). How did you run into this/what was your use case for running these tests with |
Can I find the docs please?
This is the first release affected by set
I'm packaging |
This conflicts with what I'm seeing on my system; I just double checked, and the tests pass by default and then fail with On that point, I think the general problem with trying to support
Sadly I don't think we have existing docs for this, but there's a very large number of C compiler flags that may or may not have odd effects when used with mypyc code (or with any project). I don't know that it's feasible to document that exhaustively.
Is it possible to weaken that setting for your RPM spec file (or manually override |
It's up to the project how to treat the warnings. My goal was to pay upstream's attention to this potential problem.
Sure, I can hack it in the way to get the tests passed. |
It seems weird that the tests should fail when passing a flag that has no effect on codegen, but only prints warnings during compilation. It's just a linter. That being said, it also feels a bit weird for a distro to set this globally |
Rechecked,
With that version of |
Even before that setuptools change it was possible to validate mandatory preconditions in a setuptools C extension if you have configured cpython to validate its own mandatory preconditions too. But very few people test debug builds of cpython, for some reason. |
I'm also vaguely surprised that Alt Linux is passing -Wall in CFLAGS but not e.g. Not even targeted errors such as |
Bug Report
mypyc
1.15.0
self-tests fail withCFLAGS
-Wall
.To Reproduce
Expected Behavior
Tests should pass without failures.
Actual Behavior
An example of failure report:
Your Environment
The text was updated successfully, but these errors were encountered: