Your message dated Wed, 29 Aug 2018 13:49:17 +0000
with message-id <e1fv0qt-0001v0...@fasolo.debian.org>
and subject line Bug#907168: fixed in pytest-httpbin 0.3.0-4
has caused the Debian Bug report #907168,
regarding pytest-httpbin FTBFS with OpenSSL 1.1.1
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 ow...@bugs.debian.org
immediately.)


-- 
907168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907168
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pytest-httpbin
Version: 0.3.0-3
Severity: serious
Tags: ftbfs
Control: block 907015 by -1

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pytest-httpbin.html

...
I: pybuild base:217: python2.7 -m pytest -v -x -s
============================= test session starts ==============================
platform linux2 -- Python 2.7.15, pytest-3.6.4, py-1.5.4, pluggy-0.6.0 -- 
/usr/bin/python2.7
cachedir: .pytest_cache
rootdir: /build/1st/pytest-httpbin-0.3.0, inifile:
plugins: httpbin-0.3.0
collecting ... collected 19 items

tests/test_httpbin.py::test_httpbin_gets_injected PASSED
tests/test_httpbin.py::test_httpbin_accepts_get_requests 127.0.0.1 - - 
[23/Aug/2018 22:26:12] "GET /get HTTP/1.1" 200 218
PASSED
tests/test_httpbin.py::test_httpbin_secure_accepts_get_requests pytest-httpbin 
server hit an exception serving request: [SSL: CA_MD_TOO_WEAK] ca md too weak 
(_ssl.c:2779)
attempting to ignore so the rest of the tests can run
FAILED

=================================== FAILURES ===================================
___________________ test_httpbin_secure_accepts_get_requests ___________________

httpbin_secure = <pytest_httpbin.serve.SecureServer object at 0x7f7c2bbf0a10>

    def test_httpbin_secure_accepts_get_requests(httpbin_secure):
>       assert requests.get(httpbin_secure.url + '/get').status_code == 200

tests/test_httpbin.py:15: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python2.7/dist-packages/requests/api.py:72: in get
    return request('get', url, params=params, **kwargs)
/usr/lib/python2.7/dist-packages/requests/api.py:58: in request
    return session.request(method=method, url=url, **kwargs)
/usr/lib/python2.7/dist-packages/requests/sessions.py:508: in request
    resp = self.send(prep, **send_kwargs)
/usr/lib/python2.7/dist-packages/requests/sessions.py:618: in send
    r = adapter.send(request, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <requests.adapters.HTTPAdapter object at 0x7f7c2bbf0810>
request = <PreparedRequest [GET]>, stream = False
timeout = <urllib3.util.timeout.Timeout object at 0x7f7c2b38c110>
verify = '/build/1st/pytest-httpbin-0.3.0/pytest_httpbin/certs/cacert.pem'
cert = None, proxies = OrderedDict([('no', 'localhost')])

    def send(self, request, stream=False, timeout=None, verify=True, cert=None, 
proxies=None):
        """Sends PreparedRequest object. Returns Response object.
    
            :param request: The :class:`PreparedRequest <PreparedRequest>` 
being sent.
            :param stream: (optional) Whether to stream the request content.
            :param timeout: (optional) How long to wait for the server to send
                data before giving up, as a float, or a :ref:`(connect timeout,
                read timeout) <timeouts>` tuple.
            :type timeout: float or tuple or urllib3 Timeout object
            :param verify: (optional) Either a boolean, in which case it 
controls whether
                we verify the server's TLS certificate, or a string, in which 
case it
                must be a path to a CA bundle to use
            :param cert: (optional) Any user-provided SSL certificate to be 
trusted.
            :param proxies: (optional) The proxies dictionary to apply to the 
request.
            :rtype: requests.Response
            """
    
        conn = self.get_connection(request.url, proxies)
    
        self.cert_verify(conn, request.url, verify, cert)
        url = self.request_url(request, proxies)
        self.add_headers(request)
    
        chunked = not (request.body is None or 'Content-Length' in 
request.headers)
    
        if isinstance(timeout, tuple):
            try:
                connect, read = timeout
                timeout = TimeoutSauce(connect=connect, read=read)
            except ValueError as e:
                # this may raise a string formatting error.
                err = ("Invalid timeout {0}. Pass a (connect, read) "
                       "timeout tuple, or a single float to set "
                       "both timeouts to the same value".format(timeout))
                raise ValueError(err)
        elif isinstance(timeout, TimeoutSauce):
            pass
        else:
            timeout = TimeoutSauce(connect=timeout, read=timeout)
    
        try:
            if not chunked:
                resp = conn.urlopen(
                    method=request.method,
                    url=url,
                    body=request.body,
                    headers=request.headers,
                    redirect=False,
                    assert_same_host=False,
                    preload_content=False,
                    decode_content=False,
                    retries=self.max_retries,
                    timeout=timeout
                )
    
            # Send the request.
            else:
                if hasattr(conn, 'proxy_pool'):
                    conn = conn.proxy_pool
    
                low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)
    
                try:
                    low_conn.putrequest(request.method,
                                        url,
                                        skip_accept_encoding=True)
    
                    for header, value in request.headers.items():
                        low_conn.putheader(header, value)
    
                    low_conn.endheaders()
    
                    for i in request.body:
                        low_conn.send(hex(len(i))[2:].encode('utf-8'))
                        low_conn.send(b'\r\n')
                        low_conn.send(i)
                        low_conn.send(b'\r\n')
                    low_conn.send(b'0\r\n\r\n')
    
                    # Receive the response from the server
                    try:
                        # For Python 2.7+ versions, use buffering of HTTP
                        # responses
                        r = low_conn.getresponse(buffering=True)
                    except TypeError:
                        # For compatibility with Python 2.6 versions and back
                        r = low_conn.getresponse()
    
                    resp = HTTPResponse.from_httplib(
                        r,
                        pool=conn,
                        connection=low_conn,
                        preload_content=False,
                        decode_content=False
                    )
                except:
                    # If we hit any problems here, clean up the connection.
                    # Then, reraise so that we can handle the actual exception.
                    low_conn.close()
                    raise
    
        except (ProtocolError, socket.error) as err:
>           raise ConnectionError(err, request=request)
E           ConnectionError: ('Connection aborted.', error(0, 'Error'))

/usr/lib/python2.7/dist-packages/requests/adapters.py:490: ConnectionError
====================== 1 failed, 2 passed in 1.27 seconds ======================
E: pybuild pybuild:338: test: plugin custom failed with: exit code=1: python2.7 
-m pytest -v -x -s
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned 
exit code 13
make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25

--- End Message ---
--- Begin Message ---
Source: pytest-httpbin
Source-Version: 0.3.0-4

We believe that the bug you reported is fixed in the latest version of
pytest-httpbin, 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 907...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre-Elliott Bécue <be...@crans.org> (supplier of updated pytest-httpbin 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 29 Aug 2018 15:05:21 +0200
Source: pytest-httpbin
Binary: python-pytest-httpbin python3-pytest-httpbin
Architecture: source
Version: 0.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Pierre-Elliott Bécue <be...@crans.org>
Description:
 python-pytest-httpbin - py.test plugin providing a local httpbin
 python3-pytest-httpbin - py.test plugin providing a local httpbin (Python 3)
Closes: 907168
Changes:
 pytest-httpbin (0.3.0-4) unstable; urgency=medium
 .
   * d/patches:
     - Add patch 0002 to replace the upstream's issued SSL certificates.
       Debian's standards regarding SSL certificates increased. Now, a less
       than 2048 bit long certificate isn't safe enough. We replace the
       upstream's issued certs with these. (Closes: 907168)
   * d/control:
     - Bump Standards-Version to 4.2.1. No change required
Checksums-Sha1:
 3616b8f5058f0656c0a87b3f2b81c22992f467b3 2699 pytest-httpbin_0.3.0-4.dsc
 98b9c0cb47feaee377e45b4e4f150ddf02c2af23 17936 
pytest-httpbin_0.3.0-4.debian.tar.xz
 086acce2e298696fb5dcd0fe272a5e6281f11daa 8779 
pytest-httpbin_0.3.0-4_amd64.buildinfo
Checksums-Sha256:
 e730eaf04b8988b96046898a7a6da402a4e06339b77da1136a24b4c84695d7b5 2699 
pytest-httpbin_0.3.0-4.dsc
 12d173b35d577c21917c638b87f3d8ab70682875607d2568a8c74828993a74c4 17936 
pytest-httpbin_0.3.0-4.debian.tar.xz
 74aa52732b0d2d0b8c2fd6a25d2bef2051d50e6957ae041c00a1c1944e3227f8 8779 
pytest-httpbin_0.3.0-4_amd64.buildinfo
Files:
 35c26eb6466eb036382dfea35940c310 2699 python optional 
pytest-httpbin_0.3.0-4.dsc
 b6ec02607073a9ee34879dcc3e057110 17936 python optional 
pytest-httpbin_0.3.0-4.debian.tar.xz
 3dcb5fd604b956099ca098b0fc55aa06 8779 python optional 
pytest-httpbin_0.3.0-4_amd64.buildinfo

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

iQIzBAEBCAAdFiEESYqTBWsFJgT6y8ijKb+g0HkpCsoFAluGnawACgkQKb+g0Hkp
Csr5vg/+IN/eiVd9J2gFeAwWWDvBfiJ7M1Q3QI+Gs5tixaSmUGe+Lv2lkbRaFmlI
V47qr+dRVM5UcFylqY61gR5dB4okkyQgHqBt0RqBu6Y4h/zDfzxhRUv7Pa1Uxp/U
UOvt8c630UStp96bZdWYmE6WBi9Ti+gy7EXZt6QFlPD7+O0yUhrQapnertAjHtSb
jIgh7fPOYOQCz0lS57LjoB6G8PKXkgzZ4ifOuS9Rc0P6VLLt+EYgmHo+LWAWExQP
KpYWVALa/98wZOSp3lhYKu9fJ4FAcYKwgA66N44+PeBlyWs8lHvqdb2P7FXfkwuB
LAqHJ4KqcHF41eH4XqgMXKm8yfmNG/ETF/BMfCqDydwpZib/1Psd17ZVOiLx+iUT
g5kSqmv0BwyM2+KJeBxN/ClWAQWUD0xtD73h34X/JDwpOV6Lu5kzXnn7ZYB03Fzp
+oruiOGsJNLnP2kgUfL4niNpebtdB3bqCmabWOwC/hWQSblTLJ1Nbogp0LCZVNuQ
11e8AQ4B11K5HsNzR2AmWh+pgHYIJk3xqDjbLtPbDhNMCznQDswl6mo/Pd5RcX0I
jOO+EKoQ4UNmlo+0ZNMVPloTVY1BNMGYHn9rlUUuIwg4RxO9pJCjBNF6UJWvRlMR
GiFIsdIjFpJDqv57GAO8TTeDPPQJ7gwVNtsHwt0id1oTDIRtORI=
=FjYt
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to