Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add wheel publishing in addition to existing source distribution publishing of lit.
Fixes #63369. This also uses the exact fix proposed by @EFord36 in #63369.
I was testing it on my branch (with a further modified version of CI that avoids some of the problematic GitHub Actions steps for a fork and adds debug information about what was built) only to make sure that this produces the expected files. That can be observed here: https://github.com/seldridge/llvm-project/actions/runs/8608056297/job/23589700846#step:7:1 There would now be a
lit-18.1.0-py3-none-any.whl
in addition to alit-18.1.0.tar.gz
.My use case for this is slightly different from #63369. I would like to use
lit
for an internal project. However, the internal project uses a build system which doesn't have support for building source dependencies except when using--no-use-pep517
.lit
, however, specifies abuild-backend
in itspyproject.toml
whichpip
treats as explicit opt-in topep517
even when the command line opt-out is provided.