Move imgaug from core dependencies to TensorFlow extras - #3417
Open
natsukium wants to merge 1 commit into
Open
Conversation
imgaug has not had a release since 0.4.0 (February 2020). Its pinned transitive dependencies hold back updates of many other packages and block adoption of newer Python versions, which is increasingly painful to maintain in the base install.
natsukium
force-pushed
the
move-imgaug-to-tf-extras
branch
from
July 20, 2026 13:29
fc59b3a to
3fc0d23
Compare
deruyter92
approved these changes
Jul 22, 2026
deruyter92
left a comment
Collaborator
There was a problem hiding this comment.
Yes, this absolutely an improvement. LGTM!
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of all, thank you for building such a wonderful library and congratulations on the v3 release rewritten on PyTorch 🎉.
While looking through the v3 dependency tree, I noticed that
imgaugcan now be dropped from the core dependencies. It has had no release since 0.4.0 back in February 2020 and is effectively unmaintained. Carrying an abandoned package in the base install is a growing burden, both for long-term maintainability and from a supply-chain security standpoint.Every remaining
import imgauglives underdeeplabcut/pose_estimation_tensorflow/, so it is only used by the older TensorFlow-based workflow. This PR therefore movesimgaugfrom the core dependencies to the TensorFlow extras (tf,tf-cu11,tf-cu12,tf-latest) and regeneratesuv.lockto match.I ran pytest after removing it from the core dependencies and everything passed, so this should be a safe move.