Bug 1217256

Summary: python-stem fails to build - line 38: 1347 Alarm clock python3 run_tests.py -u
Product: [openSUSE] openSUSE Distribution Reporter: Lubos Kocman <lubos.kocman>
Component: PythonAssignee: Matej Cepl <mcepl>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: daniel.garcia, lubos.kocman, mcepl
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://github.com/torproject/stem/issues/149
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lubos Kocman 2023-11-16 16:41:27 UTC
Hello

python-stem does not build on Leap 15.6. This should be fixed before Beta (Feb 2023).
https://en.opensuse.org/openSUSE:Roadmap#Schedule_for_openSUSE_Leap_15.6

Build log from Leap 15.6

https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/python-stem/standard/x86_64

It seems that tests pass but then there is an unexpected text on line 38

[   24s] TESTING PASSED (2 seconds)

/var/tmp/rpm-tmp.KXMZDL: line 38:  1347 Alarm clock             python3 run_tests.py -u
Comment 1 Matej Cepl 2023-11-27 19:26:41 UTC
Python-stem has been removed from Factory and replaced with python-cepa. Shouldn't we do the same action in Leap or should I just patch the problem in the test suite?
Comment 2 Matej Cepl 2023-12-01 09:47:41 UTC
https://github.com/torproject/stem/issues/149
Comment 3 Daniel Garcia 2024-02-12 08:15:43 UTC
(In reply to Matej Cepl from comment #1)
> Python-stem has been removed from Factory and replaced with python-cepa.
> Shouldn't we do the same action in Leap or should I just patch the problem
> in the test suite?

Looks like the python-cepa fork is not maintained, last commit in the repository [1] is from 2022, and the python-stem was updated today [2], so maybe it's worth to consider to bring back the python-stem and replace the python-cepa for Factory.

In any case, for Leap, as far as I can tell, there's nothing requiring python-stem, and the current package with failing tests is for python3.6, so maybe it's worth to just remove this package.

[1] https://github.com/onionshare/cepa
[2] https://github.com/torproject/stem(In reply to Matej Cepl from comment #2)
Comment 4 Matej Cepl 2024-03-01 20:46:27 UTC
(In reply to Daniel Garcia from comment #3)
> Looks like the python-cepa fork is not maintained, last commit in the
> repository [1] is from 2022, and the python-stem was updated today [2], so
> maybe it's worth to consider to bring back the python-stem and replace the
> python-cepa for Factory.

Considering STEM: https://stem.torproject.org/ and https://github.com/torproject/stem/issues/154

Anyway, python-stem is not part of openSUSE:Backports:SLE-15-SP6, so this could be closed.