[docutils:feature-requests] Re: #109 Drop outdated copy of roman.py in docutils/utils
Dmitry Shachnev via Docutils-develop <[email protected]> Tue, 15 Oct 2024 21:39:47 -0000
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/feature-requests/109/7a67ecdce88d5aaf4aea5aa06b76637f1f095b40.feature-requests@docutils.p.sourceforge.net> |
Yes, it's also fine for us. --- **[feature-requests:#109] Drop outdated copy of roman.py in docutils/utils** **Status:** open **Group:** Default **Created:** Fri Oct 04, 2024 09:17 AM UTC by Günter Milde **Last Updated:** Tue Oct 15, 2024 06:46 PM UTC **Owner:** nobody Back in the days without pypi and pip, Docutils developers decided to ship a copy of the small auxiliary module [roman.py](https://pypi.org/project/roman/) with Docutils in order to allow the package to stay free of any dependencies except Python (also a pre-requisite for the proposed inclusion of Docutils into the standard library). In the year 2024, however, depending on an external module that * is available on pip, * has no other dependencies, and * is maintained should not pose an obstacle to Docutils users. Commits [r9845] and [r9846] added and adopted an alternative implementation of Roman numeral support but did not remove the copy of the upstream `roman.py`. I propose to remove both, `utils/roman.py` and `utils/_roman_numeral.py` and declare a dependency on [roman](https://pypi.org/project/roman/) instead. (Lowercase roman to int support was added in the [upstream repo commit ffc86c4](https://github.com/zopefoundation/roman/commit/ffc86c43cb58438a37b9f5791669c35b17902957) Oct 1, 2024, so we would need to work around this until a roman.py release with this fix is available. --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.