Overview
Request 970065 accepted
- Ignore python3.6.2 for test since it doesn't support it.
- Created by huizhizhao
- In state accepted
- Package maintainer: mnhauke
Loading...
Request History
huizhizhao created request
- Ignore python3.6.2 for test since it doesn't support it.
mcepl accepted request
@mnhauke: review reminder
@huzihizhao
This is the second time I see this when fixing a package. Did you add this nonsense anywhere else? It disables the test suite for everything. There is no python_flavor "python362" and and alphanumeric comparison with real flavors like "python310" does not work here:
Besides "%{python_flavor}" is not expanded to multiple flavors in the %check context or similar blocks.
Specfile
Tumbleweed:
15.4:
I have submitted 2 requests, and another is here: https://build.opensuse.org/request/show/972492?notification_id=32123710
What my intention is to ignore the test for python3.62 since the packages don't support it. Will it work as my intention if I change
python362
topython36
?The packaging change has already been reverted and was eqaully wrong. Those SRs should never have been accepted.
Your intended change will not work either.
Read https://en.opensuse.org/openSUSE:Packaging_Python and https://github.com/openSUSE/python-rpm-macros
If the tests don't work with Python 3.6 there is a reason for it. You can't use the package with Python 3.6 unless you fix it.