From 2846a585380d1b3aa2c2a57489e667f365108167 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 19 Mar 2023 14:16:07 -0400 Subject: [PATCH 1/2] Fix import issue with pipenv 2023.3.18. --- pipenv/utils/virtualenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/utils/virtualenv.py b/pipenv/utils/virtualenv.py index c6a885ceae..0bdc8fb0f9 100644 --- a/pipenv/utils/virtualenv.py +++ b/pipenv/utils/virtualenv.py @@ -254,7 +254,7 @@ def abort(msg=""): err=True, ) # check for python installers - from .installers import Asdf, InstallerError, InstallerNotFound, Pyenv + from pipenv.installers import Asdf, InstallerError, InstallerNotFound, Pyenv # prefer pyenv if both pyenv and asdf are installed as it's # dedicated to python installs so probably the preferred From cadae1b75daf0069923f3c3e37cab92ee84d800c Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 19 Mar 2023 14:18:25 -0400 Subject: [PATCH 2/2] add news fragment. --- news/5636.bugfix.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/5636.bugfix.rst diff --git a/news/5636.bugfix.rst b/news/5636.bugfix.rst new file mode 100644 index 0000000000..816c058e24 --- /dev/null +++ b/news/5636.bugfix.rst @@ -0,0 +1 @@ +Fix import error in virtualenv utility for creating new environments caused by ``2023.3.18`` release.