Skip to content

Replace removed np.object alias with builtin object - #3407

Merged
C-Achard merged 1 commit into
DeepLabCut:external/hwang-misc-fixesfrom
Denny-Hwang:fix/np-object-removed
Jul 16, 2026
Merged

Replace removed np.object alias with builtin object#3407
C-Achard merged 1 commit into
DeepLabCut:external/hwang-misc-fixesfrom
Denny-Hwang:fix/np-object-removed

Conversation

@Denny-Hwang

Copy link
Copy Markdown
Contributor

test.py used np.zeros(..., dtype=np.object). np.object was a deprecated alias for the builtin object and was removed in numpy 1.24, so it raises AttributeError under the pinned numpy (>=1.18.5,<2 resolves to 1.26). Use dtype=object.

test.py used np.zeros(..., dtype=np.object). np.object was a deprecated
alias for the builtin object and was removed in numpy 1.24, so it
raises AttributeError under the pinned numpy (>=1.18.5,<2 resolves to
1.26). Use dtype=object.
@C-Achard C-Achard added the bug fix! fix for a real buggy one... label Jul 15, 2026
@C-Achard
C-Achard changed the base branch from main to external/hwang-misc-fixes July 16, 2026 07:23
@C-Achard
C-Achard merged commit 252cf16 into DeepLabCut:external/hwang-misc-fixes Jul 16, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix! fix for a real buggy one...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants