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 packages fail to install from source with pip when setuptools 60.0.0 is installed, including Poetry itself.

See original GitHub issue
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: macOS 11.5.2
  • Poetry version: Poetry version 1.1.2

Issue

Installing poetry packages, including poetry itself, from source currently fails with the newest version of setuptools. I opened up an issue on their tracker as well with all the details.

See https://github.com/pypa/setuptools/issues/2939

Edit: Note that this issue has been resolved with setuptools 60.1.1.

Note that poetry install does not fail; only pip install .

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:12
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
finswimmercommented, Dec 29, 2021

Thanks a lot for reporting this @alkasm 👍

I followed the issue on setuptools and was glad they found out the problem was on their site 😃

0reactions
rafalkrupinskicommented, Jan 8, 2022

[…] and kept all its deps in its own venv

The install-poetry.py installer is exactly doing this.

Hm… I had this error and it got fixed by upgrading system-wide setuptools and virtualenv

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get python-poetry to detect a version of pip within a ...
I'm playing around with a fork of isort, using this installation guide but including a virtualenv —though a platform install fails as well ......
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 ...
Read more >
poetry - PyPI
Poetry supports multiple installation methods, including a simple script found at install.python-poetry.org. For full installation instructions, including ...
Read more >
tox-poetry-installer - Python Package Health Analysis - Snyk
A plugin for Tox that lets you install test environment dependencies from the Poetry lockfile For more information about how to use this...
Read more >
Poetry has officially fixed / permanently included pip install -e
I'm still not 100% sure on what problem this solved exactly. Can someone explain? Poetry install would install your package in editable mode ......
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