-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lock file markers order is non-deterministic #2760
Comments
I vaguely remember this has been reported before, but can’t find the issue, so I’m keeping this open. Sorry for the inconvenience. We are already working on correcting this. Thanks for the report! |
I think we sort now? Will check |
I found the report I was thinking about, #2662. Closing this to keep the discussion in one place. |
Wait I misread this one… sorry about the noise. |
Thank you for the effort and fast feedback, this is just an inconvenience in |
is this closed because it's fixed? I'm still experiencing the issue in and it can result in redundant container rebuilding where Docker assumes something has changed |
Issue description
Sample Pipfile and Pipfile.lock
Re-running
pipenv install && pipenv lock
may produce a different result for themarkers
field of the lock file.Expected result
Would expect the
Pipfile.lock
to be stable.Actual result
Steps to replicate
Looks like an ordering problem, but difficult to replicate. There may be some subtlety in
Pipfile
that leads to the lock having this slight difference, but the combination of packages and versions is the same as before.Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Other Python installations in
PATH
:3.6
:/usr/local/bin/python3.6m
3.6
:/usr/local/bin/python3.6
3.6
:/usr/local/bin/python3.6
3.6.6
:/.venv/bin/python
3.6.6
:/usr/local/bin/python
3.6.6
:/usr/local/bin/python
3.6.6
:/.venv/bin/python3
3.6.6
:/usr/local/bin/python3
3.6.6
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_PIP_VERSION
SHLVL
HOME
GPG_KEY
TERM
PATH
LANG
PYTHONUSERBASE
PYTHON_VERSION
VIRTUAL_ENV
PWD
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/pipfiles
VIRTUAL_ENV
:/.venv
Contents of
Pipfile
('/pipfiles/Pipfile'):Contents of
Pipfile.lock
('/pipfiles/Pipfile.lock'):The text was updated successfully, but these errors were encountered: