Skip to content

Deprecation notice for distutils still being spammed for MacOS users #11225

@hack-r

Description

@hack-r

Description

The issue from #10712 persists, as the last comments on the Issue mentioned prior to it being locked. This was not resolved by newer Python versions.

Currently, I'm seeing it appear very frequently with Python 3.9.13 but it affects a number of my machines and Python installations. It's often repeated at least 4 times per package being installed.

Expected behavior

Print the message at most once. Have some way to silence it.

pip version

21.1.1, 22.1.2

Python version

3.9.13

OS

MacOS 11.6.7 and 12.1

How to Reproduce

Install any package with pip

Output

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621


### Code of Conduct

- [X] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions