You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
This project has descended into dependency hell #48
The latest required version of iopaint (1.6.0) demands: diffusers==0.27.2 huggingface-hub==0.25.2 Pillow==9.5.0
However, scikit-image (required by the codebase) requires Pillow≥10.1.
Meanwhile, the requirements.txt specifies transformers≥4.50.0
but transformers 4.50.0 requires huggingface-hub<1.0,≥0.26.0
You're absolutely right — the dependency conflicts are real and quite frustrating to deal with manually.
This is exactly why the auto-installer exists. It handles the installation in the correct order and with the right version pinning to avoid these conflicts. I highly recommend using it instead of manual installation.
The root cause is that iopaint is no longer actively maintained, which leads to these version mismatches as other dependencies evolve. The ideal solution would be to fork iopaint, strip it down to the minimum required functionality for this project, and maintain that fork independently.
If anyone from the community would like to contribute to the project in this way, it would be greatly appreciated! Feel free to reach out or submit a PR if you're interested in helping with this effort.
The dependency conflict remains open. Installing IOPaint with --no-deps skips its declared requirements; it does not establish that the resulting environment is compatible. The CI added in #82 checks a lightweight test environment, not the complete application installation.
The application currently uses IOPaint for ModelManager(name="lama"), its request/configuration types, and a CLI fallback for downloading LaMA. This is a much smaller scope than the full package. Upstream IOPaint has also been archived since August 13, 2025.
Proposed direction: isolate LaMA behind a small internal adapter, then compare a minimal maintained extraction with a focused fork. A full IOPaint fork would also take on unrelated models, UI and dependency maintenance. The adapter/extraction is the preferred investigation path; it is not implemented or validated yet.
Scope and acceptance criteria:
Preserve the existing image/mask interface, color order, output dimensions, crop/padding behavior and compositing outside the mask. Use the current crop settings as the comparison baseline.
Audit the LaMA implementation and model-weight provenance; preserve applicable license notices and attribution. Pin the source revision and verify model downloads against a trusted checksum.
Replace the IOPaint CLI download fallback with an explicit cache/download path. Test missing, cached, corrupt and interrupted downloads without downloading large models in ordinary unit tests.
Remove IOPaint and any dependencies or compatibility shims that are proven unnecessary. Align all three installers and dependency declarations. A clean full application install must resolve normally and pass pip check.
Add CPU tests for mask handling, odd/small image dimensions and crop boundaries, plus a real-model integration check on a redistributable fixture. Compare image and video results against the current LaMA path. Record CUDA validation separately; do not claim MPS support without testing it.
Exercise fresh installs on Windows, Linux and macOS. Successful lightweight CI alone is insufficient evidence for this change.
Related reports: #49/#62 (installer success reported as failure), #58 (Python 3.13 import compatibility), and #47/#69 (installation/runtime failures). The installer status bug should be fixed independently of the larger dependency change.
Activity
D-Ogi commentedon Jan 2, 2026
You're absolutely right — the dependency conflicts are real and quite frustrating to deal with manually.
This is exactly why the auto-installer exists. It handles the installation in the correct order and with the right version pinning to avoid these conflicts. I highly recommend using it instead of manual installation.
The root cause is that
iopaintis no longer actively maintained, which leads to these version mismatches as other dependencies evolve. The ideal solution would be to forkiopaint, strip it down to the minimum required functionality for this project, and maintain that fork independently.If anyone from the community would like to contribute to the project in this way, it would be greatly appreciated! Feel free to reach out or submit a PR if you're interested in helping with this effort.
D-Ogi commentedon Sep 16, 2026
The dependency conflict remains open. Installing IOPaint with
--no-depsskips its declared requirements; it does not establish that the resulting environment is compatible. The CI added in #82 checks a lightweight test environment, not the complete application installation.The application currently uses IOPaint for
ModelManager(name="lama"), its request/configuration types, and a CLI fallback for downloading LaMA. This is a much smaller scope than the full package. Upstream IOPaint has also been archived since August 13, 2025.Proposed direction: isolate LaMA behind a small internal adapter, then compare a minimal maintained extraction with a focused fork. A full IOPaint fork would also take on unrelated models, UI and dependency maintenance. The adapter/extraction is the preferred investigation path; it is not implemented or validated yet.
Scope and acceptance criteria:
pip check.Related reports: #49/#62 (installer success reported as failure), #58 (Python 3.13 import compatibility), and #47/#69 (installation/runtime failures). The installer status bug should be fixed independently of the larger dependency change.
Replace IOPaint with a verified standalone LaMA runtime (D-Ogi#88)
Replace IOPaint with a verified standalone LaMA runtime (D-Ogi#88)