Bug 1900669
Summary: | modulemd-tools fails to build with Python 3.10: AssertionError: '---\[58 chars]eam: "devel"\n version: 123\n context: f32\n[437 chars]..\n' != '---\[58 chars]eam: devel\n version: 123\n context: f32\n [435 chars]..\n' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | modulemd-tools | Assignee: | Jakub Kadlčík <jkadlcik> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jkadlcik, mhroncok, thrnciar |
Target Milestone: | --- | Keywords: | Reopened |
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: | 2021-04-21 08:40:03 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: | 1890881 |
Description
Tomáš Hrnčiar
2020-11-23 13:59:43 UTC
Hello Tomas, I couldn't reproduce the issue I run a `fedora:rawhide` docker container like this docker run -v ~/git/modulemd-tools/:/modulemd-tools:Z -it fedora:rawhide bash And then tried to [root@914be6d5063b ~]# dnf install 'dnf-command(copr)' [root@914be6d5063b ~]# dnf copr enable @python/python3.10 [root@914be6d5063b ~]# dnf update python3 [root@914be6d5063b ~]# python3.10 --version Python 3.10.0a2 [root@914be6d5063b ~]# cd /modulemd-tools/ [root@914be6d5063b modulemd-tools]# dnf builddep modulemd-tools.spec [root@914be6d5063b modulemd-tools]# dnf install python3-pytest [root@914be6d5063b modulemd-tools]# python3.10 -m pytest -s modulemd_tools/tests -v And all tests passed successfully. Do you have any idea what changed or if I am doing something wrong? Thank you The failures happen in mock build. Mock config is at https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ [~]$ fedpkg clone modulemd-tools [~]$ cd modulemd-tools/ [modulemd-tools (master)]$ fedpkg srpm ... [modulemd-tools (master)]$ mock -r fedora-rawhide-python310 modulemd-tools-0.6-1.fc34.src.rpm ... ---------------------------------------------------------------------- Ran 26 tests in 0.122s FAILED (failures=2) Thank you for the reproducer Miro, Fixed in PR#26 (0784734) Hello Jakub, thank you for the fix. Please keep this bugzilla open until it is not in rawhide. We use it for tracking purposes. This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. |