-
-
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 sees sys_platform == "win32"
marker but doesn't respect it
#1954
Comments
This is a problem with pywin32 specifically, see previous issues on this topic |
Previous threads does not give the solution, sadly. |
@gsemet, this isn't a solution but if I understood correctly it's the discussion of finding a solution. What is your particular scenario? |
I did not understood this issue has been resolved on master but not yet released. My use case:
|
@gsemet, this issue report is at it's heart about the pywin32 |
This Pipfile fail in a linux, it tries to install appnode, when the line Pipfile
OUTPUT
|
I would expect
pypiwin32 = {markers = "sys_platform == 'win32'"}
to not try to be installed in Linux and therefore not result in an error. Whilepipenv
does say it isIgnoring pypiwin32
it subsequently also fails withNo matching distribution found for pywin32==223
.Tested against d2b0580.
$ python -m pipenv.help output
Pipenv version:
'11.9.1'
Pipenv location:
'/home/epc/t/pipenv/pipenv/pipenv'
Python location:
'/home/epc/t/pipenv/t/../pipenv/venv/bin/python'
Other Python installations in
PATH
:2.6
:/home/altendky/.pyenv/shims/python2.6
2.6
:/home/altendky/.pyenv/shims/python2.6
2.7
:/home/altendky/.pyenv/shims/python2.7
2.7
:/home/altendky/.pyenv/shims/python2.7
2.7
:/usr/bin/python2.7
3.4
:/home/altendky/.pyenv/shims/python3.4m
3.4
:/home/altendky/.pyenv/shims/python3.4
3.5
:/home/altendky/.pyenv/shims/python3.5m
3.5
:/home/altendky/.pyenv/shims/python3.5
3.5
:/usr/bin/python3.5
3.6
:/home/altendky/.pyenv/shims/python3.6m
3.6
:/home/altendky/.pyenv/shims/python3.6
3.7
:/home/altendky/.pyenv/shims/python3.7m
3.7
:/home/altendky/.pyenv/shims/python3.7
3.6.3
:/home/altendky/.pyenv/shims/python
2.7.13
:/usr/bin/python
2.7.14
:/home/altendky/.pyenv/shims/python2
2.7.13
:/usr/bin/python2
3.6.3
:/home/altendky/.pyenv/shims/python3
3.5.3
:/usr/bin/python3
PEP 508 Information:
System environment variables:
GS_LIB
KDE_FULL_SESSION
LS_COLORS
LANG
PROFILEHOME
DISPLAY
PYENV_ROOT
SHELL_SESSION_ID
EDITOR
COLORTERM
XDG_VTNR
PAM_KWALLET5_LOGIN
SSH_AUTH_SOCK
XDG_SESSION_ID
USER
DESKTOP_SESSION
PWD
HOME
SSH_AGENT_PID
QT_ACCESSIBILITY
XDG_SESSION_TYPE
XDG_DATA_DIRS
KONSOLE_DBUS_SESSION
XDG_SESSION_DESKTOP
KONSOLE_DBUS_WINDOW
GTK_MODULES
TERM
SHELL
KONSOLE_DBUS_SERVICE
XDG_SESSION_CLASS
XDG_SEAT_PATH
XCURSOR_THEME
XDG_CURRENT_DESKTOP
GPG_AGENT_INFO
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
KONSOLE_PROFILE_NAME
XDG_SEAT
SHLVL
COLORFGBG
LANGUAGE
WINDOWID
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
XAUTHORITY
XDG_SESSION_PATH
QT_AUTO_SCREEN_SCALE_FACTOR
PATH
KDE_SESSION_UID
KDE_SESSION_VERSION
KDED_STARTED_BY_KDEINIT
SESSION_MANAGER
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
PYTHONUNBUFFERED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/altendky/.pyenv/bin:/home/altendky/venvs/bin:/home/altendky/.pyenv/bin:/home/altendky/.pyenv/shims:/epc/bin:/home/altendky/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/epc/bin
SHELL
:/usr/bin/fish
EDITOR
:vi
LANG
:en_US.UTF-8
PWD
:/home/epc/t/pipenv/t
Contents of
Pipfile
('/home/epc/t/pipenv/t/Pipfile'):Contents of
Pipfile.lock
('/home/epc/t/pipenv/t/Pipfile.lock'):$ ../pipenv/venv/bin/pipenv install --verbose
The text was updated successfully, but these errors were encountered: