Skip to content

Conversation

@hmaarrfk
Copy link
Contributor

See warning in scipy 1.9's documentation.
See warning in https://docs.scipy.org/doc/scipy-1.9.0/reference/generated/scipy.stats.mode.html

The SPEC0 suggests that scipy 1.8 be dropped in 2024, but I think it is OK to drop it a little early.

If you don't want to drop it, we could add a version check for the keyword argument, but that seems a little much.

The keyword argument keepdims was added in scipy 1.9

xref: #2290

See warning in scipy 1.9's documentation.
See warning in https://docs.scipy.org/doc/scipy-1.9.0/reference/generated/scipy.stats.mode.html

The SPEC0 suggests that scipy 1.8 be dropped in 2024, but I think it is
OK to drop it a little early.

If you don't want to drop it, we could add a version check for the
keyword argument, but that seems a little much.

The keyword argument `keepdims` was added in scipy 1.9

xref: DeepLabCut#2290
@MMathisLab MMathisLab requested a review from jeylau October 2, 2023 19:15
@MMathisLab MMathisLab added the backwards compatibility issues concerning prior to current versions label Oct 2, 2023
@MMathisLab
Copy link
Member

NOTE: this would drop 3.7 support, but I think it's fine?

Screen Shot 2023-10-02 at 9 17 05 PM

@hmaarrfk
Copy link
Contributor Author

hmaarrfk commented Oct 2, 2023

SPEC0 (not that you are forced to support it) would even have you drop Python 3.8 and 3.9 today ;)

https://scientific-python.org/specs/spec-0000/

Copy link
Contributor

@jeylau jeylau left a comment

Choose a reason for hiding this comment

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

Great, thanks @hmaarrfk!

@MMathisLab MMathisLab merged commit c6ec391 into DeepLabCut:main Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards compatibility issues concerning prior to current versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants