Package: python3-doc8
Version: 0.10.1-1
Severity: normal
Tags: patch
X-Debbugs-Cc: cru...@debian.org

Dear Maintainer,

I noticed that your package dosage doesn't know its own version number, due to 
upstream using setuptools-scm:

> /usr/lib/python3/dist-packages/doc8-0.0.0.dist-info/INSTALLER
> /usr/lib/python3/dist-packages/doc8-0.0.0.dist-info/METADATA
> /usr/lib/python3/dist-packages/doc8-0.0.0.dist-info/WHEEL
> /usr/lib/python3/dist-packages/doc8-0.0.0.dist-info/entry_points.txt
> /usr/lib/python3/dist-packages/doc8-0.0.0.dist-info/top_level.txt

https://packages.debian.org/sid/all/python3-doc8/filelist

Attached is a patch to fix this. And for your convenience, I've opened a MR on 
Salsa 
https://salsa.debian.org/openstack-team/libs/python-doc8/-/merge_requests/4

Author: Michael R. Crusoe <cru...@debian.org>
Date:   Thu Apr 25 19:03:38 2024 +0300

    d/control: build-dep on setuptools-scm to fix wrong "0.0.0" version
    
diff --git a/debian/control b/debian/control
index 781f221..ba65eba 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,8 @@ Build-Depends:
  pybuild-plugin-pyproject,
  python3-all,
  python3-pbr,
- python3-poetry-core,
+ python3-setuptools,
+ python3-setuptools-scm,
  python3-sphinx,
  python3-sphinx-rtd-theme,
 Build-Depends-Indep:

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to