Bug 1227405

Summary: [Build 20240703] openQA test fails in python_scientific
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: PythonAssignee: Steve Kowalik <steven.kowalik>
Status: IN_PROGRESS --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: felix.niederwanger, steven.kowalik
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/4318292/modules/python_scientific/steps/26
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2024-07-04 15:10:43 UTC
## Observation

Traceback (most recent call last):
  File "/root/./python3-scipy-test.py", line 11, in <module>
    from scipy.integrate import quad, simps
ImportError: cannot import name 'simps' from 'scipy.integrate' (/usr/lib64/python3.11/site-packages/scipy/integrate/__init__.py)
iilOE-1-


openQA test in scenario opensuse-Tumbleweed-JeOS-for-kvm-and-xen-x86_64-jeos-extra@64bit_virtio-2G fails in
[python_scientific](https://openqa.opensuse.org/tests/4318292/modules/python_scientific/steps/26)

## Test suite description
Same as jeos, plus some more tests.


## Reproducible

Fails since (at least) Build [20240612](https://openqa.opensuse.org/tests/4268502)


## Expected result

Last good: [20240611](https://openqa.opensuse.org/tests/4266212) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=JeOS-for-kvm-and-xen&machine=64bit_virtio-2G&test=jeos-extra&version=Tumbleweed)
Comment 1 Steve Kowalik 2024-07-05 06:44:11 UTC
Where is the source for that test file? scipy.integrate.simps has been deprecated for a long time and finally removed.
Comment 2 Dominique Leuenberger 2024-07-05 07:05:12 UTC
(In reply to Steve Kowalik from comment #1)
> Where is the source for that test file? scipy.integrate.simps has been
> deprecated for a long time and finally removed.

https://github.com/os-autoinst/os-autoinst-distri-opensuse/tree/master/data/python
Comment 3 Dominique Leuenberger 2024-07-05 07:22:27 UTC
(In reply to Steve Kowalik from comment #1)
> Where is the source for that test file? scipy.integrate.simps has been
> deprecated for a long time and finally removed.

CC Felix - maintainer of the test code
Comment 4 Steve Kowalik 2024-07-08 04:28:10 UTC
I have pushed up a PR, https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19678