Skip to content

Move imgaug from core dependencies to TensorFlow extras - #3417

Open
natsukium wants to merge 1 commit into
DeepLabCut:mainfrom
natsukium:move-imgaug-to-tf-extras
Open

Move imgaug from core dependencies to TensorFlow extras#3417
natsukium wants to merge 1 commit into
DeepLabCut:mainfrom
natsukium:move-imgaug-to-tf-extras

Conversation

@natsukium

Copy link
Copy Markdown

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 imgaug can 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 imgaug lives under deeplabcut/pose_estimation_tensorflow/, so it is only used by the older TensorFlow-based workflow. This PR therefore moves imgaug from the core dependencies to the TensorFlow extras (tf, tf-cu11, tf-cu12, tf-latest) and regenerates uv.lock to match.

I ran pytest after removing it from the core dependencies and everything passed, so this should be a safe move.

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
natsukium force-pushed the move-imgaug-to-tf-extras branch from fc59b3a to 3fc0d23 Compare July 20, 2026 13:29

@deruyter92 deruyter92 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, this absolutely an improvement. LGTM!

@deruyter92
deruyter92 requested review from AlexEMG and MMathisLab July 28, 2026 18:06
@deruyter92 deruyter92 added the dependencies Pull requests that update a dependency file label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants