Your message dated Wed, 22 Dec 2021 09:33:56 +0000
with message-id <[email protected]>
and subject line Bug#1002321: fixed in python-sure 2.0.0-1
has caused the Debian Bug report #1002321,
regarding TypeError: 'bytes' object cannot be interpreted as int
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.)
--
1002321: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002321
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-httpretty
Version: 1.1.4-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> make: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> dh build --buildsystem=pybuild --with python3
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config
> running config
> I: pybuild base:237: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> copying httpretty/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> copying httpretty/core.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> copying httpretty/errors.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> copying httpretty/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> copying httpretty/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> copying httpretty/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> copying httpretty/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/httpretty
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> copying httpretty/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> copying httpretty/core.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> copying httpretty/errors.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> copying httpretty/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> copying httpretty/compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> copying httpretty/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> copying httpretty/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build/httpretty
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build; python3.10 -m nose
> -v tests/unit
> HTTPrettyRequest is a BaseHTTPRequestHandler that replaces real socket file
> descriptors with in-memory ones ... ok
> HTTPrettyRequest#parse_querystring should parse unicode data ... ok
> HTTPrettyRequest#parse_request_body recognizes the content-type
> `application/json` and parses it ... ok
> HTTPrettyRequest#parse_request_body recognizes the content-type `text/json`
> and parses it ... ok
> HTTPrettyRequest#parse_request_body recognizes the content-type
> `application/x-www-form-urlencoded` and parses it ... ok
> HTTPrettyRequest#parse_request_body returns the value as is if the
> Content-Type is not recognized ... ok
> HTTPrettyRequest should have a forward_and_trace-friendly string
> representation ... ok
> FakeSSLSocket is a simpel wrapper around its own socket, which was designed
> to be a HTTPretty fake socket ... ok
> fakesock.socket#ssl should take a socket instance and return itself ... ok
> fakesock.socket#sendall handles paths starting with // well ... ok
> URIMatcher response querystring ... ok
> URIMatcher equality check should check querystring ... ok
> fakesock.socket#close should close the actual socket in case it's not http
> and __truesock_is_connected__ is True ... ok
> fakesock.socket#connect should open a real connection if the given port is
> not a potential http port ... ok
> fakesock.socket#makefile should set the mode, bufsize and return its mocked
> file descriptor ... ok
> fakesock.socket#real_sendall calls truesock#connect and bails out when not
> http ... ok
> fakesock.socket#real_sendall should continue if the socket error was EAGAIN
> ... ok
> fakesock.socket#real_sendall should continue if the socket error was EAGAIN
> ... ok
> fakesock.socket#real_sendall sends data and buffers the response in the file
> descriptor ... ok
> fakesock.socket#real_sendall should connect before sending data ... ok
> fakesock.socket#sendall should call real_sendall when not parsing headers and
> there is no entry ... ok
> fakesock.socket#sendall should call real_sendall when not ... ok
> fakesock.socket#sendall should call real_sendall when there is no entry ... ok
> fakesock.socket#sendall should create an entry if it's given a valid request
> line ... ok
> fakesock.socket#sendall should create an entry if it's given a valid request
> line ... ok
> parse_requestline should parse the CONNECT method appropriately ... ok
> HTTPretty.last_request is a dummy object by default ... ok
> HTTPretty supports N status codes ... ok
> tests.unit.test_httpretty.test_uri_info_full_url ... ok
> Test that URIInfo.__eq__ method ignores case for ... ok
> tests.unit.test_httpretty.test_global_boolean_enabled ... ok
> tests.unit.test_httpretty.test_py3kobject_implements_valid__repr__based_on__str__
> ... ok
> tests.unit.test_httpretty.test_Entry_class_normalizes_headers ... ok
> tests.unit.test_httpretty.test_Entry_class_counts_multibyte_characters_in_bytes
> ... ERROR
> tests.unit.test_httpretty.test_Entry_class_counts_dynamic ... ERROR
> tests.unit.test_httpretty.test_fake_socket_passes_through_setblocking ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_fileno ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_getsockopt ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_bind ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_connect_ex ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_listen ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_getpeername ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_getsockname ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_gettimeout ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_shutdown ... ok
> tests.unit.test_httpretty.test_unix_socket ... ok
> A content-type of application/json should parse a valid json body ... ok
> A content-type of application/json with an invalid json body should return
> the content unaltered ... ok
> A content-type of x-www-form-urlencoded with a valid queryparam body should
> return parsed content ... ok
> A non-handled content type request's post body should return the content
> unaltered ... ok
> Some versions of python accidentally internally shadowed the SockType ... ok
> tests.unit.test_httpretty.test_socktype_good_python_version ... ok
> HTTPretty.match_http_address should ignore case of hostname. ... ok
> HTTPretty should allow registering regexes with requests ... ok
> HTTPretty should allow registering regexes with requests (ssl version) ... ok
> httpretty.has_request() correctly detects whether or not a request has been
> made ... ok
> httpretty.last_request() should return httpretty.core.last_request ... ok
> httpretty.latest_requests() should return httpretty.core.latest_requests ...
> ok
>
> ======================================================================
> ERROR:
> tests.unit.test_httpretty.test_Entry_class_counts_multibyte_characters_in_bytes
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/tests/unit/test_httpretty.py",
> line 218, in test_Entry_class_counts_multibyte_characters_in_bytes
> expect(b'content-length: 15\n').to.be.within(response)
> File "/usr/lib/python3/dist-packages/sure/__init__.py", line 376, in wrapper
> value = func(self, *args, **kw)
> File "/usr/lib/python3/dist-packages/sure/__init__.py", line 593, in within
> collection_should = AssertionHelper(list(range(*args)))
> TypeError: 'bytes' object cannot be interpreted as an integer
>
> ======================================================================
> ERROR: tests.unit.test_httpretty.test_Entry_class_counts_dynamic
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build/tests/unit/test_httpretty.py",
> line 228, in test_Entry_class_counts_dynamic
> expect(b'content-length: 15\n').to.be.within(response)
> File "/usr/lib/python3/dist-packages/sure/__init__.py", line 376, in wrapper
> value = func(self, *args, **kw)
> File "/usr/lib/python3/dist-packages/sure/__init__.py", line 593, in within
> collection_should = AssertionHelper(list(range(*args)))
> TypeError: 'bytes' object cannot be interpreted as an integer
>
> ----------------------------------------------------------------------
> Ran 58 tests in 0.053s
>
> FAILED (errors=2)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_httpretty/build; python3.10 -m nose
> -v tests/unit
> I: pybuild base:237: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_httpretty/build; python3.9 -m nose -v
> tests/unit
> HTTPrettyRequest is a BaseHTTPRequestHandler that replaces real socket file
> descriptors with in-memory ones ... ok
> HTTPrettyRequest#parse_querystring should parse unicode data ... ok
> HTTPrettyRequest#parse_request_body recognizes the content-type
> `application/json` and parses it ... ok
> HTTPrettyRequest#parse_request_body recognizes the content-type `text/json`
> and parses it ... ok
> HTTPrettyRequest#parse_request_body recognizes the content-type
> `application/x-www-form-urlencoded` and parses it ... ok
> HTTPrettyRequest#parse_request_body returns the value as is if the
> Content-Type is not recognized ... ok
> HTTPrettyRequest should have a forward_and_trace-friendly string
> representation ... ok
> FakeSSLSocket is a simpel wrapper around its own socket, which was designed
> to be a HTTPretty fake socket ... ok
> fakesock.socket#ssl should take a socket instance and return itself ... ok
> fakesock.socket#sendall handles paths starting with // well ... ok
> URIMatcher response querystring ... ok
> URIMatcher equality check should check querystring ... ok
> fakesock.socket#close should close the actual socket in case it's not http
> and __truesock_is_connected__ is True ... ok
> fakesock.socket#connect should open a real connection if the given port is
> not a potential http port ... ok
> fakesock.socket#makefile should set the mode, bufsize and return its mocked
> file descriptor ... ok
> fakesock.socket#real_sendall calls truesock#connect and bails out when not
> http ... ok
> fakesock.socket#real_sendall should continue if the socket error was EAGAIN
> ... ok
> fakesock.socket#real_sendall should continue if the socket error was EAGAIN
> ... ok
> fakesock.socket#real_sendall sends data and buffers the response in the file
> descriptor ... ok
> fakesock.socket#real_sendall should connect before sending data ... ok
> fakesock.socket#sendall should call real_sendall when not parsing headers and
> there is no entry ... ok
> fakesock.socket#sendall should call real_sendall when not ... ok
> fakesock.socket#sendall should call real_sendall when there is no entry ... ok
> fakesock.socket#sendall should create an entry if it's given a valid request
> line ... ok
> fakesock.socket#sendall should create an entry if it's given a valid request
> line ... ok
> parse_requestline should parse the CONNECT method appropriately ... ok
> HTTPretty.last_request is a dummy object by default ... ok
> HTTPretty supports N status codes ... ok
> tests.unit.test_httpretty.test_uri_info_full_url ... ok
> Test that URIInfo.__eq__ method ignores case for ... ok
> tests.unit.test_httpretty.test_global_boolean_enabled ... ok
> tests.unit.test_httpretty.test_py3kobject_implements_valid__repr__based_on__str__
> ... ok
> tests.unit.test_httpretty.test_Entry_class_normalizes_headers ... ok
> tests.unit.test_httpretty.test_Entry_class_counts_multibyte_characters_in_bytes
> ... ok
> tests.unit.test_httpretty.test_Entry_class_counts_dynamic ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_setblocking ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_fileno ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_getsockopt ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_bind ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_connect_ex ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_listen ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_getpeername ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_getsockname ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_gettimeout ... ok
> tests.unit.test_httpretty.test_fake_socket_passes_through_shutdown ... ok
> tests.unit.test_httpretty.test_unix_socket ... ok
> A content-type of application/json should parse a valid json body ... ok
> A content-type of application/json with an invalid json body should return
> the content unaltered ... ok
> A content-type of x-www-form-urlencoded with a valid queryparam body should
> return parsed content ... ok
> A non-handled content type request's post body should return the content
> unaltered ... ok
> Some versions of python accidentally internally shadowed the SockType ... ok
> tests.unit.test_httpretty.test_socktype_good_python_version ... ok
> HTTPretty.match_http_address should ignore case of hostname. ... ok
> HTTPretty should allow registering regexes with requests ... ok
> HTTPretty should allow registering regexes with requests (ssl version) ... ok
> httpretty.has_request() correctly detects whether or not a request has been
> made ... ok
> httpretty.last_request() should return httpretty.core.last_request ... ok
> httpretty.latest_requests() should return httpretty.core.latest_requests ...
> ok
>
> ----------------------------------------------------------------------
> Ran 58 tests in 0.052s
>
> OK
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.10
> 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-httpretty_1.1.4-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: python-sure
Source-Version: 2.0.0-1
Done: Thomas Goirand <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-sure, 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.
Thomas Goirand <[email protected]> (supplier of updated python-sure 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: SHA256
Format: 1.8
Date: Wed, 22 Dec 2021 09:39:17 +0100
Source: python-sure
Architecture: source
Version: 2.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1002321 1002433
Changes:
python-sure (2.0.0-1) unstable; urgency=medium
.
* New upstream release:
- unbreak python-httpretty FTBFS (Closes: #1002321).
- Fix FTBFS (Closes: #1002433).
* Remove all patches, not relevant anymore.
* Add python3-mock build-depends.
* Skip test_context_is_not_optional() test that is broken.
* Fix long and sort description to not include Python version.
* Switch to debhelper-compat = 11.
Checksums-Sha1:
eefb66035aa249b877f512cfc606284911495a6a 2076 python-sure_2.0.0-1.dsc
37a97f7715d43a4589144514a65ecf78aad6b92b 55012 python-sure_2.0.0.orig.tar.xz
b31ef894e617fa918db60d57aa270d3bd4179fde 3528 python-sure_2.0.0-1.debian.tar.xz
d0bf041f8a962f6f9f4a123f4040cd40a5d971cc 7038
python-sure_2.0.0-1_amd64.buildinfo
Checksums-Sha256:
5da7436bc60694c33b1d892f549821f9ba8b9d411f27bf8fa993f970c07187df 2076
python-sure_2.0.0-1.dsc
2fc3144191a71eeff4cbc56645a2b88192c6aca74f9958af320176297064db3b 55012
python-sure_2.0.0.orig.tar.xz
ca5fec2e2ac34b78f6d64590c0c9c445fb7ba67eb0b9082cc6e30d32ddaa52f8 3528
python-sure_2.0.0-1.debian.tar.xz
8c6c2c5f9e8d22eebd4ae194e425fca351001317d806d06a530f71681cc5e7a1 7038
python-sure_2.0.0-1_amd64.buildinfo
Files:
b9d2057f9c459b8e3f226ba4cdf9a003 2076 python optional python-sure_2.0.0-1.dsc
a90729968d86952b70768b008ae3fe26 55012 python optional
python-sure_2.0.0.orig.tar.xz
c52caf220d40adf5497f221667ed673f 3528 python optional
python-sure_2.0.0-1.debian.tar.xz
a7f6121153b9d2dc9659701c6ff1029c 7038 python optional
python-sure_2.0.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmHC7ncACgkQ1BatFaxr
Q/4pJA//YNLUgnPZpvWeE7yOtvYLMkW0SC/V36UA2V+RS12QEb/36eZ5zAJWSa66
gvUP+Nxic3c5OoloDtmFTfj5MfB3+bSCYoSQGsZUe7NzOCv5zCOLFB+RVuM103X9
N/0TxLI3Myc0FOCCOduFoWIYJZc+Mophs2ZdqpTL32NH2lAqGSLQ/2tVeJyDuI0H
ALtf+tUXapC+E+2czHPOLBonGtPe4yAATpNW3vWkapOrBeccy3jF7UX8+lhSe+0h
FFH+/7VrFx7HGn+AZ+sS/8+9kTj2GdIz/3MfVIFDuKkXrwpeHHOgmHZk+1nXQXcL
N0lGRMibDJt6Spdx9+rPwpdkXfSAgvz4YMoZBhOpFMoz7ualpnvy+h1pX90ZDFj7
Sp2Lf7T8ss69XR+I/jru2OIrCbgKi/oxZRhWULx32o7+r8ayTeVxc+Gnw304NBX5
CZWP9xTXIkqeDdPU6ZYpn7ZTUh5JNWVJn8wCSbscZdeofdBSztNv9uxhpa95F7F4
hhlxlMZ3HkJ/ywTH62IM8fbxm/2USWdLE0GBWD5P9gi10NQSlLzm+goMcOu92neC
2+NHaVAW9/WuQzMj034LMNrWfPRXVO0HSM0QDxiubrN2gCEwVemhUCwfC9J1sAgD
Y0kpbCRpV76gb891SF6wm3ERp+s7wxwlpLVwewMmCdv94DIz4X4=
=m0VL
-----END PGP SIGNATURE-----
--- End Message ---