Skip to content

Fix setuptools.depends:get_module_constant() on Python 3.13.0a1#4094

Merged
abravalheri merged 1 commit intopypa:mainfrom
hroncok:opmap
Nov 20, 2023
Merged

Fix setuptools.depends:get_module_constant() on Python 3.13.0a1#4094
abravalheri merged 1 commit intopypa:mainfrom
hroncok:opmap

Conversation

@hroncok
Copy link
Copy Markdown
Contributor

@hroncok hroncok commented Oct 26, 2023

Summary of changes

Don't hardcode opcode numbers, look them up instead.

Fixes #4090

Pull Request Checklist

Don't hardcode opcode numbers, look them up instead.

Fixes pypa#4090
Copy link
Copy Markdown
Contributor

@abravalheri abravalheri left a comment

Choose a reason for hiding this comment

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

Thank you very much @hroncok. Probably we can add this to the next release of setuptools (which I am planning for some time around the beginning of the month, but may change if Jason has a different idea).

@abravalheri abravalheri merged commit 29f052d into pypa:main Nov 20, 2023
@hroncok hroncok deleted the opmap branch November 21, 2023 11:58
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] setuptools.depends:get_module_constant returns None on Python 3.13.0a1

2 participants