Compare commits

..

3 Commits

Author SHA1 Message Date
coletdjnz
f428986c63
Update .github/workflows/build.yml 2023-12-29 20:11:16 +13:00
coletdjnz
c0a6f72631
Update requirements.txt 2023-12-29 20:11:07 +13:00
coletdjnz
dbedc1e88e
Update yt_dlp/networking/websocket.py 2023-12-29 20:10:56 +13:00
3 changed files with 4 additions and 4 deletions

View File

@ -245,8 +245,8 @@ jobs:
gsed -i -E '/^curl_cffi.*/d' requirements.txt
python3 -m pip install -U --user --no-binary :all: Pyinstaller>=6.3 -r requirements.txt
mkdir curl_cffi_whls curl_cffi_universal2
python3 -m pip download --only-binary=:all: --platform macosx_11_0_arm64 curl_cffi>=0.5.9,<0.6.0 --pre -d curl_cffi_whls
python3 -m pip download --only-binary=:all: --platform macosx_11_0_x86_64 curl_cffi>=0.5.9,<0.6.0 --pre -d curl_cffi_whls
python3 -m pip download --only-binary=:all: --platform macosx_11_0_arm64 curl_cffi>=0.5.10,<0.6.0 --pre -d curl_cffi_whls
python3 -m pip download --only-binary=:all: --platform macosx_11_0_x86_64 curl_cffi>=0.5.10,<0.6.0 --pre -d curl_cffi_whls
python3 -m delocate.cmd.delocate_fuse curl_cffi_whls/curl_cffi* -w curl_cffi_universal2
python3 -m delocate.cmd.delocate_fuse curl_cffi_whls/cffi-* -w curl_cffi_universal2
cd curl_cffi_universal2

View File

@ -9,4 +9,4 @@ urllib3>=1.26.17,<3
websockets>=12.0
# curl_cffi has builds for Linux aarch64, however Termux has issues with it: https://github.com/yifeikong/curl_cffi/issues/74
# pypy does not work with curl_cffi
curl_cffi>=0.5.9,<0.6.0; implementation_name=='cpython' and ((sys_platform == "win32" and platform_machine == "AMD64") or (sys_platform == "linux" and platform_machine == "x86_64") or sys_platform == "darwin")
curl_cffi>=0.5.10,<0.6.0; implementation_name=='cpython' and ((sys_platform == "win32" and platform_machine == "AMD64") or (sys_platform == "linux" and platform_machine == "x86_64") or sys_platform == "darwin")

View File

@ -2,7 +2,7 @@ from __future__ import annotations
import abc
from .common import RequestHandler, Response
from .common import Response, RequestHandler
class WebSocketResponse(Response):