Skip to content

Update CI: windows install ffmpeg from build instead of chocolatey#3265

Merged
C-Achard merged 4 commits intocy/centralize-test-workflowfrom
jaap/ci_update_ffmpeg_install
Mar 31, 2026
Merged

Update CI: windows install ffmpeg from build instead of chocolatey#3265
C-Achard merged 4 commits intocy/centralize-test-workflowfrom
jaap/ci_update_ffmpeg_install

Conversation

@deruyter92
Copy link
Copy Markdown
Collaborator

Motivation
Chocolatey’s community feed for ffmpeg was intermittently returning 503 Service Unavailable, causing CI failures when the package couldn’t be resolved. (e.g. see #3253). This PR changes the installation to a pinned prebuilt archive and adds an explicit sanity check after the installation step.

Summary

  • Updated python-package.yml to stop using Chocolatey for ffmpeg on windows-latest and instead install a pinned build from BtbN/FFmpeg-Builds. (one of the providers recommended by ffmpeg)
  • Kept apt (Linux) and brew (macOS) as before, now in a dedicated non-Windows step.
  • Added a verification step that runs ffmpeg -version and ffprobe -version to ensure the binaries are available before running tests.

@deruyter92 deruyter92 requested a review from C-Achard March 31, 2026 09:15
@deruyter92 deruyter92 added the CI Related to CI/CD jobs and automated testing label Mar 31, 2026
@deruyter92 deruyter92 added this to the CI Overhaul milestone Mar 31, 2026
@deruyter92 deruyter92 marked this pull request as ready for review March 31, 2026 13:06
Copy link
Copy Markdown
Collaborator

@C-Achard C-Achard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! This should indeed work better than winget/chocolatey.

See comments below if we want a truly pinned version, otherwise all good.

deruyter92 and others added 3 commits March 31, 2026 18:27
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
Co-authored-by: Cyril Achard <cyril.achard@epfl.ch>
@deruyter92
Copy link
Copy Markdown
Collaborator Author

@C-Achard thanks! Feel free to merge in your PR

@C-Achard C-Achard merged commit 44cd0ab into cy/centralize-test-workflow Mar 31, 2026
3 checks passed
@C-Achard C-Achard deleted the jaap/ci_update_ffmpeg_install branch March 31, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Related to CI/CD jobs and automated testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants