python-apache-libcloud fails its test suite (breaks fdroidserver)

DoneSubmitted by Maxim Cournoyer.
Details
One participant
  • Maxim Cournoyer
Owner
unassigned
Severity
normal
M
M
Maxim Cournoyer wrote on 11 Sep 2019 04:36
python-apache-libcloud fails its test suite
(name . bug-guix)(address . bug-guix@gnu.org)
871rwnsgn7.fsf@gmail.com
This is happening on master.
The tests results are reported as:
====== 14 failed, 9148 passed, 24 skipped, 532 warnings in 173.14 seconds ======
And here's a sample of a failure output:
Toggle snippet (47 lines)self = <PreparedRequest [POST]>, url = 'https://ecs.%s.amazonaws.com/'params = OrderedDict()
def prepare_url(self, url, params): """Prepares the given HTTP URL.""" #: Accept objects that have string representations. #: We're unable to blindly call unicode/str functions #: as this will include the bytestring indicator (b'') #: on python 3.x. #: https://github.com/requests/requests/pull/2238 if isinstance(url, bytes): url = url.decode('utf8') else: url = unicode(url) if is_py2 else str(url) # Remove leading whitespaces from url url = url.lstrip() # Don't do any URL preparation for non-HTTP schemes like `mailto`, # `data` etc to work around exceptions from `url_parse`, which # handles RFC 3986 only. if ':' in url and not url.lower().startswith('http'): self.url = url return # Support for unicode domain names and paths. try: scheme, auth, host, port, path, query, fragment = parse_url(url) except LocationParseError as e:> raise InvalidURL(*e.args)E requests.exceptions.InvalidURL: Failed to parse: https://ecs.%s.amazonaws.com/
/gnu/store/6bqv37089mz5a227c008smpl6vks3cf8-python-requests-2.22.0/lib/python3.7/site-packages/requests/models.py:381: InvalidURL______________ ElasticContainerDriverTestCase.test_stop_container ______________
self = <PreparedRequest [POST]>, url = 'https://ecs.%s.amazonaws.com/'params = OrderedDict()
def prepare_url(self, url, params): """Prepares the given HTTP URL.""" #: Accept objects that have string representations. #: We're unable to blindly call unicode/str functions #: as this will include the bytestring indicator (b'') #: on python 3.x. #: https://github.com/requests/requests/pull/2238
Perhaps an upgrade of python-requests could be at cause. Needsinvestigation.
Maxim
M
M
Maxim Cournoyer wrote on 2 Mar 2020 20:17
control message for bug #37378
(address . control@debbugs.gnu.org)
87d09u5zxa.fsf@gmail.com
retitle 37378 python-apache-libcloud fails its test suite (breaks fdroidserver)quit
M
M
Maxim Cournoyer wrote on 13 Jan 17:02 +0100
(address . control@debbugs.gnu.org)
87eeion7ue.fsf@gmail.com
tags 37378 fixedclose 37378 quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 37378@debbugs.gnu.org