Bug 1914225 - python-http-client fails to build: Copyright (C) 2021 not found in Copyright (C) 2020
Summary: python-http-client fails to build: Copyright (C) 2021 not found in Copyright ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-http-client
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F34FTBFS PYTHON3.10
TreeView+ depends on / blocked
 
Reported: 2021-01-08 11:49 UTC by Tomáš Hrnčiar
Modified: 2021-01-12 05:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-12 05:56:17 UTC
Type: Bug


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-01-08 11:49:07 UTC
python-http-client fails to build with Python 3.10.0a4.

=================================== FAILURES ===================================
________________________ DateRangeTest.test__daterange _________________________

self = <tests.test_daterange.DateRangeTest testMethod=test__daterange>

    def test__daterange(self):
>       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. <help@twilio.com>\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'

tests/test_daterange.py:19: AssertionError
=========================== 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:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01865137-python-http-client/

For all our attempts to build python-http-client with Python 3.10, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-http-client/

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:
https://copr.fedorainfracloud.org/coprs/g/python/python3.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.

Comment 1 Miro Hrončok 2021-01-08 12:17:30 UTC
This is a 2021 problem. I bet it also happens on rawhide.

Comment 2 Miro Hrončok 2021-01-08 12:20:38 UTC
(In reply to Miro Hrončok from comment #1)
> I bet it also happens on rawhide.

Indeed: https://koschei.fedoraproject.org/package/python-http-client?collection=f34

Comment 3 Lumír Balhar 2021-01-12 05:56:17 UTC
Fixed in python-http-client-3.3.1-2.fc34


Note You need to log in before you can comment on or make changes to this bug.