Your message dated Sun, 31 Jan 2021 04:49:19 +0000
with message-id <[email protected]>
and subject line Bug#956427: fixed in python-httplib2 0.18.1-2
has caused the Debian Bug report #956427,
regarding python3-httplib2: please add breaks on python3-wsgi-intercept << 1.9.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
956427: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956427
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-wsgi-intercept
Version: 1.8.1-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-wsgi-intercept.html

...
=================================== FAILURES ===================================
__________________________________ test_https __________________________________

    def test_https():
        with InstalledApp(wsgi_app.simple_app, host=HOST, port=443) as app:
            http = httplib2.Http()
>           resp, content = http.request(
                'https://some_hopefully_nonexistant_domain:443/')

wsgi_intercept/tests/test_httplib2.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <httplib2.Http object at 0x7f345193d9d0>
uri = 'https://some_hopefully_nonexistant_domain:443/', method = 'GET'
body = None, headers = {'user-agent': 'Python-httplib2/0.14.0 (gzip)'}
redirections = 5
connection_type = <class 
'wsgi_intercept.httplib2_intercept.HTTPS_WSGIInterceptorWithTimeout'>

        def request(
            self,
            uri,
            method="GET",
            body=None,
            headers=None,
            redirections=DEFAULT_MAX_REDIRECTS,
            connection_type=None,
        ):
            """ Performs a single HTTP request.
    The 'uri' is the URI of the HTTP resource and can begin
    with either 'http' or 'https'. The value of 'uri' must be an absolute URI.
    
    The 'method' is the HTTP method to perform, such as GET, POST, DELETE, etc.
    There is no restriction on the methods allowed.
    
    The 'body' is the entity body to be sent with the request. It is a string
    object.
    
    Any extra headers that are to be sent with the request should be provided 
in the
    'headers' dictionary.
    
    The maximum number of redirect to follow before raising an
    exception is 'redirections. The default is 5.
    
    The return value is a tuple of (response, content), the first
    being and instance of the 'Response' class, the second being
    a string that contains the response entity body.
            """
            conn_key = ''
    
            try:
                if headers is None:
                    headers = {}
                else:
                    headers = self._normalize_headers(headers)
    
                if "user-agent" not in headers:
                    headers["user-agent"] = "Python-httplib2/%s (gzip)" % 
__version__
    
                uri = iri2uri(uri)
    
                (scheme, authority, request_uri, defrag_uri) = urlnorm(uri)
    
                conn_key = scheme + ":" + authority
                conn = self.connections.get(conn_key)
                if conn is None:
                    if not connection_type:
                        connection_type = SCHEME_TO_CONNECTION[scheme]
                    certs = list(self.certificates.iter(authority))
                    if issubclass(connection_type, HTTPSConnectionWithTimeout):
                        if certs:
                            conn = self.connections[conn_key] = connection_type(
                                authority,
                                key_file=certs[0][0],
                                cert_file=certs[0][1],
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
                        else:
>                           conn = self.connections[conn_key] = connection_type(
                                authority,
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
E                           TypeError: __init__() got an unexpected keyword 
argument 'tls_maximum_version'

/usr/lib/python3/dist-packages/httplib2/__init__.py:1787: TypeError
___________________________ test_https_default_port ____________________________

    def test_https_default_port():
        with InstalledApp(wsgi_app.simple_app, host=HOST, port=443) as app:
            http = httplib2.Http()
>           resp, content = http.request(
                'https://some_hopefully_nonexistant_domain/')

wsgi_intercept/tests/test_httplib2.py:73: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <httplib2.Http object at 0x7f34519b7610>
uri = 'https://some_hopefully_nonexistant_domain/', method = 'GET', body = None
headers = {'user-agent': 'Python-httplib2/0.14.0 (gzip)'}, redirections = 5
connection_type = <class 
'wsgi_intercept.httplib2_intercept.HTTPS_WSGIInterceptorWithTimeout'>

        def request(
            self,
            uri,
            method="GET",
            body=None,
            headers=None,
            redirections=DEFAULT_MAX_REDIRECTS,
            connection_type=None,
        ):
            """ Performs a single HTTP request.
    The 'uri' is the URI of the HTTP resource and can begin
    with either 'http' or 'https'. The value of 'uri' must be an absolute URI.
    
    The 'method' is the HTTP method to perform, such as GET, POST, DELETE, etc.
    There is no restriction on the methods allowed.
    
    The 'body' is the entity body to be sent with the request. It is a string
    object.
    
    Any extra headers that are to be sent with the request should be provided 
in the
    'headers' dictionary.
    
    The maximum number of redirect to follow before raising an
    exception is 'redirections. The default is 5.
    
    The return value is a tuple of (response, content), the first
    being and instance of the 'Response' class, the second being
    a string that contains the response entity body.
            """
            conn_key = ''
    
            try:
                if headers is None:
                    headers = {}
                else:
                    headers = self._normalize_headers(headers)
    
                if "user-agent" not in headers:
                    headers["user-agent"] = "Python-httplib2/%s (gzip)" % 
__version__
    
                uri = iri2uri(uri)
    
                (scheme, authority, request_uri, defrag_uri) = urlnorm(uri)
    
                conn_key = scheme + ":" + authority
                conn = self.connections.get(conn_key)
                if conn is None:
                    if not connection_type:
                        connection_type = SCHEME_TO_CONNECTION[scheme]
                    certs = list(self.certificates.iter(authority))
                    if issubclass(connection_type, HTTPSConnectionWithTimeout):
                        if certs:
                            conn = self.connections[conn_key] = connection_type(
                                authority,
                                key_file=certs[0][0],
                                cert_file=certs[0][1],
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
                        else:
>                           conn = self.connections[conn_key] = connection_type(
                                authority,
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
E                           TypeError: __init__() got an unexpected keyword 
argument 'tls_maximum_version'

/usr/lib/python3/dist-packages/httplib2/__init__.py:1787: TypeError
_____________________ test_httplib2_interceptor_https_host _____________________

    def test_httplib2_interceptor_https_host():
        hostname = str(uuid4())
        port = 443
        http = Http()
        with Httplib2Interceptor(app=app, host=hostname, port=port) as url:
            assert url == 'https://%s' % hostname
>           response, content = http.request(url)

wsgi_intercept/tests/test_interceptor.py:125: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <httplib2.Http object at 0x7f3451957ca0>
uri = 'https://a4c74d58-7806-45fc-ac7c-c2c6d0acc7e5', method = 'GET'
body = None, headers = {'user-agent': 'Python-httplib2/0.14.0 (gzip)'}
redirections = 5
connection_type = <class 
'wsgi_intercept.httplib2_intercept.HTTPS_WSGIInterceptorWithTimeout'>

        def request(
            self,
            uri,
            method="GET",
            body=None,
            headers=None,
            redirections=DEFAULT_MAX_REDIRECTS,
            connection_type=None,
        ):
            """ Performs a single HTTP request.
    The 'uri' is the URI of the HTTP resource and can begin
    with either 'http' or 'https'. The value of 'uri' must be an absolute URI.
    
    The 'method' is the HTTP method to perform, such as GET, POST, DELETE, etc.
    There is no restriction on the methods allowed.
    
    The 'body' is the entity body to be sent with the request. It is a string
    object.
    
    Any extra headers that are to be sent with the request should be provided 
in the
    'headers' dictionary.
    
    The maximum number of redirect to follow before raising an
    exception is 'redirections. The default is 5.
    
    The return value is a tuple of (response, content), the first
    being and instance of the 'Response' class, the second being
    a string that contains the response entity body.
            """
            conn_key = ''
    
            try:
                if headers is None:
                    headers = {}
                else:
                    headers = self._normalize_headers(headers)
    
                if "user-agent" not in headers:
                    headers["user-agent"] = "Python-httplib2/%s (gzip)" % 
__version__
    
                uri = iri2uri(uri)
    
                (scheme, authority, request_uri, defrag_uri) = urlnorm(uri)
    
                conn_key = scheme + ":" + authority
                conn = self.connections.get(conn_key)
                if conn is None:
                    if not connection_type:
                        connection_type = SCHEME_TO_CONNECTION[scheme]
                    certs = list(self.certificates.iter(authority))
                    if issubclass(connection_type, HTTPSConnectionWithTimeout):
                        if certs:
                            conn = self.connections[conn_key] = connection_type(
                                authority,
                                key_file=certs[0][0],
                                cert_file=certs[0][1],
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
                        else:
>                           conn = self.connections[conn_key] = connection_type(
                                authority,
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
E                           TypeError: __init__() got an unexpected keyword 
argument 'tls_maximum_version'

/usr/lib/python3/dist-packages/httplib2/__init__.py:1787: TypeError
____________________________ test_https_in_environ _____________________________

    def test_https_in_environ():
        with InstalledApp(wsgi_app.simple_app, host=HOST, port=443) as app:
            http = httplib2.Http()
>           resp, content = http.request(
                'https://some_hopefully_nonexistant_domain/', 'GET')

wsgi_intercept/tests/test_wsgi_compliance.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <httplib2.Http object at 0x7f345191b5b0>
uri = 'https://some_hopefully_nonexistant_domain/', method = 'GET', body = None
headers = {'user-agent': 'Python-httplib2/0.14.0 (gzip)'}, redirections = 5
connection_type = <class 
'wsgi_intercept.httplib2_intercept.HTTPS_WSGIInterceptorWithTimeout'>

        def request(
            self,
            uri,
            method="GET",
            body=None,
            headers=None,
            redirections=DEFAULT_MAX_REDIRECTS,
            connection_type=None,
        ):
            """ Performs a single HTTP request.
    The 'uri' is the URI of the HTTP resource and can begin
    with either 'http' or 'https'. The value of 'uri' must be an absolute URI.
    
    The 'method' is the HTTP method to perform, such as GET, POST, DELETE, etc.
    There is no restriction on the methods allowed.
    
    The 'body' is the entity body to be sent with the request. It is a string
    object.
    
    Any extra headers that are to be sent with the request should be provided 
in the
    'headers' dictionary.
    
    The maximum number of redirect to follow before raising an
    exception is 'redirections. The default is 5.
    
    The return value is a tuple of (response, content), the first
    being and instance of the 'Response' class, the second being
    a string that contains the response entity body.
            """
            conn_key = ''
    
            try:
                if headers is None:
                    headers = {}
                else:
                    headers = self._normalize_headers(headers)
    
                if "user-agent" not in headers:
                    headers["user-agent"] = "Python-httplib2/%s (gzip)" % 
__version__
    
                uri = iri2uri(uri)
    
                (scheme, authority, request_uri, defrag_uri) = urlnorm(uri)
    
                conn_key = scheme + ":" + authority
                conn = self.connections.get(conn_key)
                if conn is None:
                    if not connection_type:
                        connection_type = SCHEME_TO_CONNECTION[scheme]
                    certs = list(self.certificates.iter(authority))
                    if issubclass(connection_type, HTTPSConnectionWithTimeout):
                        if certs:
                            conn = self.connections[conn_key] = connection_type(
                                authority,
                                key_file=certs[0][0],
                                cert_file=certs[0][1],
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
                        else:
>                           conn = self.connections[conn_key] = connection_type(
                                authority,
                                timeout=self.timeout,
                                proxy_info=self.proxy_info,
                                ca_certs=self.ca_certs,
                                
disable_ssl_certificate_validation=self.disable_ssl_certificate_validation,
                                tls_maximum_version=self.tls_maximum_version,
                                tls_minimum_version=self.tls_minimum_version,
                            )
E                           TypeError: __init__() got an unexpected keyword 
argument 'tls_maximum_version'

/usr/lib/python3/dist-packages/httplib2/__init__.py:1787: TypeError
=============================== warnings summary ===============================
wsgi_intercept/tests/test_httplib2.py::test_bogus_domain
  
/build/1st/python-wsgi-intercept-1.8.1/wsgi_intercept/tests/test_httplib2.py:45:
 PytestDeprecationWarning: raises(..., 'code(as_a_string)') is deprecated, use 
the context manager form or use `exec()` directly
  
  See https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec
    py.test.raises(

wsgi_intercept/tests/test_requests.py::test_bogus_domain
  
/build/1st/python-wsgi-intercept-1.8.1/wsgi_intercept/tests/test_requests.py:39:
 PytestDeprecationWarning: raises(..., 'code(as_a_string)') is deprecated, use 
the context manager form or use `exec()` directly
  
  See https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec
    py.test.raises(

wsgi_intercept/tests/test_urllib3.py::test_bogus_domain
  
/build/1st/python-wsgi-intercept-1.8.1/wsgi_intercept/tests/test_urllib3.py:41: 
PytestDeprecationWarning: raises(..., 'code(as_a_string)') is deprecated, use 
the context manager form or use `exec()` directly
  
  See https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec
    py.test.raises(

-- Docs: https://docs.pytest.org/en/latest/warnings.html
========== 4 failed, 65 passed, 8 skipped, 3 warnings in 0.95 seconds ==========
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1

--- End Message ---
--- Begin Message ---
Source: python-httplib2
Source-Version: 0.18.1-2
Done: Stefano Rivera <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-httplib2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated python-httplib2 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 30 Jan 2021 21:33:03 -0700
Source: python-httplib2
Architecture: source
Version: 0.18.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 956427
Changes:
 python-httplib2 (0.18.1-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Ondřej Nový ]
   * d/control: Update Maintainer field with new Debian Python Team
     contact address.
   * d/control: Update Vcs-* fields with new Debian Python Team Salsa
     layout.
 .
   [ Debian Janitor ]
   * Set upstream metadata fields: Security-Contact.
 .
   [ Stefano Rivera ]
   * Breaks: python3-wsgi-intercept (<< 1.9.0). (Closes: #956427)
   * Enable build-time tests, they work without internet access.
     - Build-Depend on python3-{mock,pytest,pytest-timeout}, ca-certificates.
     - Patch: Disable pytest-cov.
   * Bump Standards-Version to 4.5.1, no changes needed.
   * Update watch file to compat 4.
   * Declare Rules-Requires-Root: no.
Checksums-Sha1:
 eec7bf90697018eb459bab2930edf4c6f9223276 1644 python-httplib2_0.18.1-2.dsc
 ad4decb46e97fa7b0c7a3aef2da55f7baad93343 9460 
python-httplib2_0.18.1-2.debian.tar.xz
 6a8afe05d600e6785833774f0cc507252952f5fb 5573 
python-httplib2_0.18.1-2_source.buildinfo
Checksums-Sha256:
 1772340838d43cf941eacf82d0ed03dfc1deb2354acfa7652b883a9e251679b4 1644 
python-httplib2_0.18.1-2.dsc
 b6b4d7cebd7e605c4c3e16da15e8e6d47d32af6c00c8058d2cbf2f7a0bf02a77 9460 
python-httplib2_0.18.1-2.debian.tar.xz
 ca6e6191dbfd7f7034354a717f0aa09483ee27c256bc7557759fb6710bbb440d 5573 
python-httplib2_0.18.1-2_source.buildinfo
Files:
 8fa4277dfaae5b67cf60ed930d33dbfb 1644 python optional 
python-httplib2_0.18.1-2.dsc
 a24618c42e2157b5f94bb6d295c74b65 9460 python optional 
python-httplib2_0.18.1-2.debian.tar.xz
 983d02d74749e262b19fd87ae9a9cb07 5573 python optional 
python-httplib2_0.18.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYBYzLgAKCRBHew2wJjpU
2LAaAQCjvknZlvNLeLb1BbPtxzfLvlSLWWgL7DtxsbM1zqTHlQEAnOeAbAKrIa+T
EeE8mplseMAd3XTpiW13SwHouqHmuwQ=
=mJ+Y
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to