The failure happens only when bcrypt is installed. Tested bcrypt
1.0.0-1.0.2. The failure happens both on Python 2.7 and 3.2. It seems the
error is there in first 1.5 release, too. The error isn't present in
1.6.x.
--
Ticket URL: <https://code.djangoproject.com/ticket/21248>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Django 1.5.x doesn't work with bcrypt, only with py-bcrypt (confirmed by
dstufft). Skipping the test_bcrypt test for bcrypt library (but not py-
bcrypt) seems good enough for now.
[https://github.com/akaariai/django/commit/7c88676c0d551dd2632783b0c4f2e24e9c4fe425
This commit] seems to skip the test for bcrypt, but not for py-bcrypt.
--
Ticket URL: <https://code.djangoproject.com/ticket/21248#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"9f8a36eb20895d9e542820d5190bfa77ad1b85d9"]:
{{{
#!CommitTicketReference repository=""
revision="9f8a36eb20895d9e542820d5190bfa77ad1b85d9"
[1.5.x] Fixed #21248 -- Skipped test_bcrypt if no py-bcrypt found
Pre 1.6 Django worked only with py-bcrypt, not with bcrypt. Skipped
test_bcrypt when using bcrypt to avoid false positives.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21248#comment:2>
Comment (by Anssi Kääriäinen <akaariai@…>):
In [changeset:"037ec1054ca8c08e65307f53e5851fe50ac5e8bf"]:
{{{
#!CommitTicketReference repository=""
revision="037ec1054ca8c08e65307f53e5851fe50ac5e8bf"
[1.4.x] Fixed #21248 -- Skipped test_bcrypt if no py-bcrypt found
Pre 1.6 Django worked only with py-bcrypt, not with bcrypt. Skipped
test_bcrypt when using bcrypt to avoid false positives.
Backpatch of 9f8a36eb20895d9e542820d5190bfa77ad1b85d9 from stable/1.5.x.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21248#comment:3>