Your message dated Thu, 27 Aug 2015 19:48:57 +0000
with message-id <e1zv3ap-0004ri...@franck.debian.org>
and subject line Bug#796051: fixed in django-oauth-toolkit 0.9.0-1
has caused the Debian Bug report #796051,
regarding django-oauth-toolkit: FTBFS: multiple test failures: AttributeError: 
encoding
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.)


-- 
796051: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796051
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: django-oauth-toolkit
Version: 0.8.1-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

I: pybuild base:170: python2.7 runtests.py
............E.EE.EEEEEEEEEEEEE..................F.EEEEE............................................EEE........EE.EE.EEEE..E.E..E.....
======================================================================
ERROR: test_resource_access_allowed 
(oauth2_provider.tests.test_authorization_code.TestAuthorizationCodeProtectedResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/django-oauth-toolkit-0.8.1/oauth2_provider/tests/test_authorization_code.py", 
line 930, in test_resource_access_allowed
    response = self.client.post(reverse('oauth2_provider:token'), 
data=token_request_data, **auth_headers)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 482, in 
post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 296, in 
post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 358, in 
generic
    return self.request(**r)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 440, in 
request
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 
111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 
69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 29, 
in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 
57, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 25, 
in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/usr/lib/python2.7/dist-packages/braces/views/_forms.py", line 22, in 
dispatch
    return super(CsrfExemptMixin, self).dispatch(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 
87, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 29, 
in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", 
line 76, in sensitive_post_parameters_wrapper
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 25, 
in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/views/base.py", line 170, 
in post
    url, headers, body, status = self.create_token_response(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/views/mixins.py", line 124, 
in create_token_response
    return core.create_token_response(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/oauth2_backends.py", line 
106, in create_token_response
    headers)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/endpoints/base.py", 
line 64, in wrapper
    return f(endpoint, uri, *args, **kwargs)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/endpoints/token.py", 
line 100, in create_token_response
    request, self.default_token_type)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py",
 line 234, in create_token_response
    self.validate_token_request(request)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py",
 line 364, in validate_token_request
    if not self.request_validator.authenticate_client(request):
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/oauth2_validators.py", line 
166, in authenticate_client
    authenticated = self._authenticate_basic_auth(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/oauth2_validators.py", line 
58, in _authenticate_basic_auth
    encoding = request.encoding or 'utf-8'
  File "/usr/lib/python2.7/dist-packages/oauthlib/common.py", line 409, in 
__getattr__
    raise AttributeError(name)
AttributeError: encoding

======================================================================
ERROR: test_basic_auth 
(oauth2_provider.tests.test_authorization_code.TestAuthorizationCodeTokenView)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/django-oauth-toolkit-0.8.1/oauth2_provider/tests/test_authorization_code.py", 
line 479, in test_basic_auth
    response = self.client.post(reverse('oauth2_provider:token'), 
data=token_request_data, **auth_headers)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 482, in 
post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 296, in 
post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 358, in 
generic
    return self.request(**r)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 440, in 
request
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 
111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 
69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 29, 
in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 
57, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 25, 
in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/usr/lib/python2.7/dist-packages/braces/views/_forms.py", line 22, in 
dispatch
    return super(CsrfExemptMixin, self).dispatch(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 
87, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 29, 
in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", 
line 76, in sensitive_post_parameters_wrapper
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 25, 
in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/views/base.py", line 170, 
in post
    url, headers, body, status = self.create_token_response(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/views/mixins.py", line 124, 
in create_token_response
    return core.create_token_response(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/oauth2_backends.py", line 
106, in create_token_response
    headers)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/endpoints/base.py", 
line 64, in wrapper
    return f(endpoint, uri, *args, **kwargs)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/endpoints/token.py", 
line 100, in create_token_response
    request, self.default_token_type)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py",
 line 234, in create_token_response
    self.validate_token_request(request)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py",
 line 364, in validate_token_request
    if not self.request_validator.authenticate_client(request):
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/oauth2_validators.py", line 
166, in authenticate_client
    authenticated = self._authenticate_basic_auth(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/oauth2_validators.py", line 
58, in _authenticate_basic_auth
    encoding = request.encoding or 'utf-8'
  File "/usr/lib/python2.7/dist-packages/oauthlib/common.py", line 409, in 
__getattr__
    raise AttributeError(name)
AttributeError: encoding

...

======================================================================
ERROR: test_revoke_refresh_token 
(oauth2_provider.tests.test_token_revocation.TestRevocationView)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/django-oauth-toolkit-0.8.1/oauth2_provider/tests/test_token_revocation.py", 
line 118, in test_revoke_refresh_token
    response = self.client.post(url)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 482, in 
post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 296, in 
post
    secure=secure, **extra)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 358, in 
generic
    return self.request(**r)
  File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 440, in 
request
    six.reraise(*exc_info)
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 
111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 
69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 29, 
in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 
57, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 25, 
in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/usr/lib/python2.7/dist-packages/braces/views/_forms.py", line 22, in 
dispatch
    return super(CsrfExemptMixin, self).dispatch(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 
87, in dispatch
    return handler(request, *args, **kwargs)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/views/base.py", line 186, 
in post
    url, headers, body, status = self.create_revocation_response(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/views/mixins.py", line 134, 
in create_revocation_response
    return core.create_revocation_response(request)
  File "/django-oauth-toolkit-0.8.1/oauth2_provider/oauth2_backends.py", line 
121, in create_revocation_response
    uri, http_method, body, headers)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/endpoints/base.py", 
line 64, in wrapper
    return f(endpoint, uri, *args, **kwargs)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/endpoints/revocation.py",
 line 65, in create_revocation_response
    self.validate_revocation_request(request)
  File 
"/usr/lib/python2.7/dist-packages/oauthlib/oauth2/rfc6749/endpoints/revocation.py",
 line 127, in validate_revocation_request
    if (request.token_type_hint and
  File "/usr/lib/python2.7/dist-packages/oauthlib/common.py", line 409, in 
__getattr__
    raise AttributeError(name)
AttributeError: token_type_hint

======================================================================
FAIL: test_pre_auth_wrong_response_type 
(oauth2_provider.tests.test_authorization_code.TestAuthorizationCodeView)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/django-oauth-toolkit-0.8.1/oauth2_provider/tests/test_authorization_code.py", 
line 266, in test_pre_auth_wrong_response_type
    self.assertIn("error=unauthorized_client", response['Location'])
AssertionError: u'error=unauthorized_client' not found in 
'http://localhost?error=unsupported_response_type'

----------------------------------------------------------------------
Ran 133 tests in 13.416s

FAILED (failures=1, errors=35)

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/django-oauth-toolkit.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: django-oauth-toolkit
Source-Version: 0.9.0-1

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

Debian distribution maintenance software
pp.
Michael Fladischer <fl...@debian.org> (supplier of updated django-oauth-toolkit 
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: SHA512

Format: 1.8
Date: Thu, 27 Aug 2015 21:30:37 +0200
Source: django-oauth-toolkit
Binary: python-django-oauth-toolkit python3-django-oauth-toolkit
Architecture: source all
Version: 0.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Michael Fladischer <fl...@debian.org>
Description:
 python-django-oauth-toolkit - OAuth2 capabilities for Django projects
 python3-django-oauth-toolkit - OAuth2 capabilities for Django projects 
(Python3 version)
Closes: 796051
Changes:
 django-oauth-toolkit (0.9.0-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #796051).
   * Add libjs-twitter-bootstrap to Depends.
   * Add a symlink to the local bootstrap CSS file as a static asset.
   * Add use_local_bootstrap.patch to replace CDN URL with a local bootstrap
     CSS file.
Checksums-Sha1:
 2348f98cbda103032f1e8b04f68003b7afb4a82a 2484 django-oauth-toolkit_0.9.0-1.dsc
 1ec24c30f3aab6ff870ef4c17befa4f5174b745d 64703 
django-oauth-toolkit_0.9.0.orig.tar.gz
 f6a42d93df85e61e0a4b072aa26becc76046e7a8 2884 
django-oauth-toolkit_0.9.0-1.debian.tar.xz
 902a7240ba60c00299563e2539991f54e2c27feb 44296 
python-django-oauth-toolkit_0.9.0-1_all.deb
 05f67ded230eb23547e59faf503c4d54c362ae4e 44398 
python3-django-oauth-toolkit_0.9.0-1_all.deb
Checksums-Sha256:
 baeb64cf1ae7d871d503c470ad7437fd83871a79d165963048763888399e8cc3 2484 
django-oauth-toolkit_0.9.0-1.dsc
 e3f07bc3bd48d00ec2e2f4c77f98277d51edaf3290fac64060315d79a7bd0fe8 64703 
django-oauth-toolkit_0.9.0.orig.tar.gz
 6256d727c4839c95be71baddc2a82df3523328f372c5b777a814b7a6e9010f10 2884 
django-oauth-toolkit_0.9.0-1.debian.tar.xz
 bb567669caa24ceb743b5e79cce1864a7e1a75684c9536673adc7d8a11d5cfd5 44296 
python-django-oauth-toolkit_0.9.0-1_all.deb
 8c17c62b49f179fb2dcc594a43444bb39c25294b846372924db52971ca63209d 44398 
python3-django-oauth-toolkit_0.9.0-1_all.deb
Files:
 d8053810e36a86fa5e0a7f4860faf677 2484 python optional 
django-oauth-toolkit_0.9.0-1.dsc
 c41cef9f1bfe0bc5dcb307a7dd21d334 64703 python optional 
django-oauth-toolkit_0.9.0.orig.tar.gz
 eeecddfe1cc5168521c96cbc3e8a04a6 2884 python optional 
django-oauth-toolkit_0.9.0-1.debian.tar.xz
 412f4040202ae3bd6bc57736d6939ab1 44296 python optional 
python-django-oauth-toolkit_0.9.0-1_all.deb
 ad51a5527cdb23d1373bad227c0d5e20 44398 python optional 
python3-django-oauth-toolkit_0.9.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJV32kTAAoJEGlMre9Rx7W2DLcQAIWhhTuOc2nk/SkBBJbY4cVy
MPk5JoyC053zS+ptMSaUmrtme7dQofM/89ghzR3R+PHXzabc+2rB6u9B7wlWe29x
RwvYAfug5AWMPwQmOKQAX8tC6JRHsl7t4vsFYsXdyD7kwlpS8MWUhnA4XYfuWSIU
9HK+0AhAJ8lr+aExxzhJ+Clhj82reLE4lytqTwLRwHMUOj9m12WHMIAuKVxEn90r
S6/Njn16S8/IXJkPbU68qUqm5GOPZnU5T4K7QF9L6Pi4bW11t31xmtXiw6IzM5rV
vnIlLVlzCU6Ro3GtlEvfnD4xfqyxsxt0xhsah6Qc0nHTNYDWLiQmB2E/Ahq3LlLD
kVegxsSjXDOvWCw0LiLcc1fBPBQpBJzOp+4hxSZcnPGpONu20qNRvupfBOmw47N2
plEL5+wqP9vvHPaZeBwdjV3KF6QEjHqtJjRsN3pnlWkJ4n+Dq7vMbPfhGfIKYIH4
JUjTs13lULhTUKOcaozaSqvhPQnPBUPd6Fc8s+k8ooA2oxCoABObXfxk9eD1iONo
A8T1Nlqeveoxs9ou0+Vpje3NTuZM5fdmmuzrgYvRk/TZPeEmj51LPxWXQVlloJMv
oe7+StCm2WJO0OKQ4HHkb3i1X7BdOnrkoVw0qq59rSWq1pX363IUYk1eP7fs0ZXE
Eum5XZH6Cvnpt0wlr38h
=1Kq4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to