-
-
Notifications
You must be signed in to change notification settings - Fork 954
Commit a2ba480
committed
Have
By setting the `PYTHONWARNINGS` environment variable to `error` in
each of the subprocess invocations.
This is strictly stronger than passing `-Werror` for the `python`
commands, because it automatically applies to subprocesses (unless
they are created with a sanitized environment or otherwise with one
in which `PYTHONWARNINGS` has been customized), and because it
works for `pip` automatically.
Importantly, this will cause warnings internal to Python
subprocesses created by `pip` to be treated as errors. It should
thus surface any warnings coming from the `setuptools` backend.test_installation
test that operations produce no warnings1 parent 84632c7 commit a2ba480
1 file changed
+1
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 | + | ||
67 | 68 |
| |
68 | 69 |
| |
69 | 70 |
|
0 commit comments