Bug 1793497
Summary: | ursa-major fails to build with Python 3.9: no configuration for profile name: koji | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | ursa-major | Assignee: | Qixiang Wan <qwan> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cqi, cstratak, mhroncok, qwan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 0.4.1-1.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-17 09:54:06 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: | 1785415 |
Description
Miro Hrončok
2020-01-21 13:40:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. Qixiang, could you please have look and report this upstream (is that also you?) if needed? Thanks. I have no idea why the tests failed for the old build, however there was a new build passed (built in F32 branch): https://koji.fedoraproject.org/koji/buildinfo?buildID=1462841 So I think we can close this. I've scheduled a build in https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/ursa-major/ to see if it builds with Python 3.9. F32 branch (and rawhide) has Python 3.8. Still fails with koji.ConfigurationError: no configuration for profile name: koji + py.test-3 ============================= test session starts ============================== platform linux -- Python 3.9.0a4, pytest-4.6.9, py-1.8.0, pluggy-0.13.0 rootdir: /builddir/build/BUILD/ursa-major-0.3.1 collected 57 items tests/test_add_module.py FFFFFF..... [ 19%] tests/test_add_tag_handler.py ..... [ 28%] tests/test_check_config.py FFFFF [ 36%] tests/test_cli.py .... [ 43%] tests/test_koji_service.py ............. [ 66%] tests/test_mbs.py ...... [ 77%] tests/test_remove_module.py FFFF [ 84%] tests/test_utils.py ......... [100%] (In reply to Miro Hrončok from comment #5) > Still fails with koji.ConfigurationError: no configuration for profile name: Hi Miro, I have no idea why the tests failed due to missing the default 'koji' profile, I tried to get a local env to reproduce that, but unable to find python3-3.9 from koji. Anyway, we actually disabled unit-tests in the latest build due to another issue (libmodulemd v1 is not available in buildroot), so the test failure should not block building under python3.9 if you rebuild the package with the latest version. Could you try with 0.4.1 [1] instead of 0.3.1? [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1462841 Do you mind pushing that to master? The copr will pick it. > I tried to get a local env to reproduce that, but unable to find python3-3.9 from koji Instructions to building in mock: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Do `dnf install python3.9` for local venv checks. I've pushed the latest version to master branch. And it builds. Thank You. |