-
-
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
Pipenv.lock file resolves differently on the second pass (with iPython) #2888
Comments
This issue is a duplicate of #2662. |
Markers are sometimes parsed nondeterministically, in most cases (all cases that I've seen) it is not meaningful but it does create a lot of clutter in version control. We will fix this when we get better at set math. Sorry for the annoyance |
FYI this is a case where it matters. iPython will not install on the first pass. You must run |
@scott-vsi I believe that is an artifact of a bug in the resolver implementation which causes it to be nondeterministic -- that will be fixed in the coming release (next few hrs) |
Great. Thanks! |
Issue description
Running
pipenv lock
twice produces a different Pipfile.lockExpected result
I would expect it to produce the same lock file both times
Actual result and Steps to replicate
output
In this form, pathlib is not actually installed after running
pipenv install
(so ipython is broken). Now, after re-running the command, the lock file has changed:output
Now, after running
pipenv install
, ipython works.$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/usr/local/lib/python2.7/site-packages/pipenv'
Python location:
'/usr/local/opt/python@2/bin/python2.7'
Other Python installations in
PATH
:2.7
:/usr/local/bin/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/bin/python2.7
2.7
:/usr/local/bin/python2.7
3.6
:/usr/local/bin/python3.6m
3.6
:/usr/local/bin/python3.6
3.6
:/usr/local/bin/python3.6
2.7.14
:/usr/local/bin/python
2.7.10
:/usr/bin/python
2.7.14
:/usr/local/bin/python
2.7.14
:/usr/local/bin/python2
2.7.14
:/usr/local/bin/python2
3.6.5
:/usr/local/bin/python3
3.6.5
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
_
TERM_PROGRAM_VERSION
LOGNAME
USER
PATH
HOME
DISPLAY
TERM_PROGRAM
LANG
__CF_USER_TEXT_ENCODING
TERM
Apple_PubSub_Socket_Render
SHLVL
SECURITYSESSIONID
XPC_FLAGS
EDITOR
FIGNORE
TERM_SESSION_ID
XPC_SERVICE_NAME
SSH_AUTH_SOCK
VISUAL
SHELL
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
TMPDIR
LSCOLORS
PYTHONSTARTUP
OLDPWD
CLICOLOR
HISTCONTROL
PWD
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/bin:/usr/local/sbin:/Users/user/.bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/opt/X11/bin
SHELL
:/bin/bash
EDITOR
:nvim
LANG
:en_US.UTF-8
PWD
:/Users/user/loki/test
Contents of
Pipfile
('/Users/user/loki/test/Pipfile'):Contents of
Pipfile.lock
('/Users/user/loki/test/Pipfile.lock'):The text was updated successfully, but these errors were encountered: