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

Fix the Cobra package publishing pipeline #165

Open
sandervh14 opened this issue Apr 7, 2023 · 0 comments
Open

Fix the Cobra package publishing pipeline #165

sandervh14 opened this issue Apr 7, 2023 · 0 comments
Assignees

Comments

@sandervh14
Copy link
Contributor

Bug Report

Bug: Fix the Cobra package publishing pipeline

Description

I just released our 2023-03 Cobra release v1.1.1 to PyPI but had to do build and publish the distribution archives manually, the CI/CD pipeline for publishing failed: https://github.com/PythonPredictions/cobra/actions/runs/4638116899.

Error (from https://github.com/PythonPredictions/cobra/actions/runs/4638116899/jobs/8207628848):

Run python -m build
/usr/bin/python: No module named build

Probably the only thing required to fix this: an extra step in front with python3 -m pip install --upgrade build, as described in https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives.

Let's adapt this and see if it works with the next monthly release. To be checked if the step after the build problem, pypa/gh-action-pypi-publish also still works (https://github.com/pypa/gh-action-pypi-publish).

Steps to Reproduce

The Cobra release procedure at https://github.com/PythonPredictions/cobra/wiki/Contributing-guidelines-&-workflows#release-workflow.

@sandervh14 sandervh14 self-assigned this Apr 7, 2023
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

No branches or pull requests

1 participant