[docutils:bugs] #483 0.21 release has broken sdist

engelbert gruber via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/bugs/483/bd4c8bffff6cca3be602ef2ec5bdeb1f5596ff09.bugs@docutils.p.sourceforge.net>
not the directory is wrong but 

the release .post# is for small changes, in this case no change to the code 

but if the metadata 
but i guess pypi  makes it a new release if the metadata version is different
i tried 0.21.post2 on testpypi ... it is a new release marked as micro(bial) different

but maybe it helps some people and hopefully does not break other places

asap


---

**[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 06:47 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.