-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Pipenv never stops locking / installing -- due to private repository requiring CLI username/password inputs behind the scenes. #4651
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
Comments
It is probably owing to some dependencies that dramatically slow down the lock process. It would help if you do more steps for debugging. You can remove half of them and see if it still hangs, and redo the steps to find the deps that are slow. |
I have no idea, and it works perfectly when installed again, I tried removing virtualenv, clearing cache and everything, but it's still the same. Confused what to do. |
Same problem with me. Locking process never stops, Please Optmize the Locking process. |
I'm having a similar issue, I can't get something like matplotlib installed through pipenv This process simply hangs:
Left it running for ample minutes. Aborting with CTRL+C gives:
It seems to hang on a file operation? |
We saw this today in https://github.com/Recidiviz/pulse-data when attempting to lock. Running on pipenv lock --devCollecting pipenv Successfully created virtual environment! Building requirements... Resolving dependencies... Success! Building requirements... Resolving dependencies... FAIL Traceback (most recent call last): Traceback (most recent call last): Posting here under the assumption this is the same as #4926, but let me know if I should post there instead! |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@janaSunrise It appears that the repository https://github.com/Axelancerr/spotify.py is a 404 But actually that might be a private repository, because when I debugged this in the debugger I saw it was running this command: Example Pipfile:
|
@colincadams Can you provide a sample Pipfile? Is the one from master in the repository you link to? EDIT: Actually if its an issue for you still can you open a new ticket as this support ticket OP turned out its because one of the requirements in the repository is a private github repo and it sits on the login CLI prompt behind the scenes indefinitely. I would like to keep this ticket focused on that at this point. |
Closing this issue because the original issue report is due to a private GitHub repository where no credentials are provided to connect. Please see #4926 before opening any new issues related to infinity lock as it has been triaged, was a pip 21.x issue and is being solved with re-vendoring pip 22.x which requires a couple upstream vendor'd package changes before it can be merged/released. |
Uh oh!
There was an error while loading. Please reload this page.
Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
I have been using pipenv for quite a while, and suddenly one of my pipenv environments started misbehaving. It never locks, or installs properly, it takes infinite amount of time.
When I lock or install, it just never happens and keeps showing the same thing for hours, days...
Expected result
It should install and lock as expected.
Actual result
When possible, provide the verbose output (
--verbose
), especially for locking and dependencies resolving issues.No output given, it just keeps spinning, until manually killed.
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.If you're on macOS, run the following:
If you're on Windows, run the following:
If you're on Linux, run the following:
Output on
pipenv --support
$ pipenv --support
Pipenv version:
'2020.11.15'
Pipenv location:
'/home/janasunrise/anaconda3/lib/python3.8/site-packages/pipenv'
Python location:
'/home/janasunrise/anaconda3/bin/python'
Python installations found:
3.8.5
:/home/janasunrise/.local/share/virtualenvs/overflow-discord-bot-AKrMgrox/bin/python3
3.8.5
:/home/janasunrise/.local/share/virtualenvs/overflow-discord-bot-AKrMgrox/bin/python3.8
3.8.5
:/home/janasunrise/.local/share/virtualenvs/overflow-discord-bot-AKrMgrox/bin/python3
3.8.5
:/home/janasunrise/.local/share/virtualenvs/overflow-discord-bot-AKrMgrox/bin/python3.8
3.8.5
:/usr/bin/python3
3.8.5
:/usr/bin/python3.8
3.8.5
:/bin/python3
3.8.5
:/bin/python3.8
3.8.3
:/home/janasunrise/anaconda3/bin/python3
3.8.3
:/home/janasunrise/anaconda3/bin/python3.8
2.7.18
:/usr/bin/python2.7
2.7.18
:/usr/bin/python2
2.7.18
:/bin/python2.7
2.7.18
:/bin/python2
PEP 508 Information:
System environment variables:
TERMINAL_EMULATOR
GJS_DEBUG_OUTPUT
TERM
__INTELLIJ_COMMAND_HISTFILE__
XDG_CONFIG_DIRS
SHLVL
GPG_AGENT_INFO
XDG_SESSION_TYPE
GIO_LAUNCHED_DESKTOP_FILE_PID
LANGUAGE
LIBVIRT_DEFAULT_URI
SHELL
OLDPWD
_
PATH
SSH_AGENT_PID
HOME
GTK_MODULES
GDMSESSION
DISPLAY
GNOME_SHELL_SESSION_MODE
LANG
GNOME_DESKTOP_SESSION_ID
DBUS_SESSION_BUS_ADDRESS
WINDOWPATH
XDG_SESSION_DESKTOP
MANDATORY_PATH
QT_ACCESSIBILITY
INVOCATION_ID
XDG_DATA_DIRS
PWD
XDG_CURRENT_DESKTOP
USER
GJS_DEBUG_TOPICS
XDG_SESSION_CLASS
XMODIFIERS
USERNAME
XDG_RUNTIME_DIR
LOGNAME
DEFAULTS_PATH
IM_CONFIG_PHASE
DESKTOP_SESSION
GIO_LAUNCHED_DESKTOP_FILE
XDG_MENU_PREFIX
SESSION_MANAGER
JOURNAL_STREAM
SSH_AUTH_SOCK
QT_IM_MODULE
DESKTOP_STARTUP_ID
MANAGERPID
XAUTHORITY
P9K_TTY
_P9K_TTY
ZSH
PAGER
LESS
LSCOLORS
LS_COLORS
P9K_SSH
CONDA_EXE
_CE_M
_CE_CONDA
CONDA_PYTHON_EXE
CONDA_SHLVL
CONDA_PREFIX
CONDA_DEFAULT_ENV
CONDA_PROMPT_MODIFIER
NVM_DIR
NVM_CD_FLAGS
NVM_BIN
NVM_INC
LC_ALL
VIRTUAL_ENV
PS1
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/janasunrise/.local/share/virtualenvs/overflow-discord-bot-AKrMgrox/bin:/home/janasunrise/.nvm/versions/node/v15.6.0/bin:/home/janasunrise/anaconda3/bin:/home/janasunrise/anaconda3/condabin:~/dfx/bin:/home/janasunrise/.cargo/bin:/home/janasunrise/.local/bin:/home/janasunrise/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SHELL
:/usr/bin/zsh
LANG
:en_US.UTF-8
PWD
:/home/janasunrise/Desktop/projects/overflow-discord-bot
VIRTUAL_ENV
:/home/janasunrise/.local/share/virtualenvs/overflow-discord-bot-AKrMgrox
Contents of
Pipfile
('/home/janasunrise/Desktop/projects/overflow-discord-bot/Pipfile'):Contents of
Pipfile.lock
('/home/janasunrise/Desktop/projects/overflow-discord-bot/Pipfile.lock'):My Pipfile, if needed
The text was updated successfully, but these errors were encountered: