Skip to content

Conversation

psychedelicious
Copy link
Collaborator

Summary

Fixes errors like AttributeError: module 'cv2.ximgproc' has no attribute 'thinning' which occur because there is a conflict between our own opencv-contrib-python dependency and the invisible-watermark library's opencv-python.

Related Issues / Discussions

QA Instructions

I tested this change by:

  • Testing watermarking functionality (you can just run the node directly on an image)
  • Test installing and running SDXL Refiner (there was a note in pyproject.toml about the invisible-watermark package being required to install the Refiner - seems to no longer be an issue as I was able to install and run Refiner just fine)

This fixes the dependencies; affected users will need to reinstall in Repair Mode to bring in the fix.

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files Root backend PRs that change backend files python-deps PRs that change python dependencies labels Aug 23, 2025
@psychedelicious psychedelicious force-pushed the psyche/feat/app/vendor-invisible-watermark branch from 8c28fcb to fcc7e17 Compare August 23, 2025 01:48
Fixes errors like `AttributeError: module 'cv2.ximgproc' has no
attribute 'thinning'` which occur because there is a conflict between
our own `opencv-contrib-python` dependency and the `invisible-watermark`
library's `opencv-python`.
@psychedelicious psychedelicious force-pushed the psyche/feat/app/vendor-invisible-watermark branch from fcc7e17 to c9e0471 Compare August 23, 2025 01:51
@psychedelicious psychedelicious merged commit f4219d5 into main Aug 23, 2025
13 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/app/vendor-invisible-watermark branch August 23, 2025 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files python PRs that change python files python-deps PRs that change python dependencies Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv dependency override for opencv-contrib-python does not work for PyPI installation
2 participants