Commit Graph

224 Commits (3a2f25cdca6909baf02728f7c19173fddd552b0a)

Author SHA1 Message Date
bashonly 3763d0d4ab
[build] Improve nightly release check (#15455)
Authored by: bashonly
2 weeks ago
bashonly ab3ff2d5dd
[build] Harden CI/CD pipeline (#15387)
* NOTE: the release workflows' new handling of secrets
  may be a breaking change for forks that are using any secrets
  other than GPG_SIGNING_KEY or ARCHIVE_REPO_TOKEN.

  Previously, the release workflow would try to resolve a token
  secret name based on the `target` or `source` input,
  e.g. NIGHTLY_ARCHIVE_REPO_TOKEN or CUSTOM_ARCHIVE_REPO_TOKEN,
  and then fall back to using the ARCHIVE_REPO_TOKEN secret if the
  resolved token secret name was not found in the repository.

  This behavior has been replaced by the release workflow
  always using the ARCHIVE_REPO_TOKEN secret as the token
  for publishing releases to any external archive repository.

* Add zizmor CI job for auditing workflows

* Pin all actions to commit hashes instead of symbolic references

* Explicitly set GITHUB_TOKEN permissions at the job level

* Use actions/checkout with `persist-credentials: false` whenever possible

* Remove/replace template expansions in workflow scripts

* Remove all usage of actions/cache from build/release workflows

* Remove the cache-warmer.yml workflow

* Remove the unused download.yml workflow

* Set concurrency limits for any workflows that are triggered by PRs

* Avoid loading the entire secrets context

* Replace usage of `secrets: inherit` with explicit `secrets:` blocks

* Pin all external docker images to hash that are used by the build workflow

* Explicitly set `shell: bash` for some steps to avoid pwsh or set pipefail

* Ensure any pwsh steps will fail on non-zero exit codes

Authored by: bashonly
2 weeks ago
bashonly a6a8f6b6d6
[ci] Explicitly declare permissions and limit credentials (#15324)
Authored by: bashonly
4 weeks ago
bashonly 825648a740
[build] Bump official actions to latest versions (#15305)
* Bump actions/cache → v5
* Bump actions/upload-artifact → v6
* Bump actions/download-artifact → v7

Authored by: bashonly
4 weeks ago
bashonly 7a52ff29d8
[cleanup] Misc (#15016)
Closes #15160, Closes #15184
Authored by: bashonly, seproDev, RezSat, oxyzenQ

Co-authored-by: sepro <sepro@sepr0.com>
Co-authored-by: Yehan Wasura <yehantest@gmail.com>
Co-authored-by: rezky_nightky <with.rezky@gmail.com>
1 month ago
bashonly 29fe515d8d
[devscripts] `install_deps`: Align options/terms with PEP 735 (#15200)
Authored by: bashonly
1 month ago
bashonly 2801650268
[build] Bump PyInstaller minimum version requirement to 6.17.0 (#15199)
Ref: https://github.com/pyinstaller/pyinstaller/issues/9149

Authored by: bashonly
2 months ago
bashonly 335653be82
[cleanup] Misc (#14965)
Closes #14789
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
2 months ago
Simon Sawicki ade8c2b36f
[test] Skip flaky tests if source unchanged (#14970)
Authored by: bashonly, Grub4K
Co-authored-by: bashonly <bashonly@protonmail.com>
2 months ago
bashonly 646904cd3a
[build] Bump musllinux Python version to 3.14 (#14623)
Authored by: bashonly
2 months ago
Simon Sawicki 6224a38988
[ie/youtube] Implement external n/sig solver (#14157)
Closes #14404, Closes #14431, Closes #14680, Closes #14707

Authored by: bashonly, coletdjnz, seproDev, Grub4K

Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: sepro <sepro@sepr0.com>
3 months ago
bashonly 73922e66e4
[devscripts] Improve `install_deps` script (#14766)
Authored by: bashonly
3 months ago
bashonly de7b3c0705
[cleanup] Misc (#14701)
Authored by: bashonly
3 months ago
sepro dfc0a84c19
[docs] Update list of maintainers (#14148)
Authored by: seproDev, bashonly, coletdjnz

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
3 months ago
sepro c7bda2192a
[cleanup] Misc (#14594)
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
3 months ago
bashonly 4e6a693057
Remove Python 3.9 support (#13861)
Closes #13858
Authored by: bashonly
3 months ago
bashonly 2e81e298cd
[cleanup] Misc (#14268)
Closes #13427
Authored by: bashonly, seproDev, doe1080

Co-authored-by: sepro <sepro@sepr0.com>
Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
4 months ago
bashonly df4b4e8ccf
[build] Use PyInstaller 6.16 for Windows (#14318)
Authored by: bashonly
4 months ago
bashonly ae3923b6b2
[ci] Improve workflow checks (#14316)
Authored by: bashonly
4 months ago
bashonly e2d37bcc8e
[build] Refactor Linux build jobs (#14275)
Authored by: bashonly
4 months ago
bashonly 83b8409366
[ci] Test with Python 3.14 (#13468)
Authored by: bashonly
4 months ago
bashonly 22ea0688ed
[ci] Bump actions/setup-python to v6 (#14282)
Authored by: bashonly
4 months ago
bashonly c8ede5f34d
[build] Use new PyInstaller builds for Windows (#14273)
Authored by: bashonly
4 months ago
bashonly 8597a4331e
[build] Fix cache warmer (#14261)
Fix 50136eeeb3

Authored by: bashonly
4 months ago
sepro e6e6b51214
[docs] Clarify license of PyInstaller-bundled executables (#14257)
Closes #348

Authored by: seproDev
4 months ago
bashonly 7c9b10ebc8
[ci] Test and lint workflows (#14249)
Authored by: bashonly
4 months ago
bashonly cd94e70040
[build] Post-release workflow cleanup (#14250)
Authored by: bashonly
4 months ago
bashonly 50136eeeb3
[build] Overhaul Linux builds and refactor release workflow (#13997)
- Use `manylinux-shared` images for Linux builds
- Discontinue `yt-dlp_linux_armv7l`/`linux_armv7l_exe` release binary
- Add `yt-dlp_linux_armv7l.zip`/`linux_armv7l_dir` release binary
- Add `yt-dlp_musllinux` and `yt-dlp_musllinux_aarch64` release binaries
- Migrate `linux_exe` build strategy from staticx+musl to manylinux2014/glibc2.17
- Rewrite release.yml's "unholy bash monstrosity" as devscripts/setup_variables.py

Closes #10072, Closes #10630, Closes #10578, Closes #13976, Closes #13977, Closes #14106
Authored by: bashonly
4 months ago
bashonly 415b6d9ca8
[build] Post-release workflow cleanup (#14090)
Authored by: bashonly
5 months ago
bashonly 07247d6c20
[build] Add Windows ARM64 builds (#14003)
Adds yt-dlp_arm64.exe and yt-dlp_win_arm64.zip to release assets

Closes #13849
Authored by: bashonly
5 months ago
bashonly aea85d525e
[build] Discontinue `darwin_legacy_exe` support (#13860)
* Removes "yt-dlp_macos_legacy" from release assets
* Discontinues executable support for macOS < 10.15

Closes #13856
Authored by: bashonly
5 months ago
bashonly 681ed2153d
[build] Bump PyInstaller version to 6.15.0 for Windows (#14002)
Authored by: bashonly
5 months ago
bashonly 8175f3738f
[rh:requests] Bump minimum required version of urllib3 to 2.0.2 (#13939)
- urllib3 1.26.x gives unexpected results with partial reads: https://github.com/urllib3/urllib3/issues/2128
- urllib3 2.0.0 and 2.0.1 were yanked from PyPI: https://github.com/urllib3/urllib3/issues/3009

Closes #13927
Authored by: bashonly
5 months ago
bashonly 62e2a9c0d5
[ci] Bump supported PyPy version to 3.11 (#13877)
Ref: https://pypy.org/posts/2025/07/pypy-v7320-release.html

Authored by: bashonly
6 months ago
bashonly 66aa21dc5a
[build] Use `macos-14` runner for `macos` builds (#13814)
Ref: https://github.blog/changelog/2025-07-11-upcoming-changes-to-macos-hosted-runners-macos-latest-migration-and-xcode-support-policy-updates/#macos-13-is-closing-down

Authored by: bashonly
6 months ago
bashonly 1b88384634
[ci] Add signature tests (#13582)
Authored by: bashonly
7 months ago
bashonly 201812100f
[build] Fix macOS requirements caching (#13328)
Authored by: bashonly
8 months ago
bashonly 17cf9088d0
[build] Bump PyInstaller to v6.13.0 (#13082)
Ref: https://github.com/yt-dlp/yt-dlp/issues/10294

Authored by: bashonly
9 months ago
bashonly 9064d2482d
[build] Bump run-on-arch-action to v3 (#13088)
Authored by: bashonly
9 months ago
sepro 505b400795
[cleanup] Misc (#12844)
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
9 months ago
Simon Sawicki 3690e91265
[ci] Add file mode test to code check (#13036)
Authored by: Grub4K
9 months ago
bashonly 4985a40417
[cleanup] Misc (#12238)
Authored by: StefanLobbenmeier, dirkf, Grub4K

Co-authored-by: Stefan Lobbenmeier <Stefan.Lobbenmeier@gmail.com>
Co-authored-by: dirkf <fieldhouse@gmx.net>
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
11 months ago
bashonly f9c8deb4e5
[build] Bump PyInstaller version pin to `>=6.11.1` (#11507)
Authored by: bashonly
1 year ago
bashonly f13df591d4
[build] Enable attestations for trusted publishing (#11420)
Reverts 428ffb75aa

Authored by: bashonly
1 year ago
bashonly 428ffb75aa
[build] Disable attestations for trusted publishing (#11418)
Currently does not work with reusable workflows, e.g. release-nightly.yml calling release.yml

Ref: https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.11.0
     https://github.com/pypa/gh-action-pypi-publish/discussions/255
     https://github.com/pypi/warehouse/issues/11096

Authored by: bashonly
1 year ago
bashonly d784464399
Remove Python 3.8 support (#11321)
Closes #10086
Authored by: bashonly
1 year ago
bashonly dd2e244469
[build] Use Ubuntu 20.04 and Python 3.9 for Linux ARM builds (#8638)
Authored by: bashonly
1 year ago
bashonly ea9e35d85f
[cleanup] Misc (#11311)
Authored by: bashonly
1 year ago
Simon Sawicki 67adeb7bab
[cleanup] Misc (#11216)
- Add Python 3.13 to CI, finalize 3.13 support
- Remove Python 3.8 from CI in preparation for removing 3.8 support
- Document that PyPy3.8 and PyPy3.9 are no longer supported
- Usual documentation fixes and code cleanup

Closes #8248, Closes #11146, Closes #11149, Closes #11211
Authored by: Grub4K, grqz, DTrombett, KarboniteKream, bashonly, mikkovedru, seproDev

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: DTrombett <d@trombett.org>
Co-authored-by: =?UTF-8?q?Klemen=20Ko=C5=A1ir?= <klemen.kosir@kream.io>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: Mikko Vedru <mikko.vedru@gmail.com>
Co-authored-by: sepro <sepro@sepr0.com>
1 year ago
bashonly a886cf3e90
[build] Migrate `py2exe` builds to `win_exe` (#11256)
This commit removes py2exe support

Closes #10087
Authored by: bashonly
1 year ago