-
Notifications
You must be signed in to change notification settings - Fork 4
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
Create package releases for each version and publish them to PyPI #5
Comments
Tip is to add TestPyPI ( https://packaging.python.org/en/latest/guides/using-testpypi/ https://github.com/marketplace/actions/pypi-publish#advanced-release-management Example check out that it is used in the similar zigpy-zboss project: https://github.com/kardia-as/zigpy-zboss/blob/main/.github/workflows/publish-to-testpypi.yml
|
@Hedda Thanks for your suggestion, we'll create a PyPi project ASAP. |
@lhespress Nice! Please also update to That is, update https://github.com/zigpy/zigpy-cli/blob/dev/pyproject.toml
|
@lhespress you also need to tag 0.0.1 and make a matching release here on GitHub as well: https://docs.github.com/en/repositories/releasing-projects-on-github https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases After that they should appear here: https://github.com/lhespress/zigpy-espzb/tags https://github.com/lhespress/zigpy-espzb/releases For reference see and compare with tags and releases for the zigpy-znp repository on GitHub (which also include changelog): https://github.com/zigpy/zigpy-znp/tags https://github.com/zigpy/zigpy-znp/releases PS: Tips is to also include automatically generated release notes which usually include included pull requests and changelog: |
@Hedda tag v0.0.1 and make a matching release: https://github.com/lhespress/zigpy-espzb/tags https://github.com/lhespress/zigpy-espzb/releases please check, thanks. |
Please tag version here in this GitHub repository after new commits/change + also package and push a matching release for each tagged version of
zigpy-espzb
to publish them to PyPI:Example:
References:
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
https://github.com/marketplace/actions/pypi-publish
zigpy-cli require that all of its dependencies be installable. Otherwise, zigpy-cli can not be installed itself, see comment by puddly:
zigpy/zigpy-cli#45 (comment)
Also see the related comment by puddly noting that CI is currently failing because
zigpy-espzb
package is not yet on PyPI:#1
PS: You can initially create a PyPi project with either a Espressif account or a personal account and then later transfer it to zigpy admins:
zigpy/zigpy-cli#42 (comment)
The text was updated successfully, but these errors were encountered: