Compare commits

...

28 Commits

Author SHA1 Message Date
bashonly
481572efd6
Merge e4af01ee99 into 87408ccfd7 2024-10-20 23:44:23 +02:00
bashonly
e4af01ee99
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-10-15 21:34:57 -05:00
bashonly
27cf7e1b77
fix lockfile regex
Authored by: bashonly
2024-09-27 14:26:20 -05:00
bashonly
59abc2fc4d
bump to python 3.9
Authored by: bashonly
2024-09-26 16:13:10 -05:00
bashonly
93e5c3bd3b
sync build workflow job with pyproject.toml
Authored by: bashonly
2024-09-26 16:10:04 -05:00
bashonly
b82af15e1f
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-09-26 16:05:40 -05:00
bashonly
a4f4ca96d7
Merge branch 'master' into rls/arm-ubuntu-bump 2024-07-21 17:03:08 -05:00
bashonly
14f939311e
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-07-10 19:08:01 -05:00
bashonly
3f779e94dc
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-07-01 22:37:45 -05:00
bashonly
f9dbd6052d
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-06-12 01:04:44 -05:00
bashonly
b26045c132
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-05-29 15:51:25 -05:00
bashonly
11f2cb1197
Merge branch 'yt-dlp:master' into rls/arm-ubuntu-bump 2024-05-04 11:17:04 -05: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
2 changed files with 18 additions and 11 deletions

View File

@ -199,22 +199,24 @@ jobs:
GITHUB_WORKFLOW: build GITHUB_WORKFLOW: build
githubToken: ${{ github.token }} # To cache image githubToken: ${{ github.token }} # To cache image
arch: ${{ matrix.architecture }} 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" dockerRunArgs: --volume "${PWD}/repo:/repo"
install: | # Installing Python 3.10 from the Deadsnakes repo raises errors install: | # Installing Python 3.10 from the Deadsnakes repo raises errors
apt update 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.9 python3.9-dev python3.9-distutils python3-pip \
python3.8 -m pip install -U pip setuptools wheel python3-secretstorage # Cannot build cryptography wheel in virtual armv7 environment
# Cannot access any files from the repo directory at this stage python3.9 -m pip install -U pip wheel 'setuptools>=71.0.2'
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.9 -m pip install -U Pyinstaller mutagen pycryptodomex brotli certifi cffi \
'requests>=2.32.2,<3' 'urllib3>=1.26.17,<3' 'websockets>=13.0'
run: | run: |
cd repo cd repo
python3.8 devscripts/install_deps.py -o --include build python3.9 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.9 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.9 devscripts/update-version.py -c "${{ inputs.channel }}" -r "${{ needs.process.outputs.origin }}" "${{ inputs.version }}"
python3.8 devscripts/make_lazy_extractors.py python3.9 devscripts/make_lazy_extractors.py
python3.8 -m bundle.pyinstaller python3.9 -m bundle.pyinstaller
if ${{ vars.UPDATE_TO_VERIFICATION && 'true' || 'false' }}; then if ${{ vars.UPDATE_TO_VERIFICATION && 'true' || 'false' }}; then
arch="${{ (matrix.architecture == 'armv7' && 'armv7l') || matrix.architecture }}" arch="${{ (matrix.architecture == 'armv7' && 'armv7l') || matrix.architecture }}"
@ -537,13 +539,17 @@ jobs:
lock 2022.08.18.36 .+ Python 3\.6 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).+ Python 3\.7
lock 2023.11.16 win_x86_exe .+ Windows-(?:Vista|2008Server) lock 2023.11.16 win_x86_exe .+ Windows-(?:Vista|2008Server)
lock 2023.11.16 linux_(?:armv7l|aarch64)_exe .+ glibc 2\.(?:[12]?\d|30)\b
lockV2 yt-dlp/yt-dlp 2022.08.18.36 .+ Python 3\.6 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).+ 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 win_x86_exe .+ Windows-(?:Vista|2008Server)
lockV2 yt-dlp/yt-dlp 2023.11.16 linux_(?:armv7l|aarch64)_exe .+ glibc 2\.(?:[12]?\d|30)\b
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).+ 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-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).+ 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-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]?\d|30)\b
lockV2 yt-dlp/yt-dlp-master-builds 2023.11.20.987654 linux_(?:armv7l|aarch64)_exe .+ glibc 2\.(?:[12]?\d|30)\b
EOF EOF
- name: Sign checksum files - name: Sign checksum files

View File

@ -362,7 +362,8 @@ class Updater:
continue continue
self._report_error( 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 None
return resolved_tag return resolved_tag