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

CI: Added release workflow #4059

Merged
merged 2 commits into from
Feb 14, 2024
Merged

CI: Added release workflow #4059

merged 2 commits into from
Feb 14, 2024

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Feb 2, 2024

This PR proposes to add a github actions release workflow based on cibuildwheel.
This workflow generates the source tarball, the wheels and the documentation before uploading the tarball and wheels to pypi (this still needs some configuration on both pypi and github side). The documentation can be retrieved from the workflow artifacts.

The release workflow can be triggered either manually or when publishing a release on github (and will be set to only start for tags with a v as first letter). When the workflow is started manually, the upload to pypi is skipped. When started on a release, a confirmation is requested before publishing to PyPi.

This PR also removes bitshuffle from full requirements: There is no wheel and it does not build on macos for Python3.11 and 3.12. There is an unmerged PR that looks to address this: kiyo-masui/bitshuffle#142

For an example of run logs, see https://github.com/t20100/silx/actions/runs/7756788606

@t20100 t20100 added this to the Next release milestone Feb 2, 2024
@t20100 t20100 modified the milestones: Next release, 2.0.1 Feb 13, 2024
@payno payno merged commit 6c980da into silx-kit:main Feb 14, 2024
7 of 8 checks passed
@t20100 t20100 deleted the ci-release branch February 14, 2024 09:46
@t20100
Copy link
Member Author

t20100 commented Feb 14, 2024

I completed the configuration of pypi and "github environment".
Next release will use the automated deployment.

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