PosixPath' object has no attribute 'strip' since 2023.11.14 on Python 3.11.6 #6016
Labels
PR: awaiting-merge
The PR related to this issue has been reviewed and is awaiting merge.
Type: Regression
This issue is a regression of a previous behavior.
Issue description
Starting with 2023.11.14 we get an error in pipenv in all our python builds (Linux on upstream python 3.11 container) and locally on Linux/Mac.
Expected result
pipenv install .
succeeds as in2023.10.24
.Actual result
pipenv crashes:
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Run
pipenv install .
.Pipfile:
setup.py:
$ pipenv --support
Pipenv version:
'2023.11.14'
Pipenv location:
'/usr/local/lib/python3.11/site-packages/pipenv'
Python location:
'/usr/local/opt/python@3.11/bin/python3.11'
OS Name:
'posix'
User pip version:
'23.3.1'
user Python installations found:
PEP 508 Information:
System environment variables:
TERM_SESSION_ID
SSH_AUTH_SOCK
LC_TERMINAL_VERSION
COLORFGBG
ITERM_PROFILE
XPC_FLAGS
LANG
PWD
SHELL
__CFBundleIdentifier
SECURITYSESSIONID
TERM_PROGRAM_VERSION
TERM_PROGRAM
PATH
LC_TERMINAL
COLORTERM
COMMAND_MODE
TERM
HOME
TMPDIR
USER
XPC_SERVICE_NAME
LOGNAME
LaunchInstanceID
__CF_USER_TEXT_ENCODING
ITERM_SESSION_ID
SHLVL
OLDPWD
P9K_TTY
_P9K_TTY
ZSH
PAGER
LESS
LSCOLORS
LS_COLORS
P9K_SSH
KUBE_EDITOR
KOPS_STATE_STORE
AWS_PROFILE
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/opt/python@3.8/bin:/usr/local/sbin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/xxx/.krew/bin:/Users/xxx/.cargo/bin:/Users/xxx/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/xxx/.local/bin
SHELL
:/bin/zsh
LANG
:de_DE.UTF-8
PWD
:/Users/xxx/src/xxx/xxx
Contents of
Pipfile
('/Users/xxx/src/xxx/xxx/Pipfile'):This also happens on a freshly installed pipenv in Docker on all of our projects. Downgrade fixes it.
The text was updated successfully, but these errors were encountered: