File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -59,21 +59,20 @@ jobs:
59
59
chmod +x scripts/bash/install_opencv.sh
60
60
- name : install pip_dependencies
61
61
run : |
62
- pip install -U pip wheel
63
- pip install "numpy<2.0.0"
64
- pip install -U .[asyncio] six httpx yt_dlp paramiko
62
+ pip install -U pip wheel numpy cython
65
63
pip uninstall opencv-python -y
66
- pip install -U flake8 codecov pytest pytest-asyncio pytest-cov mpegdash m3u8 async-asgi-testclient
67
- pip install -U deffcode
68
64
if : success()
69
65
- name : run prepare_dataset_script
70
66
run : bash scripts/bash/prepare_dataset.sh
71
67
shell : bash
72
68
- name : run install_opencv_script
73
69
run : bash scripts/bash/install_opencv.sh
74
70
shell : bash
75
- - name : recheck pip_dependencies
76
- run : pip install .[core]
71
+ - name : recheck and install pip_dependencies
72
+ run : |
73
+ pip install -U .[asyncio] six httpx yt_dlp paramiko
74
+ pip install -U flake8 codecov pytest pytest-asyncio pytest-cov mpegdash m3u8 async-asgi-testclient
75
+ pip install -U deffcode
77
76
- name : pytest with_ENV
78
77
run : |
79
78
mkdir -p $HOME/logs
Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ def test_opencv():
46
46
)
47
47
)
48
48
except ImportError :
49
- print (
50
- "No compatible OpenCV Installation found on this machine!"
51
- )
52
49
return True
53
50
return False
54
51
@@ -111,7 +108,7 @@ def latest_version(package_name):
111
108
"yt_dlp{}" .format (latest_version ("yt_dlp" )),
112
109
"pyzmq{}" .format (latest_version ("pyzmq" )),
113
110
"Pillow" ,
114
- "simplejpeg>=1.7.3 " , # Requires-Python >=3.9 for v1.7.4
111
+ "simplejpeg" , # Requires-Python >=3.9 for v1.7.4
115
112
"mss{}" .format (latest_version ("mss" )),
116
113
"pyscreenshot{}" .format (latest_version ("pyscreenshot" )),
117
114
]
@@ -124,7 +121,7 @@ def latest_version(package_name):
124
121
"asyncio" : [
125
122
"yt_dlp{}" .format (latest_version ("yt_dlp" )),
126
123
"pyzmq{}" .format (latest_version ("pyzmq" )),
127
- "simplejpeg>=1.7.3 " , # Requires-Python >=3.9 for v1.7.4
124
+ "simplejpeg" , # Requires-Python >=3.9 for v1.7.4
128
125
"mss{}" .format (latest_version ("mss" )),
129
126
"Pillow" ,
130
127
"pyscreenshot{}" .format (latest_version ("pyscreenshot" )),
You can’t perform that action at this time.
0 commit comments