canonical / canonical/cos-lib

Deleting a release

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
Status: Triage Type: Bug
Dominant language
Python
Stars
1
Forks
8
Avg merge
2d 19h
Merged PRs (30d)
1

Description

### Bug Description

Seems that deleting a release from github does not delete its corresponding package from PyPI. Example: If we deleted 0.0.1 form github, PyPI will still have 0.0.1 version of that package. Then, when we build a new github release with the same version 0.0.1, it will fail to push it to PyPI since the file already exists. So, we'll have discrepancy between github and PyPI versions.
Could we add a CI for deleting releases or just discontinue that behaviour?

### To Reproduce

_No response_

### Environment

_No response_

### Relevant log output

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the CI or release workflow that publishes the package to PyPI, then compare its behavior with GitHub release deletion. Confirm whether deleting a GitHub release can remove the corresponding PyPI version or whether release deletion should be discontinued; done means the GitHub and PyPI version behavior is consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, python
Domain
ci-cd, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.