Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace condition to patch distutils.dist.log #3709

Merged
merged 4 commits into from Nov 24, 2022
Merged

Conversation

abravalheri
Copy link
Contributor

As distutils.log.Log was backfilled for compatibility we no longer can use this as a condition.

Summary of changes

  • Replace protection condition.

Closes #3707

Pull Request Checklist

As `distutils.log.Log` was backfilled for compatibility we no longer can
use this as a condition.
@abravalheri
Copy link
Contributor Author

abravalheri commented Nov 23, 2022

It seems that the reason why the problem in #3707 was not captured by the existing tests is that the bug requires an unusual arrangement to be triggered:

  • setup.py using tuples for classifiers and similar fields.

@abravalheri abravalheri marked this pull request as ready for review November 23, 2022 20:35
@sryabkov
Copy link

sryabkov commented Nov 23, 2022

@jaraco Sorry to bug you, but it looks like @abravalheri is waiting on your review. Just wanted to let you know that setuptools release 65.6.1 broke our CI this morning, and then 65.6.2 broke it again. We use a layer of indirection on top of pip (poetry), and it looks like poetry install calls pip, which always pulls the latest version of setuptools, which is currently broken for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] AttributeError: module 'distutils.log' has no attribute 'warning'
7 participants