You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to ask you if is it possible to change your decision
Always store exact commit in the lockfile
from #2209 for case when VCS requirement uses branch. I think it could be handy for development. For example, in our team we set branch for VCS requirement when we develop some new feature. When the feature is done we release it and in our project we set the tag or in some cases we set the specific commit.
Describe the solution you'd like
I think it should respect passed ref in Pipfile.lock when installing package: pipenv install -e git+https://github.com/requests/[email protected]#egg=requests should keep update-3.0 branch in ref.
And pipenv install -e git+https://github.com/requests/requests.git@190a68550ac2172d9651470558f90cb6b754d065#egg=requests should keep 190a68550ac2172d9651470558f90cb6b754d065 hash commit in ref.
No. The lock file, by definition, should be a reproducible snapshot of the dependencies. Referencing a requirement using a branch means pointing to a moving target, essentially defeating the purpose of locking. If you need to update the ref, you should re-generate the lock file.
Is your feature request related to a problem? Please describe.
I would like to ask you if is it possible to change your decision
from #2209 for case when VCS requirement uses branch. I think it could be handy for development. For example, in our team we set branch for VCS requirement when we develop some new feature. When the feature is done we release it and in our project we set the tag or in some cases we set the specific commit.
Describe the solution you'd like
I think it should respect passed ref in
Pipfile.lock
when installing package:pipenv install -e git+https://github.com/requests/[email protected]#egg=requests
should keepupdate-3.0
branch in ref.And
pipenv install -e git+https://github.com/requests/requests.git@190a68550ac2172d9651470558f90cb6b754d065#egg=requests
should keep190a68550ac2172d9651470558f90cb6b754d065
hash commit in ref.$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/home/jcas/.local/lib/python3.5/site-packages/pipenv'
Python location:
'/usr/bin/python3'
Python installations found:
3.5.2
:/home/jcas/projects/olc/mp/virtual/pipenv_respecting_vcs_branch/bin/python3.5
3.6.7
:/usr/bin/python3.6m
3.5.2
:/usr/bin/python3.5m
3.6.7
:/usr/bin/python3.6
2.7.12
:/usr/bin/python2.7
3.5.2
:/usr/bin/python3
PEP 508 Information:
System environment variables:
SESSION_MANAGER
PATH
DESKTOP_SESSION
USER
LC_TELEPHONE
PIP_SHIMS_BASE_MODULE
USERNAME
HOME
VTE_VERSION
SSH_AUTH_SOCK
XDG_CONFIG_DIRS
PS1
QT_QPA_PLATFORMTHEME
LOGNAME
QT_ACCESSIBILITY
XDG_DATA_DIRS
MANDATORY_PATH
PYTHONDONTWRITEBYTECODE
GJS_DEBUG_TOPICS
_
VIRTUAL_ENV
LC_PAPER
CLUTTER_IM_MODULE
WINDOWPATH
MDM_LANG
GTK_IM_MODULE
DISPLAY
MDMSESSION
LC_MEASUREMENT
LC_IDENTIFICATION
XDG_CURRENT_DESKTOP
LESSOPEN
LC_ADDRESS
OLDPWD
PYTHONFINDER_IGNORE_UNSUPPORTED
GTK_MODULES
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
LANG
LESSCLOSE
PIP_PYTHON_PATH
SSH_AGENT_PID
XDG_SEAT
XDG_SESSION_COOKIE
XDG_RUNTIME_DIR
XMODIFIERS
GJS_DEBUG_OUTPUT
WINDOWID
CINNAMON_VERSION
LC_NUMERIC
XDG_VTNR
GDMSESSION
GNOME_DESKTOP_SESSION_ID
XDG_SESSION_ID
QT4_IM_MODULE
PIP_DISABLE_PIP_VERSION_CHECK
LC_NAME
LC_TIME
QT_STYLE_OVERRIDE
XAUTHORITY
LS_COLORS
SHELL
PWD
DBUS_SESSION_BUS_ADDRESS
LC_MONETARY
GTK_OVERLAY_SCROLLING
MDM_XSERVER_LOCATION
SHLVL
XDG_SESSION_DESKTOP
TERM
GDM_XSERVER_LOCATION
DEFAULTS_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/jcas/projects/olc/mp/virtual/pipenv_respecting_vcs_branch/bin:/home/jcas/bin:/home/jcas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/mssql-tools/bin:/opt/mssql-tools/bin
SHELL
:/bin/bash
LANG
:en_US.UTF-8
PWD
:/home/jcas/projects/olc/mp/virtual
VIRTUAL_ENV
:/home/jcas/projects/olc/mp/virtual/pipenv_respecting_vcs_branch
Contents of
Pipfile
('/home/jcas/projects/olc/mp/virtual/Pipfile'):Contents of
Pipfile.lock
('/home/jcas/projects/olc/mp/virtual/Pipfile.lock'):The text was updated successfully, but these errors were encountered: