Skip to content

Commit 054d4ca

Browse files
committed
🔧 Debugging bugs
1 parent eb9b7be commit 054d4ca

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/ci_linux.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,20 @@ jobs:
5959
chmod +x scripts/bash/install_opencv.sh
6060
- name: install pip_dependencies
6161
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
6563
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
6864
if: success()
6965
- name: run prepare_dataset_script
7066
run: bash scripts/bash/prepare_dataset.sh
7167
shell: bash
7268
- name: run install_opencv_script
7369
run: bash scripts/bash/install_opencv.sh
7470
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
7776
- name: pytest with_ENV
7877
run: |
7978
mkdir -p $HOME/logs

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ def test_opencv():
4646
)
4747
)
4848
except ImportError:
49-
print(
50-
"No compatible OpenCV Installation found on this machine!"
51-
)
5249
return True
5350
return False
5451

@@ -111,7 +108,7 @@ def latest_version(package_name):
111108
"yt_dlp{}".format(latest_version("yt_dlp")),
112109
"pyzmq{}".format(latest_version("pyzmq")),
113110
"Pillow",
114-
"simplejpeg>=1.7.3", # Requires-Python >=3.9 for v1.7.4
111+
"simplejpeg", # Requires-Python >=3.9 for v1.7.4
115112
"mss{}".format(latest_version("mss")),
116113
"pyscreenshot{}".format(latest_version("pyscreenshot")),
117114
]
@@ -124,7 +121,7 @@ def latest_version(package_name):
124121
"asyncio": [
125122
"yt_dlp{}".format(latest_version("yt_dlp")),
126123
"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
128125
"mss{}".format(latest_version("mss")),
129126
"Pillow",
130127
"pyscreenshot{}".format(latest_version("pyscreenshot")),

0 commit comments

Comments
 (0)