-
-
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 upgrade
doesn't handle --index
#5692
Labels
Type: Bug 🐛
This issue is a bug.
Comments
2 tasks
@danstewart I have attempted a patch: #5693 Update/upgrade were ignoring the index url altogether--if you could help validate if this solves the issue it would be appreciated. |
New version of pipenv with fix has been released. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
It doesn't look like
pipenv upgrade
handles the--index
flag.Expected result
It uses the specified index.
Actual result
The error message isn't clear but I think it's trying to install from PyPI.
Steps to replicate
To simplify I've made a new directory and only added a single dependency:
Running
pipenv upgrade --index priv thing
fails butpipenv install --index priv thing
works$ pipenv --support
Pipenv version:
'2023.4.29'
Pipenv location:
'/home/dan/.local/pipx/venvs/pipenv/lib64/python3.11/site-packages/pipenv'
Python location:
'/home/dan/.local/pipx/venvs/pipenv/bin/python'
OS Name:
'posix'
User pip version:
'23.1.2'
user Python installations found:
3.11.3
:/usr/bin/python
3.11.3
:/usr/bin/python3
3.10.10
:/home/dan/.asdf/installs/python/3.10.10/bin/python3
2.7.18
:/usr/bin/python2
2.7.18
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
SHELL
SESSION_MANAGER
WINDOWID
COLORTERM
LESS
HISTCONTROL
XDG_MENU_PREFIX
FORGIT_INSTALL_DIR
HOSTNAME
HISTSIZE
SSH_AUTH_SOCK
XMODIFIERS
DESKTOP_SESSION
SSH_AGENT_PID
KITTY_PID
ERG_PATH
EDITOR
PWD
XDG_SESSION_DESKTOP
LOGNAME
XDG_SESSION_TYPE
MANPATH
SYSTEMD_EXEC_PID
BUILDKIT_PROGRESS
XAUTHORITY
GEMFURY_TOKEN
KITTY_PUBLIC_KEY
FORGIT_GI_TEMPLATES
GJS_DEBUG_TOPICS
GDM_LANG
HOME
USERNAME
LANG
LS_COLORS
XDG_CURRENT_DESKTOP
WAYLAND_DISPLAY
AWS_PAGER
KITTY_WINDOW_ID
PROMPT_COMMAND
INVOCATION_ID
DOCKER_BUILDKIT
MANAGERPID
FORGIT_GI_REPO_REMOTE
GJS_DEBUG_OUTPUT
NVM_DIR
MOZ_GMP_PATH
GNOME_SETUP_DISPLAY
COMPOSE_DOCKER_CLI_BUILD
XDG_SESSION_CLASS
TERMINFO
TERM
BAT_PAGER
ASDF_DIR
LESSOPEN
USER
SUDO_EDITOR
VISUAL
DISPLAY
SHLVL
PAGER
QT_IM_MODULE
FORGIT_GI_REPO_LOCAL
XDG_RUNTIME_DIR
PS1
DEBUGINFOD_URLS
JOURNAL_STREAM
XDG_DATA_DIRS
PATH
HISTIGNORE
GDMSESSION
DBUS_SESSION_BUS_ADDRESS
FZF_DEFAULT_OPTS
MAIL
KITTY_INSTALLATION_DIR
GIO_LAUNCHED_DESKTOP_FILE_PID
GIO_LAUNCHED_DESKTOP_FILE
OLDPWD
_
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/dan/.poetry/bin:/home/dan/.asdf/shims:/home/dan/.asdf/bin:/home/dan/.cargo/bin:/home/dan/bin:/home/dan/.local/bin:/usr/local/go/bin:/home/dan/.cargo/bin/:/usr/local/go/bin/:/home/dan/go/bin/:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/dan/.local/share/JetBrains/Toolbox/scripts
SHELL
:/bin/bash
EDITOR
:nvim
LANG
:en_GB.UTF-8
PWD
:/home/dan/tw/x
The text was updated successfully, but these errors were encountered: