Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685040 - Drop python 2 on the jupyter stack
Summary: Drop python 2 on the jupyter stack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-04 10:53 UTC by Virgil Dupras (RETIRED)
Modified: 2019-05-04 22:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Virgil Dupras (RETIRED) gentoo-dev 2019-05-04 10:53:48 UTC
Hi Science,

The jupyter stack's upstream still support python 2, but it depends on
ipython which has dropped it quite a while ago and has forced us to
mask versions 6+ because circular dependencies make portage explode. It's IPython's main revdep.

There's also matplotlib that dropped py2 in v3 and there's pressure to
update the ebuild.

Workarounds are clunky and even in best cases would cause users to have
big "One or more updates/rebuilds have been skipped due to a dependency conflict" every time they update their world.

Would you mind if we "artificially" dropped py2 on the whole jupyter stack (that is, drop python2_7 target even if upstream supports it)? It would fix the problem in a more graceful manner.
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2019-05-04 11:49:23 UTC
Soap gave me the green light on IRC, so I'll proceed shortly.
Comment 2 Ulenrich 2019-05-04 19:19:26 UTC
Python2 is supposed to die soonishly, so I am all for your action. But if there are protests, there is a way the wx guys went regarding gtk2-gtk3 using different revision numbers, r300 os gtk3 only:
              | a a   a     p       r     s |   | |   n          |  
              | l m   r i   p   h m i s   p f m f | e u s        | r
              | p d a m a p c x p 6 s 3   a b i b | a s l        | e
              | h 6 r 6 6 p 6 8 p 8 c 9 s r s p s | p e o        | p
              | a 4 m 4 4 c 4 6 a k v 0 h c d s d | i d t        | o
--------------+-----------------------------------+--------------+-------
   3.0.3      | + + + ~ + + + + + o o o ~ + o ~ ~ | 6 # 3.0      | gentoo
--------------+-----------------------------------+--------------+-------
   3.0.3-r300 | ~ + ~ o ~ + + + ~ o o o ~ + o ~ ~ | 6 o 3.0-gtk3 | gentoo
--------------+-----------------------------------+--------------+-------
[I]3.0.4      | + + + ~ + + + + + o o o ~ + o ~ ~ | 6 o 3.0      | gentoo
   3.0.4-r1   | ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o ~ ~ o ~ ~ | 6 #          | gentoo
--------------+-----------------------------------+--------------+-------
   3.0.4-r300 | ~ + ~ o ~ + + + ~ o o o ~ + o ~ ~ | 6 o 3.0-gtk3 | gentoo
   3.0.4-r301 | ~ ~ ~ o ~ ~ ~ ~ ~ o o o ~ ~ o ~ ~ | 6 o          | gentoo
---
Comment 3 Virgil Dupras (RETIRED) gentoo-dev 2019-05-04 19:46:11 UTC
The wx team is mostly leio and he's working very hard to do things right. The python stack, however, is quite a bit larger than the wx one and I feel that this approach, if taken for all cases similar to ipython's, would be too much for the python team's to bear and we would end up with a situation similar to ipython and matplotlib: very long bump delay.

I think we should choose a simple, straightforward approach to ensure that we actually go through with it without delaying too much because of the weight.
Comment 4 Larry the Git Cow gentoo-dev 2019-05-04 22:58:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db601e86bc5c3403536abd4e391efa05b3d7366c

commit db601e86bc5c3403536abd4e391efa05b3d7366c
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:52:12 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:05 +0000

    profiles: unmask dev-python/ipython-6+
    
    For good this time, hopefully.
    
    Closes: https://bugs.gentoo.org/684962
    Closes: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>

 profiles/package.mask | 6 ------
 1 file changed, 6 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9406d4bde72f72b8757f5c43158757efd6c4609d

commit 9406d4bde72f72b8757f5c43158757efd6c4609d
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:51:44 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:05 +0000

    dev-python/ipython: remove py2 hack
    
    All circular dependencies had py2 cleanly dropped, rendering the hack
    obsolete.
    
    Bug: https://bugs.gentoo.org/685040
    Bug: https://bugs.gentoo.org/684962
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/ipython/ipython-7.5.0.ebuild | 30 +++++++-----------------------
 1 file changed, 7 insertions(+), 23 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8438f50690012e70ee1e5ec959364167dd3053f

commit a8438f50690012e70ee1e5ec959364167dd3053f
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:49:50 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:04 +0000

    dev-python/ipyparallel: drop py2
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/ipyparallel/ipyparallel-6.2.3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c1d39c5a1cc8dafd8c5baf942f082d1a41f455

commit 70c1d39c5a1cc8dafd8c5baf942f082d1a41f455
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:48:53 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:04 +0000

    dev-python/notebook: bump to 5.7.8
    
    Also, drop py2.
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/notebook/Manifest              |   1 +
 dev-python/notebook/notebook-5.7.8.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f313b66617ab4835e4d9106b4d2a375c70bcc136

commit f313b66617ab4835e4d9106b4d2a375c70bcc136
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:47:23 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:04 +0000

    dev-python/ipywidgets: drop py2
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild | 34 ++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aaf4e00ee2efda07be41eaddc9861bffbc4eb17

commit 9aaf4e00ee2efda07be41eaddc9861bffbc4eb17
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:46:30 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:04 +0000

    dev-python/widgetsnbextension: bump to 3.4.2
    
    Also, drop py2.
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/widgetsnbextension/Manifest              |  1 +
 .../widgetsnbextension-3.4.2.ebuild                 | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fb818b562d8528e17de0bb39e456d19e0950a8d

commit 9fb818b562d8528e17de0bb39e456d19e0950a8d
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:45:12 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:03 +0000

    dev-python/sphinxcontrib-github-alt: bump to 1.1
    
    Also, drop py2
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/sphinxcontrib-github-alt/Manifest       |  1 +
 .../sphinxcontrib-github-alt-1.1-setup.py.patch    | 19 ++++++++++++
 .../sphinxcontrib-github-alt-1.1.ebuild            | 35 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff9bfc20deac3e035a5e7ce59345d0f123a2f10a

commit ff9bfc20deac3e035a5e7ce59345d0f123a2f10a
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:42:48 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:03 +0000

    dev-python/jupyter_client: drop py2
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../jupyter_client/jupyter_client-5.2.3-r1.ebuild  | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a189c83547dd889e0075ec1bc893ff01103f596

commit 6a189c83547dd889e0075ec1bc893ff01103f596
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:41:57 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:03 +0000

    dev-python/jupyter_core: drop py2
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../jupyter_core/jupyter_core-4.4.0-r1.ebuild      | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c39495f59784b8be3693c801b0aa69ccc36ea75a

commit c39495f59784b8be3693c801b0aa69ccc36ea75a
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:40:59 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:03 +0000

    dev-python/jupyter: drop py2
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/jupyter/jupyter-1.0.0-r2.ebuild | 50 ++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f9ef42b9b11f6a58f6114651d0beab2512112f3

commit 2f9ef42b9b11f6a58f6114651d0beab2512112f3
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:39:44 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:02 +0000

    dev-python/nbconvert: bump to 5.5.0
    
    Also, drop py2.
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/nbconvert/Manifest               |  1 +
 dev-python/nbconvert/nbconvert-5.5.0.ebuild | 81 +++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1305bbf63921baf14821bf7d71e06f08cce5f4b0

commit 1305bbf63921baf14821bf7d71e06f08cce5f4b0
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:30:41 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:02 +0000

    dev-python/nbformat: drop py2
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/nbformat/nbformat-4.4.0-r1.ebuild | 57 ++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66bd16ba1020c91052f76526fad0ef808744f257

commit 66bd16ba1020c91052f76526fad0ef808744f257
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-04 20:28:10 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-04 22:58:02 +0000

    dev-python/nbval: bump to 0.9.1
    
    Also, drop py2.
    
    Bug: https://bugs.gentoo.org/685040
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/nbval/Manifest           |  1 +
 dev-python/nbval/nbval-0.9.1.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)