question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

poetry install fails without clear error while poetry export ... pip install -r requirements.txt works

See original GitHub issue

I tried to use poetry install on Gitlab CI.

It fails to produce the virtual environment but no clear error message is given.

Just some

Connection pool is full, discarding connection: pypi.org. Connection pool size: 10

and then

/builds/master-tma/num-methods-turb/num_methods_turb does not contain any element

In contrast, pip install -r requirements.txt (with requirements.txt produced with poetry export) works well.

The results of a call of poetry install -vvv is there : https://gricad-gitlab.univ-grenoble-alpes.fr/master-tma/num-methods-turb/-/jobs/395825

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
neersightedcommented, Nov 25, 2022

Not a bug; in the future, please follow the issue template. It is important to do so to avoid wasting your time on a report that will never be actioned/is a duplicate, and to avoid contributors time trying to reproduce something with inadequate information.

In any case, PRs are welcome to improve the error message, but this was a usage error/is documented.

0reactions
neersightedcommented, Nov 25, 2022

Nobody is suggesting that there are not real issues uncovered; however, the current behavior is as-designed and as (poorly) documented. You have been encouraged to open new issues, the reasons why that is preferred over this issue are very plainly communicated.

My answer is as long as it is to give historical context, to explain how we got to where we are, and how you can help make Poetry better through your issue reports as an end user. I think I’ve said all that is worth discussing on the topic – please do contribute if you wish, though issues and PRs, and please try to make those issues as clear and descriptive as possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'poetry install' command fails; *.whl files are not found
Specifically I found that deleting the AppData\Local\pypoetry\Cache\artifacts folder (I'm on Windows 10) worked for me. virtualenvs for ...
Read more >
Commands | Documentation | Poetry - Python dependency ...
The install command reads the pyproject.toml file from the current project, resolves the dependencies, and installs them. poetry install. If there is a...
Read more >
Python Requirements - Serverless Framework: Plugins
Poetry by default generates the exported requirements.txt file with -e and that breaks pip with -t parameter (used to install all requirements in...
Read more >
A Poetic Apology. Or Why Should You Use Poetry to Manage…
pip freeze > requirements.txt. which lets anyone use your project by simply installing the needed dependencies with $> pip install -r requirements.txt.
Read more >
Poetry Advance - Python Biella Group
This problem can occur as soon as you run a library installation or do poetry install or poetry update . ⚠ Attention ⚠...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found