[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909510: please add a lintian note to inform/warn about python in the shebang (instead of python2/python2.7)



On Mon, Sep 24, 2018 at 06:26:15PM +0200, Matthias Klose wrote:
> Package: lintian
> Severity: wishlist
> 
> please add a lintian note to inform/warn about python in the shebang (instead of
> python2/python2.7).
> 
> There is discussion upstream about updating PEP 394 to recommend soft-linking
> python to python3 on newer distributions.  Not a good idea from my point of
> view, but it would be better if we remove the usage of python as a shebang in
> our packages.  Replacing that with python2 or python2.7 should be easy and safe.
>  It would be nice if lintian could help with this task. Maybe first as a note so
> we can get an overview.

Isn't it too late for such a lintian warning to make sense?

We are only 5.5 months away from the buster freeze, and there
is no realistic chance of fixing this archive-wide until then.

Unless plans have changed python2 will not be part of bullseye,
and for that to happen removal of any python2 usage has to start
aggressively directly after the release of buster.
The lintian warning would be moot then.

If such an upstream change will be in bullseye or later,
the realistic solution would be to add a
  Breaks: python-minimal
  Replaces: python-minimal
to python3-minimal.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: