Skip to content

Fix build with setuptools v70.0.0#211

Merged
albertosottile merged 1 commit into
py2exe:masterfrom
lazka:fix-build-with-newer-setuptools
Jul 19, 2024
Merged

Fix build with setuptools v70.0.0#211
albertosottile merged 1 commit into
py2exe:masterfrom
lazka:fix-build-with-newer-setuptools

Conversation

@lazka

@lazka lazka commented Jul 18, 2024

Copy link
Copy Markdown
Contributor

Setuptools v70.0.0 removed the setuptools.dep_util module and added a replacement called setuptools.modified. The replacement exists since v69.0.0.

To avoid dropping support for older setuptools (in case people have pinned it due to this issue) try the old name too if needed.

Fixes #208

Setuptools v70.0.0 removed the setuptools.dep_util module and added
a replacement called setuptools.modified. The replacement exists since
v69.0.0.

To avoid dropping support for older setuptools (in case people have pinned
it due to this issue) try the old name too if needed.

Fixes py2exe#208
@albertosottile

Copy link
Copy Markdown
Member

I cannot run CI due to matplotlib (and, maybe, other stuff) but the patch LGTM. Thanks for this contribution.

@albertosottile albertosottile merged commit 05d9339 into py2exe:master Jul 19, 2024
@lazka

lazka commented Jul 20, 2024

Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setuptools.dep_util is deprecated and will be removed soon. Alternative suggested is setuptools.modified.

2 participants