downgrade opencv for macos in requirements.txt and Pipfile

This commit is contained in:
scito committed 2022-12-30 19:26:45 +01:00
1 parent 7eb6f036ab
commit 10ff533a42
2 files changed
+5 -2

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ qrcode = "*"
pillow = "*" pillow = "*"
qreader = "*" qreader = "*"
opencv-python = "*" opencv-python = "*"
# for macOS: opencv-python = "<=4.7.0"
# for PYTHON <= 3.7: typing_extensions = "*"
[dev-packages] [dev-packages]
pytest = "*" pytest = "*"
+3 -2
View File
@@ -2,6 +2,7 @@ protobuf
qrcode qrcode
Pillow Pillow
qreader qreader
opencv-python opencv-python<=4.7.0; sys_platform == 'darwin'
opencv-python; sys_platform != 'darwin'
pyzbar pyzbar
typing_extensions # PYTHON < 3.11: add types typing_extensions; python_version<='3.7'