FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Address underlying compatibility issue with scipy 1.11.0 by hmaarrfk · Pull Request #2396 · DeepLabCut/DeepLabCut · GitHub

Address underlying compatibility issue with scipy 1.11.0 - #2396

Merged
MMathisLab merged 1 commit into
DeepLabCut:mainfrom
hmaarrfk:fix_scipy_1.11
Oct 3, 2023
Merged

Address underlying compatibility issue with scipy 1.11.0#2396
MMathisLab merged 1 commit into
DeepLabCut:mainfrom
hmaarrfk:fix_scipy_1.11

Conversation

Copy link
Copy Markdown
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 requested a review from jeylau October 2, 2023 19:15
MMathisLab added the backwards compatibility issues concerning prior to current versions label Oct 2, 2023

Copy link
Copy Markdown
Member

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

hmaarrfk commented Oct 2, 2023

Copy link
Copy Markdown
Contributor Author

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/

jeylau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Great, thanks @hmaarrfk!

MMathisLab merged commit c6ec391 into DeepLabCut:main Oct 3, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL