Merge pull request #5636 from pypa/emergency-bugfix

Fix import issue with pipenv 2023.3.18.
This commit is contained in:
Matt Davis
2023-03-19 14:56:02 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Fix import error in virtualenv utility for creating new environments caused by ``2023.3.18`` release.
+1 -1
View File
@@ -254,7 +254,7 @@ def ensure_python(project, python=None):
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