Bug#1005042: python3-lazy-object-proxy: advertises itself to Python as version 0.0.0

2022-02-07 Thread Julian Gilbey
On Sat, Feb 05, 2022 at 08:47:20PM +, Julian Gilbey wrote:
> Package: python3-lazy-object-proxy
> Version: 1.7.1-1
> Severity: normal
> 
> The patch dont-use-setuptools-scm.patch removes not only the attempt
> by setup.py to read the SCM to determine the version number, but also
> the backup version number information, and does not replace it with a
> static version number.
> 
> This patch should be updated to *replace* the use_scm_version argument
> to setup with:
> version='1.7.1',
> so that the
> /usr/lib/python3/dist-packages/lazy_object_proxy-*.egg-info directory
> gets the correct version information.

Following the discussion on d-python, I've just submitted a merge
request on salsa to fix this bug.

Best wishes,

   Julian



Bug#1005042: python3-lazy-object-proxy: advertises itself to Python as version 0.0.0

2022-02-05 Thread Julian Gilbey
Package: python3-lazy-object-proxy
Version: 1.7.1-1
Severity: normal

The patch dont-use-setuptools-scm.patch removes not only the attempt
by setup.py to read the SCM to determine the version number, but also
the backup version number information, and does not replace it with a
static version number.

This patch should be updated to *replace* the use_scm_version argument
to setup with:
version='1.7.1',
so that the
/usr/lib/python3/dist-packages/lazy_object_proxy-*.egg-info directory
gets the correct version information.

(And I also noticed that with the scm clause being removed from
setup.py setup.cfg, there is probably no longer any need to
Build-Depends on python3-setuptools-scm.)

Best wishes,

   Julian