Path: csiph.com!pasdenom.info!aioe.org!bofh.it!news.nic.it!robomod From: Yaroslav Halchenko Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#1014890: RFP: python3-looseversion -- Version numbering for anarchists and software realists Date: Wed, 13 Jul 2022 21:40:02 +0200 Message-ID: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Jul 13 19:39:12 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.961 Reply-To: Yaroslav Halchenko , 1014890@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 1014890 X-Debian-Pr-Package: wnpp Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 11.4.1 X-Sa-Exim-Connect-IP: 76.24.253.1 X-Sa-Exim-Rcpt-To: submit@bugs.debian.org, yoh@onerussian.com X-Sa-Exim-Mail-From: debian@onerussian.com X-Sa-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-Sa-Exim-Scanned: Yes (on smtp.onerussian.com) X-Greylist: delayed 2434 seconds by postgrey-1.36 at buxtehude; Wed, 13 Jul 2022 19:34:48 UTC X-Debian-Message: from BTS X-Mailing-List: archive/latest/1724969 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 13 Jul 2022 14:54:11 -0400 X-Original-Message-ID: <165773845135.420058.7848258028131648571.reportbug@lena.dartmouth.edu> Xref: csiph.com linux.debian.bugs.dist:1109612 linux.debian.maint.python:14241 Package: wnpp Severity: wishlist X-Debbugs-Cc: debian-python@lists.debian.org * Package name : python3-looseversion Version : 1.0.1 Upstream Author : Chris Markiewicz * URL : https://github.com/effigies/looseversion * License : Python Programming Lang: Python Description : Version numbering for anarchists and software realists A backwards/forwards-compatible fork of distutils.version.LooseVersion, for times when PEP-440 isn't what you need. . The goal of this package is to be a drop-in replacement for the original LooseVersion. It implements an identical interface and comparison logic to LooseVersion. The only major change is that a looseversion.LooseVersion is comparable to a distutils.version.LooseVersion, which means tools should not need to worry whether all dependencies that use LooseVersion have migrated. . If you are simply comparing versions of Python packages, consider moving to packaging.version.Version, which follows PEP-440. LooseVersion is better suited to interacting with heterogeneous version schemes that do not follow PEP-440. This package would be useful as we plan for adding support for Python 3.12 which would remove distutils.version.LooseVersion and some packages would need to "adjust" somehow. In our DataLad project we likely would just go the way of using this LooseVersion instead of coming up with some "more proper" solution.