Compare commits

...

18 Commits

Author SHA1 Message Date
bashonly 92ae93d3a4
Merge 1804055dd2 into 89f535e265 2024-04-23 20:57:37 +02:00
bashonly 89f535e265
[ci] Fix `curl-cffi` installation (Bugfix for 02483bea1c)
Authored by: bashonly
2024-04-22 20:36:01 +00:00
bashonly 1804055dd2
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-04-01 12:53:29 -05:00
bashonly bd43228f06
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-03-17 01:56:07 -05:00
bashonly 8afe9d1f10
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-03-14 18:40:09 -05:00
bashonly 23ad448446
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-03-04 11:01:23 -06:00
bashonly 5da26be37e
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-02-24 13:13:50 -06:00
bashonly 67a0e2f53b
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-02-18 15:32:34 -06:00
bashonly 124bdfcb18
fix merge commit typos 2024-02-12 23:44:22 +00:00
bashonly 0cb4c3a635
Merge branch 'master' into rls/arm-ubuntu-bump 2024-02-12 17:42:16 -06:00
bashonly 872d3a67cf
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2023-12-30 16:11:14 -06:00
bashonly 69d330adea
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2023-12-21 15:12:17 -06:00
bashonly 15dbcbb9cb
[update] Improve blocked update message
Authored by: bashonly
2023-11-22 09:50:00 -06:00
bashonly 33b43c5db5
[build] Lock updates for older versions of glibc
Authored by: bashonly
2023-11-22 09:49:19 -06:00
bashonly e7959745a8
[build] Try to update all pip-installed packages
Authored by: bashonly
2023-11-21 23:47:05 -06:00
bashonly 043390f4b4
[build] Sync cached deps with requirements.txt
Authored by: bashonly
2023-11-21 23:47:05 -06:00
bashonly 6306be5398
[build] Install `secretstorage` with apt
Authored by: bashonly
2023-11-21 23:47:05 -06:00
bashonly 9778ff9aa6
[build] Use ubuntu 20.04 for Linux ARM builds
Authored by: bashonly
2023-11-21 23:47:04 -06:00
3 changed files with 14 additions and 7 deletions

View File

@ -201,19 +201,21 @@ jobs:
GITHUB_WORKFLOW: build
githubToken: ${{ github.token }} # To cache image
arch: ${{ matrix.architecture }}
distro: ubuntu18.04 # Standalone executable should be built on minimum supported OS
distro: ubuntu20.04 # Standalone executable should be built on minimum supported OS
dockerRunArgs: --volume "${PWD}/repo:/repo"
install: | # Installing Python 3.10 from the Deadsnakes repo raises errors
apt update
apt -y install zlib1g-dev libffi-dev python3.8 python3.8-dev python3.8-distutils python3-pip
apt -y install zlib1g-dev libffi-dev python3.8 python3.8-dev python3.8-distutils python3-pip \
python3-secretstorage # Cannot build cryptography wheel in virtual armv7 environment
python3.8 -m pip install -U pip setuptools wheel
# Cannot access any files from the repo directory at this stage
python3.8 -m pip install -U Pyinstaller mutagen pycryptodomex websockets brotli certifi secretstorage cffi
# XXX: Keep this in sync with pyproject.toml (it can't be accessed at this stage) and exclude secretstorage
python3.8 -m pip install -U Pyinstaller mutagen pycryptodomex websockets brotli certifi cffi \
'requests>=2.31.0,<3' 'urllib3>=1.26.17,<3' 'websockets>=12.0'
run: |
cd repo
python3.8 devscripts/install_deps.py -o --include build
python3.8 devscripts/install_deps.py --include pyinstaller --include secretstorage # Cached version may be out of date
python3.8 devscripts/install_deps.py --include pyinstaller # Cached versions may be out of date
python3.8 devscripts/update-version.py -c "${{ inputs.channel }}" -r "${{ needs.process.outputs.origin }}" "${{ inputs.version }}"
python3.8 devscripts/make_lazy_extractors.py
python3.8 -m bundle.pyinstaller
@ -478,13 +480,17 @@ jobs:
lock 2022.08.18.36 .+ Python 3\.6
lock 2023.11.16 (?!win_x86_exe).+ Python 3\.7
lock 2023.11.16 win_x86_exe .+ Windows-(?:Vista|2008Server)
lock 2023.11.16 linux_(?:armv7l|aarch64)_exe .+ glibc 2\.(?:[12]|30)
lockV2 yt-dlp/yt-dlp 2022.08.18.36 .+ Python 3\.6
lockV2 yt-dlp/yt-dlp 2023.11.16 (?!win_x86_exe).+ Python 3\.7
lockV2 yt-dlp/yt-dlp 2023.11.16 win_x86_exe .+ Windows-(?:Vista|2008Server)
lockV2 yt-dlp/yt-dlp 2023.11.16 linux_(?:armv7l|aarch64)_exe .+ glibc 2\.(?:[12]|30)
lockV2 yt-dlp/yt-dlp-nightly-builds 2023.11.15.232826 (?!win_x86_exe).+ Python 3\.7
lockV2 yt-dlp/yt-dlp-nightly-builds 2023.11.15.232826 win_x86_exe .+ Windows-(?:Vista|2008Server)
lockV2 yt-dlp/yt-dlp-master-builds 2023.11.15.232812 (?!win_x86_exe).+ Python 3\.7
lockV2 yt-dlp/yt-dlp-master-builds 2023.11.15.232812 win_x86_exe .+ Windows-(?:Vista|2008Server)
lockV2 yt-dlp/yt-dlp-nightly-builds 2023.11.20.123456 linux_(?:armv7l|aarch64)_exe .+ glibc 2\.(?:[12]|30)
lockV2 yt-dlp/yt-dlp-master-builds 2023.11.20.987654 linux_(?:armv7l|aarch64)_exe .+ glibc 2\.(?:[12]|30)
EOF
- name: Sign checksum files

View File

@ -53,7 +53,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install test requirements
run: python3 ./devscripts/install_deps.py --include dev --include curl_cffi
run: python3 ./devscripts/install_deps.py --include dev --include curl-cffi
- name: Run tests
continue-on-error: False
run: |

View File

@ -335,7 +335,8 @@ def _process_update_spec(self, lockfile: str, resolved_tag: str):
continue
self._report_error(
f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version', True)
f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version '
'or your operating system is not compatible with the requested build', True)
return None
return resolved_tag