Bug 2219952
Summary: | F39FailsToInstall: breezy: Uses the removed imp module, crahes wehn executed, with TypeError: HTTPSConnection.__init__() takes from 2 to 3 positional arguments but 5 were given | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
Component: | breezy | Assignee: | Ondřej Pohořelský <opohorel> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | mhroncok, michel, opohorel, petersen, python-packagers-sig, sanjay.ankur |
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: | 2023-07-25 13:48:53 UTC | Type: | --- |
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: | 2196739, 2223432 | ||
Bug Blocks: | 2135404, 2168842, 2168845, 2219955, 2219990, 2220016, 2220200 |
Description
Fedora Fails To Install
2023-07-05 19:02:44 UTC
From https://src.fedoraproject.org/rpms/breezy/pull-request/14 $ brz init-repo brz && cd brz && brz branch lp:brz brz.dev Shared repository with trees (format: 2a) Location: shared repository: brz brz: ERROR: TypeError: HTTPSConnection.__init__() takes from 2 to 3 positional arguments but 5 were given Traceback (most recent call last): File "/usr/lib64/python3.12/site-packages/breezy/directory_service.py", line 87, in dereference return directory.look_up(name, url, purpose=purpose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_directory.py", line 114, in look_up return self._resolve(url) ^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_directory.py", line 170, in _resolve result = self._resolve_via_xmlrpc(path, url, _request_factory) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_directory.py", line 146, in _resolve_via_xmlrpc result = resolve.submit(service) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_registration.py", line 231, in submit return service.send_request(self._methodname, self._request_params()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_registration.py", line 160, in send_request result = method(*method_params) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1122, in __call__ return self.__send(self.__name, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1461, in __request response = self.__transport.request( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_registration.py", line 87, in request response = transport.request("POST", url, body=request_body, headers={ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 1851, in request response = self._opener.open(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/urllib/request.py", line 512, in open req = meth(req) ^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 558, in https_request return self.capture_connection(request, HTTPSConnection) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 547, in capture_connection connection = self.create_connection(request, http_connection_class) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 520, in create_connection connection = http_connection_class( ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 343, in __init__ http_client.HTTPSConnection.__init__( TypeError: HTTPSConnection.__init__() takes from 2 to 3 positional arguments but 5 were given During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.12/site-packages/breezy/commands.py", line 1017, in exception_to_return_code return the_callable(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/commands.py", line 1206, in run_bzr ret = run(*run_argv) ^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/commands.py", line 757, in run_argv_aliases return self.run(**all_cmd_args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/commands.py", line 782, in run return class_run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/builtins.py", line 1473, in run accelerator_tree, br_from = controldir.ControlDir.open_tree_or_branch( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/controldir.py", line 817, in open_tree_or_branch controldir = klass.open(location) ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/controldir.py", line 723, in open t = _mod_transport.get_transport(base, possible_transports) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/__init__.py", line 1573, in get_transport location_to_url(base, purpose=purpose), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/location.py", line 136, in location_to_url location = directories.dereference(location, purpose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/directory_service.py", line 90, in dereference return directory.look_up(name, url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_directory.py", line 114, in look_up return self._resolve(url) ^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_directory.py", line 170, in _resolve result = self._resolve_via_xmlrpc(path, url, _request_factory) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_directory.py", line 146, in _resolve_via_xmlrpc result = resolve.submit(service) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_registration.py", line 231, in submit return service.send_request(self._methodname, self._request_params()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_registration.py", line 160, in send_request result = method(*method_params) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1122, in __call__ return self.__send(self.__name, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1461, in __request response = self.__transport.request( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/plugins/launchpad/lp_registration.py", line 87, in request response = transport.request("POST", url, body=request_body, headers={ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 1851, in request response = self._opener.open(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/urllib/request.py", line 512, in open req = meth(req) ^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 558, in https_request return self.capture_connection(request, HTTPSConnection) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 547, in capture_connection connection = self.create_connection(request, http_connection_class) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 520, in create_connection connection = http_connection_class( ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/breezy/transport/http/urllib.py", line 343, in __init__ http_client.HTTPSConnection.__init__( TypeError: HTTPSConnection.__init__() takes from 2 to 3 positional arguments but 5 were given brz 3.2.2 on python 3.12.b3 (Linux-6.0.15-300.fc37.x86_64-x86_64-with- glibc2.37.9000) arguments: ['/usr/bin/brz', 'branch', 'lp:brz', 'brz.dev'] plugins: bash_completion[3.2.2], changelog_merge[3.2.2], commitfromnews[3.2.2], cvs[3.2.2], darcs[3.2.2], email[3.2.2], fastimport[3.2.2], flake8[unknown], fossil[3.2.2], github[3.2.2], gitlab[3.2.2], hg[3.2.2], launchpad[3.2.2], mtn[3.2.2], netrc_credential_store[3.2.2], news_merge[3.2.2], po_merge[3.2.2], propose[3.2.2], pypi[3.2.2], quilt[unknown], repodebug[3.2.2], rewrite[unknown], stats[3.2.2], svn[3.2.2], upload[3.2.2], weave_fmt[3.2.2], zsh_completion[3.2.2] encoding: 'utf-8', fsenc: 'utf-8', lang: 'C.UTF-8' *** Bazaar has encountered an internal error. This probably indicates a bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/brz/+filebug including this traceback and a description of the problem. ---------------------- See *Remove keyfile, certfile and check_hostname parameters* https://github.com/python/cpython/commit/ef0e72b31d22f780d3a165d7d0471806061fe380 Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug. I tried to fix this and Bug 2133259 at the same time. It seems like breezy team has created yet another package, setuptools-gettext. I'll try to package it and once it is present in rawhide build Breezy. Taking back my last message. Package setuptools-gettext is present in the Fedora. However, there is another one missing (now I checked properly :) ), the Merge3 package[0], so I'll try to package that one. I have done the update commit in my fork[1], I will make a PR after Merge3 is ready. [0]https://pypi.org/project/merge3/ [1]https://src.fedoraproject.org/fork/opohorel/rpms/breezy/c/8dd552750b3ba99d32193629318e667c0a5cb0d3?branch=3.3.3 Chiming in here since I'm interested in getting etckeeper working in Rawhide and it's blocked on this; I've put up a review request (linked) for merge3 Funny, I wanted to post the review this morning. Never mind, here is my spec, which I fully generated by pyp2spec, so you can take a look: https://fedorapeople.org/cgit/opohorel/public_git/python3-merge3.git/plain/python-merge3.spec If you need any help with that package, feel free to message me :) (In reply to Ondřej Pohořelský from comment #6) > Funny, I wanted to post the review this morning. > Never mind, here is my spec, which I fully generated by pyp2spec, so you can > take a look: > > https://fedorapeople.org/cgit/opohorel/public_git/python3-merge3.git/plain/ > python-merge3.spec > > If you need any help with that package, feel free to message me :) python-merge3 is in Rawhide now - so breezy review is unblocked! Let me know if you want to be added as a maintainer - I've also added the Python packager SIG. *** Bug 2224747 has been marked as a duplicate of this bug. *** Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 39. Thanks for taking care of it! |