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

Deploy GitHub Action Fails, but Lightwood Latest Version is Deployed on PyPI #1237

Open
ZoranPandovski opened this issue Nov 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ZoranPandovski
Copy link
Member

The Deploy GitHub Action is failing, but despite the failure, the latest version of Lightwood is successfully deployed to PyPI. This issue requires investigation to determine why the status indicates failure while the deployment works correctly https://github.com/mindsdb/lightwood/actions/runs/12069389366/job/33657078727

@ZoranPandovski ZoranPandovski added the bug Something isn't working label Nov 28, 2024
@parthiv11
Copy link

The error seems to happens because PyPI doesn’t allow uploading the same version of a package twice. The deploy step in the GitHub Action tries to publish a version that is already uploaded, so it fails with a 400 File already exists error.

possible solutions:

  • check if the version exists on PyPI before publishing
    or
  • automatically bump the version for each release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants