From 77bc74dce52e3d0f340fe726f2b3819ffbbabd9d Mon Sep 17 00:00:00 2001 From: Jeremy Fleischman Date: Tue, 16 Aug 2022 12:33:34 -0700 Subject: [PATCH] Actually filter out missing interpreters (#5262) * Actually filter out missing interpreters This fixes https://github.com/pypa/pipenv/issues/5261. Before this change, I would get a "The Python interpreter can't be found" error when running `pipenv install --system` with a python3 but no python. --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- README.md | 2 +- news/5261.bugfix.rst | 1 + pipenv/utils/shell.py | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 news/5261.bugfix.rst diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 325d14db..f7c77d13 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -19,7 +19,7 @@ How does this pull request fix your problem? Did you consider any alternatives? ### The checklist * [ ] Associated issue -* [ ] A news fragment in the `news/` directory to describe this fix with the extension `.bugfix`, `.feature`, `.behavior`, `.doc`. `.vendor`. or `.trivial` (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #. +* [ ] A news fragment in the `news/` directory to describe this fix with the extension `.bugfix.rst`, `.feature.rst`, `.behavior.rst`, `.doc.rst`. `.vendor.rst`. or `.trivial.rst` (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.