Skip to content

MANIFEST.in checking CI (infra)#2401

Merged
Hook25 merged 4 commits into
mainfrom
sdist_tox
Mar 18, 2026
Merged

MANIFEST.in checking CI (infra)#2401
Hook25 merged 4 commits into
mainfrom
sdist_tox

Conversation

@Hook25

@Hook25 Hook25 commented Mar 18, 2026

Copy link
Copy Markdown
Collaborator

Description

MANIFEST.in inclusions are a recurrent rake we step on. For this reason, this adds CI that checks if a file that was added to checkbox-support or checkbox-ng is correctly included or excluded from the manifest.

The reason why we only see this issue in debian builds or snapcraft remote builds is because if .git is shipped to the build env, setuptools-scm automatically uses it to know what to include. In these two environments .git is not present, so we fallback to MANIFEST and we fail to build.

Additionally this forces us to take into consideration all additions from this lens. This also caught another problem, we weren't shipping the LICENSE for some vendorized dependencies

Resolved issues

Fixes: CER-3481

Documentation

N/A

Tests

This should fail first PR push, rebase on main should pass after this lands

@Hook25 Hook25 changed the title Sdist tox MANIFEST.in checking CI (infra) Mar 18, 2026
@codecov

codecov Bot commented Mar 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.76%. Comparing base (03de255) to head (551ffdb).
⚠️ Report is 121 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2401   +/-   ##
=======================================
  Coverage   57.76%   57.76%           
=======================================
  Files         467      467           
  Lines       47299    47299           
  Branches     8419     8419           
=======================================
  Hits        27321    27321           
  Misses      19092    19092           
  Partials      886      886           
Flag Coverage Δ
checkbox-ng 75.68% <ø> (ø)
checkbox-support 66.84% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.

@fernando79513 fernando79513 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I read it and everything looks fine.
Most importantly, the CI failed when it should fail and passed when it should pass.

LGTM +1!

@Hook25 Hook25 merged commit 3f533aa into main Mar 18, 2026
69 of 71 checks passed
@Hook25 Hook25 deleted the sdist_tox branch March 18, 2026 15:47
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.

2 participants