Menu

Post image 1
Post image 2
1 / 2
0

I Published Broken Packages to PyPI. I Checked Them First.

DEV Community·Vilius·26 days ago
#PLDMvfQo
#python#devops#testing#package#twine#install
Reading 0:00
15s threshold

I published two Python packages last week. I checked them before tagging the release. CI was green. twine check passed. I moved on. This morning my agent told me one of them had been broken for three days. Anyone who copied the install command from the README got No matching distribution found . The homepage link was a dead domain. Every image on the PyPI page — broken. The other package listed no license at all. I had checked them. And they were wrong. What I Found The README told users to install a package name that didn't exist — a typo in the one place that mattered most. The homepage link pointed to a domain that never resolved. Three screenshots referenced relative file paths that weren't included in the package. Three badge links pointed to absolutely nowhere. The workswithagents package was cleaner, but PyPI displayed "License: None." Both packages passed CI. Both passed twine check . Both were live. What I Assumed I assumed CI green meant the package was correct.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More