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

Bugfix/setuptools circular import workaround #60

Merged
merged 3 commits into from
Aug 19, 2023

Conversation

sjlongland
Copy link
Collaborator

Cherry-pick of the fixes from PR#59 to address issues in setuptools.

See pypa/setuptools#3744 for rationale,
basically there is a circular dependency that prevents the module from
being imported in some circumstances.

The issue described can be observed both in Github Actions (Ubuntu) and
on Gentoo Linux/AMD64.
Otherwise Python 3.6 breaks.
Copy link
Owner

@diazona diazona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me. I'd just suggest creating an issue as a reminder to remove the restriction when we can. (As for whether that means removing it permanently because there's an upstream fix, or just switching it out for some less onerous restriction, we can figure that out as we go)

@diazona diazona merged commit 3a2243c into main Aug 19, 2023
@diazona diazona deleted the bugfix/setuptools-circular-import-workaround branch August 19, 2023 08:38
@sjlongland
Copy link
Collaborator Author

For what it's worth, setuptools version 68 is still used in Python 3.12… it's earlier versions the limit applies to -- largely because of the docs target which breaks.

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.

2 participants