Skip to content

MAINT Bump versions to match oldest-supported-numpy#22674

Merged
ogrisel merged 4 commits intoscikit-learn:mainfrom
thomasjpfan:bump_numpy_to_match_oldest_supported
Mar 4, 2022
Merged

MAINT Bump versions to match oldest-supported-numpy#22674
ogrisel merged 4 commits intoscikit-learn:mainfrom
thomasjpfan:bump_numpy_to_match_oldest_supported

Conversation

@thomasjpfan
Copy link
Copy Markdown
Member

Reference Issues/PRs

Follow up to #22617

What does this implement/fix? Explain your changes.

This PR bumps the NumPy minimal dependency to match the ones seen in oldest-supported-numpy

CC @ogrisel

@jeremiedbb
Copy link
Copy Markdown
Member

I think it's worth checking what backward compat tool is not necessary anymore when bumping the min version of the dependencies. Otherwise we end up keeping dead code in the code base for a long time. I think this bump only allows to remove

if np_version < parse_version("1.17"):

Copy link
Copy Markdown
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM!

@ogrisel
Copy link
Copy Markdown
Member

ogrisel commented Mar 4, 2022

I did a bunch of quick git greps and could not find other occurrences of #22674 (comment).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants