poetry icon indicating copy to clipboard operation
poetry copied to clipboard

remove no-setuptools config option

Open dimbleby opened this issue 10 months ago • 1 comments

it is currently mildly inconsistent that poetry defaults to installing setuptools in newly created environments, but then removing it at poetry install --sync

the direction of travel is that setuptools should be named as an explicit dependency if required, let's go there

  • remove the config option
  • don't install setuptools

maybe one for #9136 if that's going to be a thing, though personally I would not be too frightened of releasing this anyway, so long as it gets a suitable mention in the changelog

dimbleby avatar Apr 23 '24 18:04 dimbleby

Given that poetry install --sync immediately removes setuptools from any Poetry-created venv, this seems fine to merge before Poetry v2? And it would be in alignment with:

  • https://github.com/python/cpython/pull/101039
  • https://github.com/pypa/virtualenv/issues/2487
  • https://github.com/pypa/get-pip/pull/218
  • https://github.com/docker-library/python/pull/954
  • https://github.com/astral-sh/uv/pull/1613

edmorley avatar Aug 11 '24 18:08 edmorley

@dimbleby could you please rebase?

Secrus avatar Sep 15 '24 09:09 Secrus

@dimbleby could you please rebase?

@Secrus there are no merge conflicts, you can just hit the "rebase and merge" button

dimbleby avatar Sep 15 '24 10:09 dimbleby