Skip to content

Pin dependencies for source installs of checkbox (bugfix)#1912

Closed
Hook25 wants to merge 8 commits intomainfrom
pin_checkbox_ng_deps
Closed

Pin dependencies for source installs of checkbox (bugfix)#1912
Hook25 wants to merge 8 commits intomainfrom
pin_checkbox_ng_deps

Conversation

@Hook25
Copy link
Copy Markdown
Collaborator

@Hook25 Hook25 commented May 7, 2025

Description

Given the recent urwid debacle taking down our infra, its about time we take seriously source installs of Checkbox. Checkbox source IS part of our infra, it is not a development tool anymore. As such, the distribution of it must be fixed.

This is the first step: all packages are pin to the same version one can find them in the universe of each LTS (some excluding xenial, given that xenial doesn't offer them, they are instead pinned for compatibility with python3.5).

Resolved issues

Documentation

Documented each pinning block what it is referring to.

Tests

Metabox run: https://github.com/canonical/checkbox/actions/runs/14886986668/job/41809138279
Snap build cross: https://github.com/canonical/checkbox/actions/runs/15277509731
Snap build native: https://github.com/canonical/checkbox/actions/runs/15277506141

@Hook25 Hook25 force-pushed the pin_checkbox_ng_deps branch from 9bb95dd to 4c017d2 Compare May 7, 2025 15:48
@codecov
Copy link
Copy Markdown

codecov bot commented May 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.54%. Comparing base (d1b0f88) to head (77b8abc).
⚠️ Report is 106 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1912      +/-   ##
==========================================
+ Coverage   50.52%   50.54%   +0.02%     
==========================================
  Files         384      384              
  Lines       41111    41112       +1     
  Branches     7531     7629      +98     
==========================================
+ Hits        20770    20782      +12     
+ Misses      19599    19586      -13     
- Partials      742      744       +2     
Flag Coverage Δ
checkbox-ng 70.26% <ø> (ø)
checkbox-support 63.91% <ø> (+0.16%) ⬆️
provider-base 25.68% <ø> (ø)
provider-certification-client 57.14% <ø> (ø)
provider-certification-server 57.14% <ø> (ø)
provider-genio 96.90% <ø> (ø)
provider-gpgpu 92.61% <ø> (ø)
provider-iiotg 100.00% <ø> (ø)
provider-resource 38.19% <ø> (ø)
provider-sru 97.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hook25 Hook25 marked this pull request as draft May 8, 2025 09:05
@Hook25 Hook25 force-pushed the pin_checkbox_ng_deps branch from edd7f06 to ad2ad43 Compare May 26, 2025 10:20
@Hook25 Hook25 marked this pull request as ready for review May 27, 2025 13:56
@Hook25 Hook25 force-pushed the pin_checkbox_ng_deps branch 2 times, most recently from 9053ff6 to 91b124c Compare May 29, 2025 08:33
@Hook25 Hook25 marked this pull request as draft June 5, 2025 09:21
Hook25 added 4 commits June 9, 2025 13:52
Sloppy copy paste

Re-Pin Opencv to the correct version

Also pin numpy

Correct psutil version to the ppa version
Add and pin checkbox-support dependency that wasn't properly added

Lock actual version in the archive

Missing files
@Hook25 Hook25 force-pushed the pin_checkbox_ng_deps branch from fd965f9 to e5ce411 Compare June 9, 2025 11:54
@Hook25
Copy link
Copy Markdown
Collaborator Author

Hook25 commented Jun 12, 2025

Closing this as it is a hopless approach

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant