Skip to content

Commit 7ec98d1

Browse files
Fix flat namespace issue in OpenCV libraries
1 parent 0e5707c commit 7ec98d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Formula/label-studio.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ class LabelStudio < Formula
1717
depends_on "postgresql@14"
1818
depends_on "[email protected]" # Apple's Pypthon distribution does not include pip
1919

20+
# Skip dylib ID change for jiter and OpenCV libraries that have flat namespace issues
21+
skip_clean "libexec/lib/python3.10/site-packages/cv2/.dylibs"
22+
skip_clean "libexec/lib/python3.10/site-packages/jiter"
23+
2024
def install
2125
python3 = "python3.10"
2226
venv = virtualenv_create(libexec, python3, system_site_packages: true, without_pip: false)

0 commit comments

Comments
 (0)