Bug 1218454 - pip 23.3.2 can not find Python packages for s390x, arm and PPC64le (in this example for the software unicorn)
Summary: pip 23.3.2 can not find Python packages for s390x, arm and PPC64le (in this e...
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: S/390-64 Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Dirk Mueller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-29 16:41 UTC by Sarah Kriesch
Modified: 2024-01-01 12:24 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah Kriesch 2023-12-29 16:41:07 UTC
I wanted to package the software unicorn:
https://build.opensuse.org/package/show/home:AdaLovelace:branches:Virtualization/unicorn

I have received some support to get it working with integrated pip for x86.
Anyways it is failing for all the other architectures with the following error:
[  215s] Using pip 23.3.2 from /usr/lib/python3.9/site-packages/pip (python 3.9)
[  215s] Looking in links: ./build
[  215s] ERROR: Could not find a version that satisfies the requirement unicorn==2.0.1.post1 (from versions: none)
[  215s] ERROR: No matching distribution found for unicorn==2.0.1.post1
[  215s] error: Bad exit status from /var/tmp/rpm-tmp.L65eBJ (%install)

I went to my s390x VM in the LinuxONE Community Cloud to check, whether the software unicorn is available:
~> pip index versions unicorn
WARNING: pip index is currently an experimental command. It may be removed/changed in a future release without prior warning.
unicorn (2.0.1.post1)
Available versions: 2.0.1.post1, 2.0.1, 2.0.0, 1.0.3, 1.0.2, 1.0.1, 1.0.0

It seems, that there is a bug for using pip on other architectures besides x86.
Comment 1 Sarah Kriesch 2024-01-01 12:24:25 UTC
The software has a deprecated Python configuration for disutils. The problem is solved and the bug is invalid.
The error message has led me to think about a pip-related bug.