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
I am trying to create a requirements.txt for the Pipfile that is provided below. The output contains one requirement in the form web-py==0.40dev0 which should have been web.py==0.40dev0. This issue cropped up after upgrading to the latest version of pipenv [2018.10.9], details of which are given below.
Due to this, pip install is failing as no package with the name web-py==0.40dev0 exists.
Expected result
The pip install -r requirements.txt step below should have worked flawlessly. At least, it did with pipenv 2018.7.1
Actual result
The pip install -r requirements.txt fails due to a non-existent package name.
Steps to replicate
$ cat Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
"web.py" = "==0.40dev0""psycopg2-binary" = "*"
dj-database-url = "*"
gunicorn = "*"
[dev-packages]
pytest = "*"
pytest-flakes = "*"
mypy = "*"
pyflakes = "*"
[requires]
python_version = "3.6"
$ pipenv lock -r > requirements.txt
$ cat requirements.txt
-i https://pypi.org/simple
dj-database-url==0.5.0
gunicorn==19.9.0
psycopg2-binary==2.7.5
web-py==0.40.dev0
$ pip install -r requirements.txt
Collecting dj-database-url==0.5.0 (from -r r.txt (line 2))
Using cached https://files.pythonhosted.org/packages/d4/a6/4b8578c1848690d0c307c7c0596af2077536c9ef2a04d42b00fabaa7e49d/dj_database_url-0.5.0-py2.py3-none-any.whl
Collecting gunicorn==19.9.0 (from -r r.txt (line 3))
Using cached https://files.pythonhosted.org/packages/8c/da/b8dd8deb741bff556db53902d4706774c8e1e67265f69528c14c003644e6/gunicorn-19.9.0-py2.py3-none-any.whl
Collecting psycopg2-binary==2.7.5 (from -r r.txt (line 4))
Using cached https://files.pythonhosted.org/packages/4b/8c/0f7ae152fee5ec23000539ba583224213f5d08b338a3178c503409a72435/psycopg2_binary-2.7.5-cp37-cp37m-manylinux1_x86_64.whl
Collecting web-py==0.40.dev0 (from -r r.txt (line 5))
Could not find a version that satisfies the requirement web-py==0.40.dev0 (from -r r.txt (line 5)) (from versions: )
No matching distribution found for web-py==0.40.dev0 (from -r r.txt (line 5))
Issue description
I am trying to create a requirements.txt for the Pipfile that is provided below. The output contains one requirement in the form
web-py==0.40dev0
which should have beenweb.py==0.40dev0
. This issue cropped up after upgrading to the latest version of pipenv [2018.10.9], details of which are given below.Due to this,
pip install
is failing as no package with the nameweb-py==0.40dev0
exists.Expected result
The
pip install -r requirements.txt
step below should have worked flawlessly. At least, it did withpipenv 2018.7.1
Actual result
The
pip install -r requirements.txt
fails due to a non-existent package name.Steps to replicate
$ pipenv --support
Pipenv version:
'2018.10.9'
Pipenv location:
'/home/nabarun/.local/lib/python3.7/site-packages/pipenv'
Python location:
'/usr/bin/python'
Python installations found:
3.7.0
:/usr/bin/python3.7
3.7.0
:/usr/bin/python3.7m
3.6.6
:/home/nabarun/.envs/hyron-server-Wm2ZsfEu/bin/python3.6m
3.6.6
:/usr/bin/python3.6m
3.6.6
:/usr/bin/python3.6
PEP 508 Information:
System environment variables:
XDG_SEAT_PATH
USER
LC_TELEPHONE
LANG
DISPLAY
SHLVL
LOGNAME
XDG_VTNR
LC_NAME
PWD
MOZ_PLUGIN_PATH
XAUTHORITY
XDG_GREETER_DATA_DIR
QT_QPA_PLATFORMTHEME
COLORTERM
XDG_SESSION_ID
GTK2_RC_FILES
GNOME_TERMINAL_SCREEN
DESKTOP_SESSION
XDG_SESSION_DESKTOP
GDMSESSION
LC_NUMERIC
LC_MEASUREMENT
LC_PAPER
LC_IDENTIFICATION
LC_MONETARY
DBUS_SESSION_BUS_ADDRESS
VTE_VERSION
MAIL
_
XDG_DATA_DIRS
GNOME_TERMINAL_SERVICE
SHELL
XDG_SESSION_TYPE
LC_TIME
TERM
GTK_MODULES
XDG_CURRENT_DESKTOP
EDITOR
PATH
HOME
BROWSER
XDG_RUNTIME_DIR
LC_ADDRESS
XDG_SESSION_PATH
XDG_SEAT
OLDPWD
ZSH
PAGER
LESS
LC_CTYPE
LSCOLORS
LS_COLORS
WORKON_HOME
VIRTUALENVWRAPPER_PROJECT_FILENAME
VIRTUALENVWRAPPER_WORKON_CD
VIRTUALENVWRAPPER_SCRIPT
VIRTUALENVWRAPPER_HOOK_DIR
VAULT_ADDR
GOPATH
NVM_DIR
NVM_CD_FLAGS
NVM_BIN
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PIPENV_ACTIVE
VIRTUAL_ENV
PS1
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/home/nabarun/.envs/hyron-server-Wm2ZsfEu/bin:/home/nabarun/.nvm/versions/node/v8.12.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/nabarun/.local/bin:/home/nabarun/.local/go/bin:/home/nabarun/go/bin
SHELL
:/usr/bin/zsh
EDITOR
:/usr/bin/nano
LANG
:en_US.UTF-8
PWD
:/home/nabarun/c/rorodata/hyron-server
VIRTUAL_ENV
:/home/nabarun/.envs/hyron-server-Wm2ZsfEu
Contents of
Pipfile
('/home/nabarun/c/rorodata/hyron-server/Pipfile'):Contents of
Pipfile.lock
('/home/nabarun/c/rorodata/hyron-server/Pipfile.lock'):The text was updated successfully, but these errors were encountered: