python-http-client fails to build with Python 3.10.0a4.
=================================== FAILURES ===================================
________________________ DateRangeTest.test__daterange _________________________
self = <tests.test_daterange.DateRangeTest testMethod=test__daterange>
> self.assertIn(self.pattern, self.license_file)
E AssertionError: 'Copyright (C) 2021, Twilio SendGrid, Inc.' not found in 'MIT License\n\nCopyright (C) 2020, Twilio SendGrid, Inc. <firstname.lastname@example.org>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the "Software"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n'
=========================== short test summary info ============================
FAILED tests/test_daterange.py::DateRangeTest::test__daterange - AssertionErr...
========================= 1 failed, 11 passed in 0.13s =========================
For the build logs, see:
For all our attempts to build python-http-client with Python 3.10, see:
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.10:
Let us know here if you have any questions.
Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.
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.
This is a 2021 problem. I bet it also happens on rawhide.
(In reply to Miro Hrončok from comment #1)
> I bet it also happens on rawhide.
Fixed in python-http-client-3.3.1-2.fc34