Skip to content

Remove Numpy version pin; general linting and typing updates#17

Merged
rodvrees merged 2 commits intomainfrom
fix/linting-and-numpy-pin
Jan 8, 2026
Merged

Remove Numpy version pin; general linting and typing updates#17
rodvrees merged 2 commits intomainfrom
fix/linting-and-numpy-pin

Conversation

@RalfG
Copy link
Member

@RalfG RalfG commented Jan 8, 2026

Changed

  • Remove Numpy version pin to allow both Numpy v1 and v2
  • Update type hint notation to using operators (e.g. |) as introduced in Python 3.10
  • General linting and typing fixes

@RalfG
Copy link
Member Author

RalfG commented Jan 8, 2026

@rodvrees, I do not expect any issues with Numpy 2 support, but did not run a test yet. Could you do that before merging? Thanks!

@rodvrees
Copy link
Member

rodvrees commented Jan 8, 2026

Had to make a new version of https://github.com/rodvrees/IM2DeepTrainer (also unpinning dependencies), but is good to go now.

@rodvrees rodvrees merged commit 07e227e into main Jan 8, 2026
@rodvrees rodvrees deleted the fix/linting-and-numpy-pin branch January 8, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants