Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove bundled setuptools #95299

Closed
Closed
Labels
@sbidoul

Description

@sbidoul

Feature or enhancement

Remove the bundled setuptools so thatensurepip andpython -m venv only installs pip.

Context

Thesetup.py install command ofsetuptools is deprecated.

However, in an environment wheresetuptools is installed butwheel is not (such as one created withpython -m venv), pip falls back on running the deprecated and non-standardsetup.py install.

Since version 22.1 pip works correctly by default in environments wheresetuptools is not installed, by enabling its PEP 517 mode automatically, leading to unsurprising installations in most cases.

So, in order to progressively expose more users to standard-based installation workflows, we (the pip team) would like that virtual environments are created withoutsetuptools by default.

Users faced with failing installations following this change (likely due to packages with customizedsetup.py that do not support building a wheel) can easilypip install setuptools to solve the issue.

Previous discussion

pypa/pip#8102 (comment) and following comments has some more context.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp