pypa / get-pip

Helper scripts to install pip, in a Python installation that doesn't have it.
https://bootstrap.pypa.io/pip/
MIT License
738 stars 293 forks source link

Adapt for default behaviour change in nox #172

Closed pradyunsg closed 2 years ago

pradyunsg commented 2 years ago

Closes #171

pradyunsg commented 2 years ago

x-ref: https://github.com/wntrblm/nox/pull/567

It's a suboptimal that they introduced behaviour difference between CI vs non-CI environments.

pfmoore commented 2 years ago

Agreed this is a better fix. Once this is merged I'll update #171 to just add 3.10 into CI. (And 3.11? I'm not sure how to spell "3.11rc1" for the github action and we'd have to change it once 3.11 final comes out, so maybe just wait till then)

johnthagen commented 2 years ago

It's a suboptimal that they introduced behaviour difference between CI vs non-CI environments.

I opened this Nox issue that would hopefully make allow restoring the original behaviour in the noxfile.py itself. Please comment if you think this might also help/be preferred in your use case. I often find myself using the same Nox defaults as the pip team.