Repository navigation
feat: publish to PyPI as ccache-bin - #4
Merged
Merged
Conversation
PyPI does not allow the project name ccache, so the package is now ccache-bin. It still installs the ccache command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
PyPI does not allow the project name
ccache("This project name isn't allowed" when adding a pending publisher), so the v4.14.2 upload to PyPI failed. This PR renames the PyPI package toccache-bin, following packages such asnodejs-binandgh-bin. The wheels and the installedccachecommand do not change.pyproject.toml:name = "ccache-bin". The wheel files are nowccache_bin-<version>-py3-none-<platform>.whl.pip install ccache-bin/uv tool install ccache-bin. It also explains why the name isn'tccacheand shows theuvx --from ccache-bin ccacheform. The PyPI badge and links are updated.ccache-bin.Checked locally:
twine check --strict.ccache-bin==4.14.2for all 8 targets.pip install ccache-binpasses the smoke test, anduv tool install ccache-binprovidesccache.Before the release
ccache-binon PyPI (environmentpypi) and TestPyPI (environmenttestpypi). Ownercpp-linter, repositoryccache-wheel, workflowpublish.yml.Related Issues
None.