Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new CI job which builds the release artifact, remove MANIFEST.in #2024

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

Kami
Copy link
Member

@Kami Kami commented Jun 29, 2024

Description

This pull request adds a new GHA job as part of the CI workflow which builds the release artifacts and verifies it.

As part of the verification step, we run the following check:

  • Verify tarball exists
  • Verify wheel exists
  • Verify tarball contents are correct by running the tests (tests should pass)
  • Verify wheel contents are correct by running the tests (tests should pass)

In addition to the CI changes, I fixed and improved pyproject.toml file and removed MANIFEST.in in favor of inclusion directives defined directly in the pyproject.toml file.

This was done for future proofing reasons and because I noticed that the behavior with MANIFEST.in file is not consistent in different environments aka builds are not fully reproducible (e.g. on CI, the contents of the tarball was different than contents of the tarball created locally).

@Kami Kami added this to the v3.9.0 milestone Jun 29, 2024
@Kami Kami added ci/cd github_actions Pull requests that update GitHub Actions code labels Jun 29, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jun 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.37%. Comparing base (1ebd605) to head (bf92dcf).

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk    #2024   +/-   ##
=======================================
  Coverage   83.37%   83.37%           
=======================================
  Files         353      353           
  Lines       81650    81650           
  Branches     8627     8627           
=======================================
  Hits        68068    68068           
  Misses      10760    10760           
  Partials     2822     2822           

@Kami Kami force-pushed the build_release_artifact_ci_job branch 5 times, most recently from f165cde to 0b1830a Compare June 29, 2024 15:55
@Kami Kami changed the title Add new CI job which builds release artifact. Add new CI job which builds the release artifact, remove MANIFEST.in Jun 29, 2024
@Kami Kami force-pushed the build_release_artifact_ci_job branch 4 times, most recently from 7a8797e to 48fb638 Compare June 29, 2024 16:26
verifies it works (unpacks the tarball, runs tests).

Also remove MANIFEST.in in favor or include rules declared in
pyproject.toml.
@Kami Kami force-pushed the build_release_artifact_ci_job branch from 48fb638 to bf92dcf Compare June 29, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants