Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10537 > unrolled thread

Addition in lintian to warn about debian/pyversions file

Started byJoseph Herlant <herlantj@gmail.com>
First post2018-05-14 02:50 +0200
Last post2018-05-15 10:20 +0200
Articles 6 — 4 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Addition in lintian to warn about debian/pyversions file Joseph Herlant <herlantj@gmail.com> - 2018-05-14 02:50 +0200
    Re: Addition in lintian to warn about debian/pyversions file Thomas Goirand <zigo@debian.org> - 2018-05-14 12:20 +0200
      Re: Addition in lintian to warn about debian/pyversions file Ondrej Novy <novy@ondrej.org> - 2018-05-14 12:50 +0200
        Re: Addition in lintian to warn about debian/pyversions file Joseph Herlant <herlantj@gmail.com> - 2018-05-14 20:00 +0200
          Re: Addition in lintian to warn about debian/pyversions file Scott Kitterman <debian@kitterman.com> - 2018-05-15 07:00 +0200
            Re: Addition in lintian to warn about debian/pyversions file Ondrej Novy <novy@ondrej.org> - 2018-05-15 10:20 +0200

#10537 — Addition in lintian to warn about debian/pyversions file

FromJoseph Herlant <herlantj@gmail.com>
Date2018-05-14 02:50 +0200
SubjectAddition in lintian to warn about debian/pyversions file
Message-ID<vP9QC-1no-11@gated-at.bofh.it>
Hi guys,

FYI I am requesting a new lintian tag to warn about the presence of
the debian/pyversions file as it is supposed to be obsolete since
dh_python2 [1].

According to the policy[2], we are supposed to use the
X-Python3-Version field in debian/control to specify the version now.

Please let me know if that is an issue for you.

Bug report: #898592

Thanks,
Joseph

[1] https://wiki.debian.org/Python/TransitionToDHPython2
[2] https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-specifying_versions

[toc] | [next] | [standalone]


#10538

FromThomas Goirand <zigo@debian.org>
Date2018-05-14 12:20 +0200
Message-ID<vPiKd-6Yi-1@gated-at.bofh.it>
In reply to#10537
On 05/14/2018 02:41 AM, Joseph Herlant wrote:
> Hi guys,
> 
> FYI I am requesting a new lintian tag to warn about the presence of
> the debian/pyversions file as it is supposed to be obsolete since
> dh_python2 [1].

As Ondrej wrote, there's only a few packages having this. How about we
just do a few NMUs as a team to fix that completely in the archive?

Ondrej, what's the list of packages?

Cheers,

Thomas Goirand (zigo)

[toc] | [prev] | [next] | [standalone]


#10539

FromOndrej Novy <novy@ondrej.org>
Date2018-05-14 12:50 +0200
Message-ID<vPjdg-77C-3@gated-at.bofh.it>
In reply to#10538

[Multipart message — attachments visible in raw view] — view raw

Hi,

2018-05-14 12:14 GMT+02:00 Thomas Goirand <zigo@debian.org>:

> As Ondrej wrote, there's only a few packages having this. How about we
> just do a few NMUs as a team to fix that completely in the archive?
>

(imho) lintian tag is still good idea. In future we can change it to
"error" to prevent re-entering archive.

Ondrej, what's the list of packages?
>

I didn't write count and I don't have list :)

-- 
Best regards
 Ondřej Nový

Email: novy@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B

[toc] | [prev] | [next] | [standalone]


#10540

FromJoseph Herlant <herlantj@gmail.com>
Date2018-05-14 20:00 +0200
Message-ID<vPpVo-2Af-13@gated-at.bofh.it>
In reply to#10539
Hi,

On Mon, May 14, 2018 at 3:14 AM, Thomas Goirand <zigo@debian.org> wrote:
> As Ondrej wrote, there's only a few packages having this. How about we
> just do a few NMUs as a team to fix that completely in the archive?

I was actually thinking about integrating that removal to Ondřej's
next mass-update (along with debian/pycompat) and if the packages are
not released in the next 2 months or so, I was planning to do some
team uploads on them (I saw some that have not been touched in a while
and that would benefit from a big cleanup).

On Mon, May 14, 2018 at 3:24 AM, Ondrej Novy <novy@ondrej.org> wrote:
> I didn't write count and I don't have list :)

The lintian tag would help getting the number easily! ;)

One of my thoughts about introducing it on info level is that we
should probably update https://wiki.debian.org/Python/Policy (I'll
start a separate thread on that) before having it on error level as
the page still shows examples with old/deprecated build systems.

Another reason to put that in lintian is that we still have all the
openstack python package to migrate to DPMT and those have a bunch of
pycompat and pyversions file that a lintian note about it would help
not forgetting that when we migrate those (I'll try to do some when I
got more spare time).


Thanks,
Joseph

[toc] | [prev] | [next] | [standalone]


#10542

FromScott Kitterman <debian@kitterman.com>
Date2018-05-15 07:00 +0200
Message-ID<vPAe6-io-1@gated-at.bofh.it>
In reply to#10540
On Monday, May 14, 2018 10:51:45 AM Joseph Herlant wrote:
> Hi,
> 
> On Mon, May 14, 2018 at 3:14 AM, Thomas Goirand <zigo@debian.org> wrote:
> > As Ondrej wrote, there's only a few packages having this. How about we
> > just do a few NMUs as a team to fix that completely in the archive?
> 
> I was actually thinking about integrating that removal to Ondřej's
> next mass-update (along with debian/pycompat) and if the packages are
> not released in the next 2 months or so, I was planning to do some
> team uploads on them (I saw some that have not been touched in a while
> and that would benefit from a big cleanup).
> 
> On Mon, May 14, 2018 at 3:24 AM, Ondrej Novy <novy@ondrej.org> wrote:
> > I didn't write count and I don't have list :)
> 
> The lintian tag would help getting the number easily! ;)
> 
> One of my thoughts about introducing it on info level is that we
> should probably update https://wiki.debian.org/Python/Policy (I'll
> start a separate thread on that) before having it on error level as
> the page still shows examples with old/deprecated build systems.
> 
> Another reason to put that in lintian is that we still have all the
> openstack python package to migrate to DPMT and those have a bunch of
> pycompat and pyversions file that a lintian note about it would help
> not forgetting that when we migrate those (I'll try to do some when I
> got more spare time).

I don't think deleting pycompat and pyversions is worth an upload.  They are 
obsolete and should be removed, but don't actually hurt anything.

Scott K

[toc] | [prev] | [next] | [standalone]


#10547

FromOndrej Novy <novy@ondrej.org>
Date2018-05-15 10:20 +0200
Message-ID<vPDlD-2hm-1@gated-at.bofh.it>
In reply to#10542

[Multipart message — attachments visible in raw view] — view raw

Hi,

2018-05-15 6:55 GMT+02:00 Scott Kitterman <debian@kitterman.com>:
>
> I don't think deleting pycompat and pyversions is worth an upload.  They
> are
> obsolete and should be removed, but don't actually hurt anything.
>

I agree. But maybe there are more changes in git, which in sum are worth an
upload :)

-- 
Best regards
 Ondřej Nový

Email: novy@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web