Skip to content

MAINT: Raise RuntimeError if setuptools version is too recent.#20759

Merged
rgommers merged 1 commit intonumpy:mainfrom
charris:fix-20692
Jan 7, 2022
Merged

MAINT: Raise RuntimeError if setuptools version is too recent.#20759
rgommers merged 1 commit intonumpy:mainfrom
charris:fix-20692

Conversation

@charris
Copy link
Member

@charris charris commented Jan 7, 2022

NumPy does not build with setuptools versions greater than '60.0.0'.
Check the version when setuptools is imported in setup.py and raise
a RuntimeError if the version is too recent. That way we avoid people
opening issues when their build fails for that reason.

Closes #20692.

NumPy does not build with setuptools versions greater than '60.0.0'.
Check the version when setuptools is imported in setup.py and raise
a RuntimeError if the version is too recent. That way we avoid people
opening issues when their build fails for that reason.

Closes numpy#20692.
@charris charris added 03 - Maintenance 09 - Backport-Candidate PRs tagged should be backported 36 - Build Build related PR labels Jan 7, 2022
@charris charris added this to the 1.22.1 release milestone Jan 7, 2022
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @charris!

@rgommers rgommers merged commit f4a3e07 into numpy:main Jan 7, 2022
@charris charris deleted the fix-20692 branch January 11, 2022 19:47
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 11, 2022
@charris charris removed this from the 1.22.1 release milestone Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test failures for setuptools >= 60.0

2 participants