Skip to content

Fix CI on Ubuntu 26.04 by dropping libpostproc-dev and pinning ort to rc.14 - #594

Merged
onuralpszr merged 2 commits into
mainfrom
fix-ubuntu-26-ci
Oct 24, 2026
Merged

onuralpszr merged 2 commits into
mainfrom
fix-ubuntu-26-ci

Conversation

@onuralpszr

@onuralpszr onuralpszr commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

The scheduled CI run failed on ubuntu-latest (now 26.04) with Unable to locate package libpostproc-dev, and ffmpeg-sys-next 9 does not use it.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Updated CI dependencies and pinned ONNX Runtime packages to earlier releases, with WebAssembly adjustments for the selected ort-web version.

📊 Key Changes

  • Removed libpostproc-dev from Ubuntu CI’s FFmpeg dependency installation.
  • Pinned native and WebAssembly ort dependencies to 2.0.0-rc.14 and ort-web to 0.4.0; updated lockfile and documentation references.
  • Updated WebAssembly inference to pass an input view to run_async.
  • Added a BigUint64Array.prototype.set wrapper that converts array-of-number dimensions to BigInt values before setting them.

🎯 Purpose & Impact

  • CI no longer attempts to install libpostproc-dev, which the PR context reports is unavailable on the updated Ubuntu runner.
  • The WebAssembly wrapper handles number-based dimensions, and inference passes a view of the input tensor.
📋 Skipped 1 file (lock files, generated, images, etc.)
  • Cargo.lock

…er ships it

Signed-off-by: Onuralp SEZER <onuralp@ultralytics.com>
@UltralyticsAssistant UltralyticsAssistant added bug Something isn't working fixed Bug has been resolved labels Oct 24, 2026
@UltralyticsAssistant

Copy link
Copy Markdown
Member

👋 Hello @onuralpszr, thank you for submitting a ultralytics/inference 🚀 PR! This automated message confirms your contribution was received, and an Ultralytics engineer will assist with the review. To ensure a seamless integration of your work, please review the following checklist:

  • ✅ Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions.
  • ✅ Synchronize with Source: Confirm your PR is synchronized with the ultralytics/inference main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • ✅ Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. If any checks fail, please address the issues.
  • ✅ Update Documentation: Update the relevant documentation for any new or modified features.
  • ✅ Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • ✅ Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR; the CLA check will comment with signing instructions if needed.
  • ✅ Minimize Changes: Limit your changes to the minimum necessary for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀

@UltralyticsAssistant UltralyticsAssistant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🔍 PR Review

Made with ❤️ by Ultralytics Actions

Reviewed the coverage job dependency change. Removing libpostproc-dev does not affect the configured FFmpeg feature set; no issue found. LGTM.

@codecov

codecov Bot commented Oct 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

… tensors

Signed-off-by: Onuralp SEZER <onuralp@ultralytics.com>
@onuralpszr onuralpszr changed the title Drop libpostproc-dev from the coverage job since Ubuntu 26.04 no longer ships it Fix CI on Ubuntu 26.04 by dropping libpostproc-dev and pinning ort to rc.14 Oct 24, 2026
@onuralpszr
onuralpszr merged commit 80b5b12 into main Oct 24, 2026
19 checks passed
@onuralpszr
onuralpszr deleted the fix-ubuntu-26-ci branch October 24, 2026 10:23
@UltralyticsAssistant

Copy link
Copy Markdown
Member

🎉 PR #594 has been merged—thank you, @onuralpszr!

“Well done is better than well said.” — Benjamin Franklin

The CI dependency cleanup and WebAssembly compatibility updates make these workflows better aligned with the selected package versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fixed Bug has been resolved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants