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

PyPI contains superfluous version (v6.1.0) #1987

Open
joewesch opened this issue Jan 23, 2025 · 0 comments
Open

PyPI contains superfluous version (v6.1.0) #1987

joewesch opened this issue Jan 23, 2025 · 0 comments

Comments

@joewesch
Copy link
Contributor

PyPi has a 6.1.0 version for ntc-templates, which seems to have been a release that was triggered but then removed from this repo:
PyPI link: https://pypi.org/project/ntc-templates/6.1.0/
Workflow: https://github.com/networktocode/ntc-templates/actions/runs/10925016267

When looking at the list of CI workflow runs, there was one run for the v6.1.0 tag/release followed by the v7.0.0 release (33 mins afterward):
https://github.com/networktocode/ntc-templates/actions/runs/10925591395

It looks like we accidentally published the 6.1.0 release as a minor version upgrade, but then backtracked and published it as a major version bump with 7.0.0. We then removed the v6.1.0 tag/release from this repo, but it doesn't seem like v6.1.0 was yanked from PyPI though.

You can confirm that the files are pretty much identical by installing them both and checking the diff:

❯ pip install ntc-templates==6.1.0 --target ntc-templates-6.1.0
❯ pip install ntc-templates==7.0.0 --target ntc-templates-7.0.0
❯ diff --recursive ntc-templates-6.1.0 ntc-templates-7.0.0 --exclude "__pycache__"
Only in ntc-templates-6.1.0: ntc_templates-6.1.0.dist-info
Only in ntc-templates-7.0.0: ntc_templates-7.0.0.dist-info
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