Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1102970
| From | julien.puydt@gmail.com |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1010894: python-cheroot version number does not conform to PEP440 |
| Date | 2022-05-13 13:10 +0200 |
| Message-ID | <EmBlf-fcdn-15@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <EmiVk-f0cj-5@gated-at.bofh.it> <EmiVk-f0cj-3@gated-at.bofh.it> <EmBlf-fcdn-17@gated-at.bofh.it> <Emgqt-eYBx-1@gated-at.bofh.it> <EmBlf-fcdn-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le vendredi 13 mai 2022 à 11:18 +0200, Heinrich Schuchardt a écrit :
> On 5/12/22 17:17, julien.puydt@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
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1010894: python-cheroot version number does not conform to PEP440 Heinrich Schuchardt <heinrich.schuchardt@canonical.com> - 2022-05-12 14:50 +0200
Bug#1010894: python-cheroot version number does not conform to PEP440 Heinrich Schuchardt <heinrich.schuchardt@canonical.com> - 2022-05-12 15:30 +0200
Bug#1010894: python-cheroot version number does not conform to PEP440 julien.puydt@gmail.com - 2022-05-12 15:40 +0200
Bug#1010894: python-cheroot version number does not conform to PEP440 julien.puydt@gmail.com - 2022-05-12 17:30 +0200
Bug#1010894: python-cheroot version number does not conform to PEP440 julien.puydt@gmail.com - 2022-05-13 13:10 +0200
csiph-web