Bug#947298: ipython-py2: Python2 removal in sid/bullseye

2020-03-31 Thread Gordon Ball
On Mon, Mar 30, 2020 at 08:29:37PM -0400, Sandro Tosi wrote:
> Hey Gordon,
> 
> > > > Do you think it would be possible to remove that build-depends (my
> > >
> > > I've actually tried to rebuild ipython-py2 without mpl and it builds
> > > fine: are you ok with me making an upload with that b-d removed?
> >
> > I've just uploaded 5.8.0-4 dropping the matplotlib dependency; it
> > was a vestigal test dependency which was no longer needed. Thanks for
> > spotting it (and all your work on py2removal).
> 
> i've just uploaded scr:scapy dropping its python2 package, which was
> the last rdep of scr:ipython-py2/bin:ipython/bin:python-ipython (the
> remaining ones are packages already RC buggy and not in testing) -- i
> think we're ready to remove this package, do you want to file the RM
> bug or want me to?
> 
I've just filed #955404 (RM ipython-py2) and #955406 (RM prompt-toolkit-py2),
which deals with the remaining -py2 forks I created late last year. I
must admit, I expected that they'd be needed for longer - I'm pleasantly
surprised to be dumping them now.

Gordon

> Cheers,
> -- 
> Sandro "morph" Tosi
> My website: http://sandrotosi.me/
> Me at Debian: http://wiki.debian.org/SandroTosi
> Twitter: https://twitter.com/sandrotosi



Bug#947298: ipython-py2: Python2 removal in sid/bullseye

2020-03-30 Thread Sandro Tosi
Hey Gordon,

> > > Do you think it would be possible to remove that build-depends (my
> >
> > I've actually tried to rebuild ipython-py2 without mpl and it builds
> > fine: are you ok with me making an upload with that b-d removed?
>
> I've just uploaded 5.8.0-4 dropping the matplotlib dependency; it
> was a vestigal test dependency which was no longer needed. Thanks for
> spotting it (and all your work on py2removal).

i've just uploaded scr:scapy dropping its python2 package, which was
the last rdep of scr:ipython-py2/bin:ipython/bin:python-ipython (the
remaining ones are packages already RC buggy and not in testing) -- i
think we're ready to remove this package, do you want to file the RM
bug or want me to?

Cheers,
-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi



Bug#947298: ipython-py2: Python2 removal in sid/bullseye

2020-02-15 Thread Gordon Ball
On Thu, Feb 13, 2020 at 09:02:33PM -0500, Sandro Tosi wrote:
> > > (source:ipython-py2)Build-Depends->python-matplotlib
> > ...
> >
> > Do you think it would be possible to remove that build-depends (my
> 
> I've actually tried to rebuild ipython-py2 without mpl and it builds
> fine: are you ok with me making an upload with that b-d removed?

I've just uploaded 5.8.0-4 dropping the matplotlib dependency; it
was a vestigal test dependency which was no longer needed. Thanks for
spotting it (and all your work on py2removal).



Bug#947298: ipython-py2: Python2 removal in sid/bullseye

2020-02-13 Thread Sandro Tosi
> > (source:ipython-py2)Build-Depends->python-matplotlib
> ...
>
> Do you think it would be possible to remove that build-depends (my

I've actually tried to rebuild ipython-py2 without mpl and it builds
fine: are you ok with me making an upload with that b-d removed?



Bug#947298: ipython-py2: Python2 removal in sid/bullseye

2020-02-13 Thread Sandro Tosi
On Mon, 23 Dec 2019 22:43:00 -0500 Sandro Tosi  wrote:
> Source: ipython-py2
> Version: 5.8.0-2
> Severity: normal
> Tags: sid bullseye
> User: debian-pyt...@lists.debian.org
> Usertags: py2removal
>
...
> (source:ipython-py2)Build-Depends->python-matplotlib
...

Hey Gordon,
ipython-py2 is the last reverse dependency (in testing, non RC-buggy)
of matplotlib.

It looks like the package only declares a build-depend on mpl, while
the binary packages dont.

Do you think it would be possible to remove that build-depends (my
impression is that it wouldnt diminish much the functionalities, as
the bin packages are not depending on it, so it's probably a matter of
documentation or tests?) so that i can remove the python2 version of
matplotlib from Debian?

that in turn would allow many other packages to be removed as well.

Thanks,
Sandro



Bug#947298: ipython-py2: Python2 removal in sid/bullseye

2019-12-23 Thread Sandro Tosi
Source: ipython-py2
Version: 5.8.0-2
Severity: normal
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: py2removal

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

Your package either build-depends, depends on Python2, or uses Python2
in the autopkg tests, in details:

(source:ipython-py2)Build-Depends->python
(source:ipython-py2)Build-Depends->python-backports-shutil-get-terminal-size
(source:ipython-py2)Build-Depends->python-ipython-genutils
(source:ipython-py2)Build-Depends->python-matplotlib
(source:ipython-py2)Build-Depends->python-nose
(source:ipython-py2)Build-Depends->python-pexpect
(source:ipython-py2)Build-Depends->python-pickleshare
(source:ipython-py2)Build-Depends->python-prompt-toolkit
(source:ipython-py2)Build-Depends->python-setuptools
(source:ipython-py2)Testsuite-Triggers->python
(binary:python-ipython)Depends->python-decorator
(binary:python-ipython)Depends->python-pexpect
(binary:python-ipython)Depends->python-pickleshare
(binary:python-ipython)Depends->python-pkg-resources
(binary:python-ipython)Depends->python-prompt-toolkit
(binary:python-ipython)Depends->python-pygments
(binary:python-ipython)Depends->python-simplegeneric
(binary:python-ipython)Depends->python-traitlets
(binary:python-ipython)Depends->python2:any
(binary:python-ipython)Depends->python2:any
(binary:python-ipython)Depends->python-backports-shutil-get-terminal-size
(binary:python-ipython)Depends->python-pathlib2
(binary:ipython)Depends->python-ipython

Please stop using Python2, and fix this issue by one of the following
actions.

- Convert your Package to Python3. This is the preferred option.  In
  case you are providing a Python module foo, please consider dropping
  the python-foo package, and only build a python3-foo package.  Please
  don't drop Python2 modules, which still have reverse dependencies,
  just document them.
  
  This is the preferred option.

- If the package is dead upstream, cannot be converted or maintained
  in Debian, it should be removed from the distribution.  If the
  package still has reverse dependencies, raise the severity to
  "serious" and document the reverse dependencies with the BTS affects
  command.  If the package has no reverse dependencies, confirm that
  the package can be removed, reassign this issue to ftp.debian.org,
  make sure that the bug priority is set to normal and retitle the
  issue to "RM: PKG -- removal triggered by the Python2 removal".

- If the package has still many users (popcon >= 300), or is needed to
  build another package which cannot be removed, document that by
  adding the "py2keep" user tag (not replacing the py2remove tag),
  using the debian-pyt...@lists.debian.org user.  Also any
  dependencies on an unversioned python package (python, python-dev)
  must not be used, same with the python shebang.  These have to be
  replaced by python2/python2.7 dependencies and shebang.

  This is the least preferred option.

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.