Bug 1830974
| Summary: | python-keystoneauth1 fails to build with Python 3.9: MismatchErrors in tests | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-keystoneauth1 | Assignee: | Thomas Oulevey <thomas.oulevey> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | apevec, cstratak, jpena, karlthered, mhroncok, mplch, openstack-sig, pabelanger, thomas.oulevey |
| 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: | 2020-05-04 13:37:28 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 | ||
https://koji.fedoraproject.org/koji/taskinfo?taskID=44085466 has fixed the issue, as I can see in https://copr.fedorainfracloud.org/coprs/g/python/python3.9/build/1366354/ Awesome, thanks for the superfast fix. |
python-keystoneauth1 fails to build with Python 3.9.0a6. Traceback (most recent call last): File "/builddir/build/BUILD/keystoneauth1-3.17.1/keystoneauth1/tests/unit/identity/test_identity_v2.py", line 285, in test_invalidate_response self.assertEqual({'X-Auth-Token': 'token1'}, s.get_auth_headers()) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 391, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 478, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: {'X-Auth-Token': 'token1'} != {'X-Auth-Token': 'token2'} For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01365518-python-keystoneauth1/ For all our attempts to build python-keystoneauth1 with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-keystoneauth1/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.