All the magic around parsing requirements was entirely unnecessary for this repo as there are NO reqs.
And please! Doing things on import (like raising an error if pip isn't installed) is not ok.
Do not have side effects on import, even (and especially) in setup code.
This fix is a follow-up for #70, and is blocking https://github.com/StackStorm/st2/pull/5932 because importing pip breaks generating the lockfile in the latest version of pants (which uses pex, which has a vendored copy of pip).
All the magic around parsing requirements was entirely unnecessary for this repo as there are NO reqs.
And please! Doing things on import (like raising an error if pip isn't installed) is not ok. Do not have side effects on import, even (and especially) in setup code.
This fix is a follow-up for #70, and is blocking https://github.com/StackStorm/st2/pull/5932 because importing pip breaks generating the lockfile in the latest version of pants (which uses pex, which has a vendored copy of pip).