Skip to content
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

poetry install gets stuck on github dependency #7235

Closed
4 tasks done
lucasrodes opened this issue Dec 22, 2022 · 5 comments
Closed
4 tasks done

poetry install gets stuck on github dependency #7235

lucasrodes opened this issue Dec 22, 2022 · 5 comments
Labels
status/duplicate Duplicate issues

Comments

@lucasrodes
Copy link

lucasrodes commented Dec 22, 2022

  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

When running poetry install, installation takes forever. I saw the issue #3352, and tried all proposed there:

  • delete the poetry.lock file and retry
  • delete the virtual environment and retry
  • deactivate the new (parallel) installer with poetry config experimental.new-installer false and retry (do not forget to reactivate it afterwards if it proves to have no influence)
  • removing cache and artifacts:
    cd ~/.cache/pypoetry/cache/
    rm -rf artifacts/ cache/
    

It worked in another project, but for this in particular, it got stuck once it reached a dependency on a GitHub project. Namely owid-datautils (see this line).

Terminal output

➜  etl git:(master) poetry install -vvv
Loading configuration file /home/lucas/.config/pypoetry/config.toml
Loading configuration file /home/lucas/repos/etl/poetry.toml
Using virtualenv: /home/lucas/repos/etl/.venv
Installing dependencies from lock file

Finding the necessary packages for the current system

Package operations: 289 installs, 1 update, 0 removals

  - Installing attrs (22.2.0)
  - Installing platformdirs (2.6.0)
  - Installing pyrsistent (0.19.2)
  - Updating setuptools (60.10.0 -> 65.6.3)
  - Installing six (1.16.0)
  - Installing traitlets (5.8.0)
  - Installing entrypoints (0.4)
  - Installing fastjsonschema (2.16.2)
  - Installing jsonschema (3.2.0)
  - Installing jupyter-core (5.1.0)
  - Installing nest-asyncio (1.5.6)
  - Installing pycparser (2.21)
  - Installing python-dateutil (2.8.2)
  - Installing pyzmq (24.0.1)
  - Installing tornado (6.2)
  - Installing cffi (1.15.1)
  - Installing jupyter-client (7.4.8)
  - Installing markupsafe (2.1.1)
  - Installing nbformat (5.7.1)
  - Installing ptyprocess (0.7.0)
  - Installing soupsieve (2.3.2.post1)
  - Installing webencodings (0.5.1)
  - Installing argon2-cffi-bindings (21.2.0)
  - Installing beautifulsoup4 (4.11.1)
  - Installing bleach (5.0.1)
  - Installing defusedxml (0.7.1)
  - Installing frozenlist (1.3.3)
  - Installing idna (3.4)
  - Installing jinja2 (3.1.2)
  - Installing jupyterlab-pygments (0.2.2)
  - Installing mistune (2.0.4)
  - Installing multidict (6.0.3)
  - Installing nbclient (0.7.2)
  - Installing packaging (22.0)
  - Installing pandocfilters (1.5.0)
  - Installing parso (0.8.3)
  - Installing pyasn1 (0.4.8)
  - Installing pygments (2.13.0)
  - Installing python-json-logger (2.0.4)
  - Installing pyyaml (5.4.1)
  - Installing sniffio (1.3.0)
  - Installing terminado (0.17.1)
  - Installing tinycss2 (1.2.1)
  - Installing vine (5.0.0)
  - Installing wcwidth (0.2.5)
  - Installing aiosignal (1.3.1)
  - Installing amqp (5.1.1)
  - Installing anyio (3.6.2)
  - Installing argon2-cffi (21.3.0)
  - Installing async-timeout (4.0.2)
  - Installing backcall (0.2.0)
  - Installing cachetools (5.2.0)
  - Installing certifi (2022.12.7)
  - Installing charset-normalizer (2.1.1)
  - Installing click (8.1.3)
  - Installing decorator (5.1.1)
  - Installing jedi (0.18.2)
  - Installing jmespath (1.0.1)
  - Installing jupyter-events (0.4.0)
  - Installing jupyter-server-terminals (0.4.3)
  - Installing matplotlib-inline (0.1.6)
  - Installing nbconvert (7.2.7)
  - Installing pexpect (4.8.0)
  - Installing pickleshare (0.7.5)
  - Installing prometheus-client (0.15.0)
  - Installing prompt-toolkit (3.0.36)
  - Installing protobuf (4.21.12)
  - Installing pyasn1-modules (0.2.8)
  - Installing pyparsing (3.0.9)
  - Installing rsa (4.9)
  - Installing send2trash (1.8.0)
  - Installing smmap (5.0.0)
  - Installing urllib3 (1.26.13)
  - Installing websocket-client (1.4.2)
  - Installing yarl (1.8.2)
  - Installing aiohttp (3.8.3)
  - Installing antlr4-python3-runtime (4.9.3)
  - Installing billiard (3.6.4.0)
  - Installing botocore (1.27.59)
  - Installing click-didyoumean (0.3.0)
  - Installing click-plugins (1.1.1)
  - Installing click-repl (0.2.0)
  - Installing comm (0.1.2)
  - Installing cryptography (38.0.4)
  - Installing debugpy (1.6.4)
  - Installing exceptiongroup (1.0.4)
  - Installing fsspec (2022.11.0)
  - Installing funcy (1.17)
  - Installing gitdb (4.0.10)
  - Installing google-auth (2.15.0)
  - Installing googleapis-common-protos (1.57.0)
  - Installing httplib2 (0.21.0)
  - Installing iniconfig (1.1.1)
  - Installing ipython (7.34.0)
  - Installing jupyter-server (2.0.4)
  - Installing kombu (5.2.4)
  - Installing marshmallow (3.19.0)
  - Installing mypy-extensions (0.4.3)
  - Installing pluggy (1.0.0)
  - Installing psutil (5.9.4)
  - Installing pytz (2022.7)
  - Installing requests (2.28.1)
  - Installing ruamel-yaml-clib (0.2.7)
  - Installing shortuuid (1.0.11)
  - Installing tabulate (0.9.0)
  - Installing tomli (2.0.1)
  - Installing tqdm (4.64.1)
  - Installing typing-extensions (4.4.0)
  - Installing aiohttp-retry (2.8.3)
  - Installing aioitertools (0.11.0)
  - Installing appdirs (1.4.4)
  - Installing asyncssh (2.12.0)
  - Installing atpublic (3.1.1)
  - Installing celery (5.2.7)
  - Installing commonmark (0.9.1)
  - Installing coverage (7.0.0)
  - Installing dictdiffer (0.9.0)
  - Installing diskcache (5.4.0)
  - Installing distro (1.8.0)
  - Installing dulwich (0.20.50)
  - Installing dvc-objects (0.14.0)
  - Installing dvc-render (0.0.15)
  - Installing filelock (3.8.2)
  - Installing future (0.18.2)
  - Installing gitpython (3.1.29)
  - Installing google-api-core (2.11.0)
  - Installing google-auth-httplib2 (0.1.0)
  - Installing ipykernel (6.19.4)
  - Installing ipython-genutils (0.2.0)
  - Installing marshmallow-enum (1.5.1)
  - Installing nanotime (0.5.2)
  - Installing notebook-shim (0.2.2)
  - Installing numpy (1.24.0)
  - Installing omegaconf (2.3.0)
  - Installing pathspec (0.9.0)
  - Installing pygit2 (1.11.1)
  - Installing pygtrie (2.5.0)
  - Installing pysocks (1.7.1)
  - Installing pytest (7.2.0)
  - Installing ruamel-yaml (0.17.21)
  - Installing s3transfer (0.6.0)
  - Installing toml (0.10.2)
  - Installing typing-inspect (0.8.0)
  - Installing uritemplate (4.1.1)
  - Installing wrapt (1.14.1)
  - Installing aiobotocore (2.4.1)
  - Installing boto3 (1.24.59)
  - Installing colorama (0.4.6)
  - Installing configobj (5.0.6)
  - Installing dataclasses-json (0.5.7)
  - Installing dpath (2.1.3)
  - Installing dvc-data (0.28.4)
  - Installing dvc-http (2.27.2)
  - Installing dvc-task (0.1.8)
  - Installing dvclive (1.2.2)
  - Installing flatten-dict (0.4.2)
  - Installing flufl-lock (7.1.1)
  - Installing google-api-python-client (2.70.0)
  - Installing grandalf (0.6)
  - Installing hydra-core (1.3.1)
  - Installing ipdb (0.13.11)
  - Installing iterative-telemetry (0.0.6)
  - Installing mdurl (0.1.2)
  - Installing nbclassic (0.4.8)
  - Installing networkx (2.8.8)
  - Installing oauth2client (4.1.3)
  - Installing pandas (1.5.2)
  - Installing pandas-stubs (1.2.0.62)
  - Installing pyarrow (10.0.1)
  - Installing pydot (1.4.2)
  - Installing pyopenssl (22.1.0)
  - Installing pytest-cov (2.12.1)
  - Installing rich (12.6.0)
  - Installing scmrepo (0.1.4)
  - Installing shtab (1.5.8)
  - Installing structlog (21.5.0)
  - Installing tomlkit (0.11.6)
  - Installing unidecode (1.3.6)
  - Installing voluptuous (0.13.1)
  - Installing zc-lockfile (2.0)
  - Installing alabaster (0.7.12)
  - Installing arrow (1.2.3)
  - Installing babel (2.11.0)
  - Installing chardet (5.1.0)
  - Installing docutils (0.17.1)
  - Installing dvc (2.38.1)
  - Installing et-xmlfile (1.1.0)
  - Installing gdown (4.6.0)
  - Installing greenlet (2.0.1)
  - Installing gsheets (0.6.1)
  - Installing imagesize (1.4.1)
  - Installing isodate (0.6.1)
  - Installing json5 (0.9.10)
  - Installing jupyterlab-widgets (3.0.4)
  - Installing markdown-it-py (2.1.0)
  - Installing mypy-boto3-s3 (1.26.0.post1)
  - Installing notebook (6.5.2)
  - Installing owid-catalog (0.3.3 /home/lucas/repos/etl/vendor/owid-catalog-py)
  - Installing pydrive2 (1.15.0)
  - Installing qtpy (2.3.0)
  - Installing s3fs (2022.11.0)
  - Installing shellingham (1.5.0)
  - Installing snowballstemmer (2.2.0)
  - Installing sphinxcontrib-applehelp (1.0.2)
  - Installing sphinxcontrib-devhelp (1.0.2)
  - Installing sphinxcontrib-htmlhelp (2.0.0)
  - Installing sphinxcontrib-jsmath (1.0.1)
  - Installing sphinxcontrib-qthelp (1.0.3)
  - Installing sphinxcontrib-serializinghtml (1.1.5)
  - Installing text-unidecode (1.3)
  - Installing textwrap3 (0.9.2)
  - Installing ua-parser (0.16.1)
  - Installing widgetsnbextension (4.0.4)
  - Installing xlsxwriter (3.0.3)
  - Installing ansiwrap (0.8.4)
  - Installing binaryornot (0.4.4)
  - Installing contourpy (1.0.6)
  - Installing cycler (0.11.0)
  - Installing dvc-s3 (2.21.0)
  - Installing fonttools (4.38.0)
  - Installing ipywidgets (8.0.3)
  - Installing jinja2-time (0.2.0)
  - Installing jupyter-console (6.4.4)
  - Installing jupyter-contrib-core (0.4.2)
  - Installing jupyterlab-server (2.16.5)
  - Installing kiwisolver (1.4.4)
  - Installing marko (1.2.2)
  - Installing mccabe (0.6.1)
  - Installing mdit-py-plugins (0.3.3)
  - Installing nodeenv (1.7.0)
  - Installing openpyxl (3.0.10)
  - Installing owid-datautils (0.5.0 a635ed9)
[keyring.backend] Loading KWallet
[keyring.backend] Loading SecretService
[keyring.backend] Loading Windows
[keyring.backend] Loading chainer
[keyring.backend] Loading libsecret
[keyring.backend] Loading macOS
@lucasrodes lucasrodes added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Dec 22, 2022
@Secrus
Copy link
Member

Secrus commented Dec 22, 2022

you didn't attach your poetry install -vvv output

@lucasrodes
Copy link
Author

@Secrus updated the description with the output.

@dimbleby
Copy link
Contributor

Clearly it's trying to do keyring stuff. This is some sort of duplicate of #1917

@lucasrodes
Copy link
Author

Thanks, @dimbleby; it seems like doing

export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring

might have solved this. Thank you so much

@neersighted neersighted added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Dec 22, 2022
@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2022
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

4 participants