Bug 1728067
Summary: | python-lit fails to build with Python 3.8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-lit | Assignee: | serge_sans_paille <sguelton> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | sguelton, tstellar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-19 17:10:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1686977, 1715016 |
Description
Miro Hrončok
2019-07-08 23:35:05 UTC
The bug is not reproducible with mock, even when following the instructions from https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Looks like the tests are not found under mock... The %check test in lit spec file should be either removed (it currently tests nothing) or replaced by `lit.py tests` but in that case we should depend on llvm-test because of FileCheck. @tstellar, any thoughts? (In reply to serge_sans_paille from comment #2) > The %check test in lit spec file should be either removed (it currently > tests nothing) or replaced by `lit.py tests` but in that case we should > depend on llvm-test because of FileCheck. @tstellar, any thoughts? I think having it build depend on llvm-test to run lit.py tests should be fine. Then we have the following dependency : llvm-test requires python3-lit that build-requires llvm-test. Isn't that an issue? (In reply to serge_sans_paille from comment #4) > Then we have the following dependency : llvm-test requires python3-lit that > build-requires llvm-test. Isn't that an issue? I don't think it's a major issue, because llvm-lit (in theory) does not depend on a specific version of llvm-test. The other alternative would be to not do any testing during RPM build time and add gating tests that run the llvm-test-suite or the tests in llvm-test. You should probably add a bcond to bootstrap this problem. %bcond_without check ... %if %{with check} BuildRequires: llvm-test %endif ... %if %{with check} %check ... %endif @miro : can you confirm the srpm attached to that build https://koji.fedoraproject.org/koji/taskinfo?taskID=36283153 also works nice for py38? Build was added to python3.8: https://copr.fedorainfracloud.org/coprs/build/972472 fixed by python-lit-0.8.0-3.fc31 |