Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879011 - dev-python/gevent: possible removal (rdep of dev-python/rpyc, net-misc/python-x2go, www-apps/prewikka)
Summary: dev-python/gevent: possible removal (rdep of dev-python/rpyc, net-misc/python...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 881451
Blocks:
  Show dependency tree
 
Reported: 2022-11-01 13:30 UTC by Michał Górny
Modified: 2022-12-20 14:26 UTC (History)
5 users (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-01 13:30:55 UTC
Long story short, dev-python/gevent is a horrible package whose maintenance is taking a lot of effort and we never get it right anyway.  It has a lot of architecture-specific hacks, the tests randomly fail for some reason and every version bump is pain.  Right now it's incompatible with dev-python/greenlet-2*, and the new release that brings greenlet-2* fails ton of tons for no apparent reason.

Therefore, I'd like to remove this package.  Unfortunately, it has revdeps:

- dev-python/geventhttpclient -- (python@) Python module with no revdeps
- dev-python/rpyc -- (grozin@) also seems to have no revdeps
- mail-filter/pyzor[gevent] -- (python@) USE-conditional
- net-misc/python-x2go -- (voyageur@)
- www-apps/prewikka -- (unmaintained)
- www-servers/uwsgi[python-gevent] -- (python@) USE-conditional
- x11-misc/py3status[gevent] -- (ultrabug@) USE-conditional

If you want to keep it, then please figure out how to make the tests work and bump it.  Otherwise, we'll have to lastrite all these packages / mask the respective USE flags.
Comment 1 Bernard Cafarelli gentoo-dev 2022-11-03 22:27:00 UTC
For net-misc/python-x2go, gevent is highlighted as a core dependency and upstream development has slowed down quite a lot (less than 10 commits in 2 years).
Revdeps net-misc/pyhoca-{cli,gui} would have to go too, but we still have net-misc/x2goclient as an alternative.

tl;dr I am OK with last rites for these 3 to kick gevent out of the tree
Comment 2 Andrey Grozin gentoo-dev 2022-11-04 05:12:02 UTC
rpyc provides several implementations of rpyc server to choose from. GeventServer is one of them. It is possible to use rpyc without gevent, just choose some other server implementation.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-04 06:17:01 UTC
(In reply to Andrey Grozin from comment #2)
> rpyc provides several implementations of rpyc server to choose from.
> GeventServer is one of them. It is possible to use rpyc without gevent, just
> choose some other server implementation.

Can you make it optional (e.g. via USE flag or postinst message) then, please?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-16 06:24:05 UTC
Thank you!
Comment 5 Larry the Git Cow gentoo-dev 2022-11-17 20:22:50 UTC
The bug has been referenced in the following commit(s):

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

commit 84c69510c19b4cfe953dcf88a2456f6ca2036510
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-11-17 20:22:23 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-11-17 20:22:25 +0000

    package.mask: Last rite dev-python/gevent*
    
    Bug: https://bugs.gentoo.org/879011
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/base/package.use.mask |  7 +++++++
 profiles/package.mask          | 10 ++++++++++
 2 files changed, 17 insertions(+)

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

commit 59f2a711fbc8654494c3554a2001fefe1ba3ab8a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-11-17 20:17:23 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-11-17 20:18:02 +0000

    package.mask: Last rite net-misc/pyhoca*, net-misc/python-x2go
    
    Bug: https://bugs.gentoo.org/879011
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/base/package.use.mask | 4 ++++
 profiles/package.mask          | 8 ++++++++
 2 files changed, 12 insertions(+)
Comment 6 Anna Vyalkova 2022-11-17 21:26:49 UTC
Finished removing dev-python/gevent from depends in ::guru ;-)
Comment 7 Larry the Git Cow gentoo-dev 2022-12-20 14:26:09 UTC
The bug has been closed via the following commit(s):

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

commit 8710aa0a9078053187c690a48117ea820fc91f5c
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-12-20 14:01:35 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-12-20 14:25:38 +0000

    dev-python/gevent: treeclean
    
    Closes: https://bugs.gentoo.org/879011
    Closes: https://bugs.gentoo.org/849350
    Closes: https://bugs.gentoo.org/834795
    Closes: https://bugs.gentoo.org/807628
    Closes: https://bugs.gentoo.org/707024
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-python/gevent/Manifest                 |   2 -
 dev-python/gevent/gevent-21.12.0-r1.ebuild | 102 -----------------------------
 dev-python/gevent/gevent-22.10.1-r1.ebuild |  99 ----------------------------
 dev-python/gevent/metadata.xml             |  12 ----
 profiles/package.mask                      |   9 ---
 5 files changed, 224 deletions(-)

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

commit 200ee7735c5ade1c2b4608a2338e800746bc456a
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-12-20 13:57:37 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-12-20 14:25:33 +0000

    net-misc/python-x2go: treeclean
    
    Closes: https://bugs.gentoo.org/879011
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-misc/python-x2go/Manifest                   |  1 -
 net-misc/python-x2go/metadata.xml               | 13 -------------
 net-misc/python-x2go/python-x2go-0.6.1.3.ebuild | 22 ----------------------
 profiles/package.mask                           |  1 -
 4 files changed, 37 deletions(-)

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

commit f90ee42e6adf0e70847dec2d7dc76fe9a087b1e4
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-12-20 13:48:46 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-12-20 14:25:19 +0000

    www-apps/prewikka: treeclean
    
    Closes: https://bugs.gentoo.org/879011
    Closes: https://bugs.gentoo.org/718924
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                              |  1 -
 www-apps/prewikka/Manifest                         |  1 -
 .../files/prewikka-5.2.0-fix_siteconfig.patch      | 10 -----
 www-apps/prewikka/metadata.xml                     | 13 ------
 www-apps/prewikka/prewikka-5.2.0.ebuild            | 52 ----------------------
 5 files changed, 77 deletions(-)