sagemath / cysignals

cysignals: interrupt and signal handling for Cython. Source repository for https://pypi.org/project/cysignals/
GNU Lesser General Public License v3.0
44 stars 23 forks source link

get-pip.py seems to fail on Cygwin #105

Closed jdemeyer closed 5 years ago

jdemeyer commented 5 years ago

See AppVeyor log.

CC @embray

embray commented 5 years ago

Although something like this felt vaguely familiar, I had to re-convince myself it's actually as bad as it looks: If an application run by powershell writes something to stderr it detects this and wraps that output in and raises a NativeCommandError, thus technically returning an error.

In other words, it assumes nobody will abuse stderr to write messages that are not actually error messages representing an unrecoverable error condition; it has no concept of how unix programs often use stderr to write any kinds of out-of-band messages, besides strictly errors. Who's right? I don't know. But this has to be worked around. I definitely recall dealing with this at some previous time.