-
-
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
Editable packages with markers can not be locked #2902
Comments
Refer to sarugaku/requirementslib#70 |
jxltom
changed the title
Editable packages with marker can not be locked
Editable packages with markers can not be locked
Sep 30, 2018
2 tasks
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
In Pipfile, if markers are added for an editable package, latest pipenv in master branch can not lock.
In some older version of Pipenv, even editable packages can be locked, the generated
requirements.txt
such as-e git+https://github.com/PyCQA/pylint.git@8682a220911a9c22286089e08f7e77b7b15d990b#egg=pylint; python_version >= '3.4'
can not be installed by pip. And extra space before markers;
for installing bypip install -r requirements.txt
is required such as-e git+https://github.com/PyCQA/pylint.git@8682a220911a9c22286089e08f7e77b7b15d990b#egg=pylint ; python_version >= '3.4'
Expected result
pipenv lock
should work.Actual result
Following error will be raised.
Steps to replicate
pipenv lock --clear
for above Pipfile will raise error.$ pipenv --support
Pipenv version:
'2018.7.1.dev0'
Pipenv location:
'/home/user/Documents/dev/pipenv/pipenv'
Python location:
'/usr/bin/python'
Python installations found:
3.6.6
:/home/user/.pyenv/shims/python3.6
3.5.2
:/home/user/.pyenv/shims/python3.5m
3.5.2
:/home/user/.pyenv/shims/python3
3.5.2
:/home/user/.pyenv/shims/python3.5
3.5.2
:/usr/bin/python3.5
2.7.12
:/home/user/.pyenv/shims/python2
3.6.6
:/home/user/.pyenv/shims/python3.6m
3.5.2
:/usr/bin/python3.5m
2.7.12
:/home/user/.pyenv/shims/python2.7
2.7.12
:/home/user/.pyenv/shims/python
2.7.12
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
LESS
UPSTART_EVENTS
PYTHONDONTWRITEBYTECODE
XDG_SESSION_TYPE
LC_PAPER
SHELL
PYENV_SHELL
XDG_DATA_DIRS
MANDATORY_PATH
COMPIZ_CONFIG_PROFILE
UNITY_DEFAULT_PROFILE
UPSTART_INSTANCE
JOB
XMODIFIERS
JAVA_HOME
GTK2_MODULES
XDG_RUNTIME_DIR
LC_ADDRESS
LC_CTYPE
QT_ACCESSIBILITY
DBUS_STARTER_BUS_TYPE
XDG_SESSION_ID
DBUS_SESSION_BUS_ADDRESS
DEFAULTS_PATH
DESKTOP_SESSION
GTK_MODULES
INSTANCE
LC_NAME
XDG_MENU_PREFIX
LS_COLORS
GOPATH
DBUS_STARTER_ADDRESS
GNOME_DESKTOP_SESSION_ID
XDG_CURRENT_DESKTOP
USER
XDG_VTNR
PYENV_VIRTUALENV_INIT
XAUTHORITY
LANGUAGE
SESSION_MANAGER
LC_MEASUREMENT
QT_QPA_PLATFORMTHEME
CLUTTER_IM_MODULE
WINDOWID
GPG_AGENT_INFO
LANG
GDMSESSION
UPSTART_JOB
XDG_SEAT_PATH
PIP_PYTHON_PATH
_
GTK_IM_MODULE
XDG_CONFIG_DIRS
HTTP_PROXY
QT_VERSION
LC_TIME
PAGER
XDG_GREETER_DATA_DIR
QT4_IM_MODULE
HOME
DISPLAY
XDG_SESSION_DESKTOP
QT_DIR
CONDA_SHLVL
LC_MONETARY
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
LC_IDENTIFICATION
VTE_VERSION
UPSTART_SESSION
GNOME_KEYRING_PID
HTTPS_PROXY
LC_NUMERIC
UNITY_HAS_3D_SUPPORT
QT_IM_MODULE
LOGNAME
XDG_SEAT
GNOME_KEYRING_CONTROL
PATH
ZSH
TERM
XDG_SESSION_PATH
DBUS_DEBUG_OUTPUT
SESSIONTYPE
IM_CONFIG_PHASE
SSH_AUTH_SOCK
LSCOLORS
OLDPWD
GDM_LANG
LC_TELEPHONE
SHLVL
PWD
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/user/.pyenv/plugins/pyenv-virtualenv/shims:/home/user/.pyenv/shims:/home/user/.pyenv/bin:/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/home/user/go/bin:/home/user/jdk1.8.0_171/bin:/home/user/apache-maven-3.5.3/bin
SHELL
:/usr/bin/zsh
LANG
:en_US.UTF-8
PWD
:/home/user/Documents/dev/test-python-package-management/pipenv-semicolon-in-editable-package
Contents of
Pipfile
('/home/user/Documents/dev/test-python-package-management/pipenv-semicolon-in-editable-package/Pipfile'):The text was updated successfully, but these errors were encountered: