[docutils:bugs] #483 0.21 release has broken sdist
Michał Górny via Docutils-develop <[email protected]>
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/bugs/483/4f2ac1cbd01cfe2b39eaa870c948a1125f759f2c.bugs@docutils.p.sourceforge.net> |
Just for the record, doing `.post` releases is fine but you need to make sure to update the version string in metadata, and then create and upload new sdists and all wheels. You can't use `.post` to replace a subset of files.
---
**[bugs:#483] 0.21 release has broken sdist**
**Status:** open
**Created:** Wed Apr 10, 2024 05:58 AM UTC by Michał Górny
**Last Updated:** Wed Apr 10, 2024 09:55 PM UTC
**Owner:** nobody
The sdist for 0.21 release is versioned "0.21.post1" but the directory inside it is "0.21". Therefore, it is not installable:
```
$ pip install --no-binary docutils docutils
Collecting docutils
Downloading docutils-0.21.post1.tar.gz (2.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 6.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/67/9a/ff2ff8e922f3b97c4b4864ca6c78d76ca5969bd730560001167b7054ac48/docutils-0.21.post1.tar.gz (from https://pypi.org/simple/docutils/) (requires-python:>=3.9): Requested docutils from https://files.pythonhosted.org/packages/67/9a/ff2ff8e922f3b97c4b4864ca6c78d76ca5969bd730560001167b7054ac48/docutils-0.21.post1.tar.gz has inconsistent version: expected '0.21.post1', but metadata has '0.21'
Downloading docutils-0.20.1.tar.gz (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 9.4 MB/s eta 0:00:00
[
```
---
Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.