Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 845864 - dev-python/Rx: needs upgrade to Python 3.10 (PythonCompatUpdate)
Summary: dev-python/Rx: needs upgrade to Python 3.10 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: py310, python3.10-compat
  Show dependency tree
 
Reported: 2022-05-18 18:55 UTC by Sam James
Modified: 2022-12-20 15:07 UTC (History)
4 users (show)

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


Attachments
Rx-4.0.4 functioning (Screenshot_20220910_002439.png,395.14 KB, image/png)
2022-09-10 05:31 UTC, Michael Crawford (ali3nx)
Details
Test ebuild for Rx-4.0.4 (Rx-4.0.4.ebuild,613 bytes, text/plain)
2022-09-10 05:37 UTC, Michael Crawford (ali3nx)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-18 18:55:41 UTC
This package does not support Python 3.10. Please test it with Python 3.10 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/13aa993921f19b6b095297721ffb0d0b. Ask in #gentoo-python on IRC if need any help.

$ pkgcheck scan -k PythonCompatUpdate dev-python/Rx
dev-python/Rx
  PythonCompatUpdate: version 3.2.0: PYTHON_COMPAT updates available: python3_10, python3_11
Comment 1 Michael Crawford (ali3nx) 2022-09-10 04:26:30 UTC
I found myself tinkering this evening attempting to get sys-power/gwe::guru functioning that relies on this package however with it's currently available version and ebuild python 3.10 is not supported for reasons.

attempting to use python 3.9 for all of the gwe dependencies did not work for reasons including gwe installing to python 3.10 environment despite the gwe ebuild package not configured to support 3.10 python targets.

I decided to attempt experimenting with using python 3.10 for gwe and this required some development testing of ReactiveX

The currently available Rx-3.2.0 version and 3.9 python target support supposedly implies Rx-3.2.0 may be incompatible with python 3.10 however I attempted to build this package version with a minor revision bumped ebuild configured in a local overlay to allow PYTHON_COMPAT 9..11 and this package did not fail to build.

This package also has a major version upgrade available to 4.0.4 provided by the github repo but I'm not intimately experienced or familiar enough to determine there are any newer package compatibility concerns or related issues of important significance regarding upgrade bump to the 4.0.x version upgrade if this was attempted.

The 3.2.0 version currently available appears to be significantly obsolete but does appear to function as a consequence of not failing to build with python 3.10
Comment 2 Michael Crawford (ali3nx) 2022-09-10 05:31:35 UTC
Created attachment 804346 [details]
Rx-4.0.4 functioning
Comment 3 Michael Crawford (ali3nx) 2022-09-10 05:37:22 UTC
Created attachment 804349 [details]
Test ebuild for Rx-4.0.4

I managed to local repo test an ebuild for Rx-4.0.4 however the result was unexpected and the environment path changed for Rx to site-packages/reactivex which broke the expected environment of gwe.

I only managed to get gwe functioning by interactively editing the python code instances where import rx and similar statements was expected to import reactvex

perhaps there is a better ebuild config option I'm unaware of to force the environment directory naming that wouldn't break expected python module environment of Rx?

Despite the issues encountered updated package version built and was successfully used.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-18 19:39:22 UTC
Michael, thank you for your effort.  However, this package really needs a proper maintainer and from your reply, it's not clear if the new version is useful.

I've masked it for removal in a month.  If you wish, you can either volunteer to maintain it via proxy-maint now or restore later.  Please also consider whether ::guru wouldn't be a better home for it.
Comment 5 Larry the Git Cow gentoo-dev 2022-12-20 15:07:10 UTC
The bug has been closed via the following commit(s):

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

commit 5650a746a2bc6db10d524420a62bb9d1ba6c01fa
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-12-20 14:42:02 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-12-20 15:06:20 +0000

    dev-python/Rx: treeclean
    
    Closes: https://bugs.gentoo.org/845864
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-python/Rx/Manifest        |  1 -
 dev-python/Rx/Rx-3.2.0.ebuild | 32 --------------------------------
 dev-python/Rx/metadata.xml    | 14 --------------
 profiles/package.mask         |  1 -
 4 files changed, 48 deletions(-)