Draft Releases in PyPI

I’m really grateful to @alanbato for working on this.

Right now, there are ways for package maintainers to test and share draft versions of their upcoming releases, but they cause friction and confusion. So we want to add staged releases – a temporary state that a release can be in, where PyPI has it and can evaluate it, but hasn’t published it yet. And there are at least nine useful features or bugfixes in our process that we can start working on once we have this feature.

So, @alanbato is requesting feedback on a few specific items:

  • The draft hash value and how it’s calculated
  • The draft index
  • How draft releases are created
  • What changes are needed in order for this PR to be “mergeable”

and has more details, and a demo, at the PR. I’d appreciate if a few folks could give it a look.

2 Likes