Le vendredi 13 mai 2022 à 11:18 +0200, Heinrich Schuchardt a écrit :
> On 5/12/22 17:17, julien.pu...@gmail.com wrote:
> > 
> > I propose to add the following patch to my package:
> > 
> > Description: make the package return a PEP440-compatible version
> > number
> > Author: Julien Puydt
> > Forwarded: Debian-specific
> > 
> > --- python-cheroot.orig/cheroot/__init__.py
> > +++ python-cheroot/cheroot/__init__.py
> > @@ -11,5 +11,7 @@
> >   
> >   try:
> >       __version__ =
> > pkg_resources.get_distribution('cheroot').version
> > +    if __version__.find('+ds') != -1:
> > +        __version__ = __version__[:__version__.find('+ds')]
> 
> This will not work for anything but +ds.

Does it solve your issue with the Debian package now?

Indeed if upstream had a more generic fix, that is the best solution,
but in the mean time, I can live with a Debian-specific patch.

Cheers,

J.Puydt

Reply via email to