Your message dated Sun, 16 Jul 2023 08:58:34 +0200
with message-id <[email protected]>
and subject line Re: Bug#1040627: django-simple-captcha autopkg tests fail with 
pillow 10.0.0
has caused the Debian Bug report #1040627,
regarding django-simple-captcha autopkg tests fail with pillow 10.0.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.)


-- 
1040627: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040627
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:django-simple-captcha
Version: 0.5.17-1
Severity: serious
Tags: sid trixie

see
https://ci.debian.net/data/autopkgtest/testing/amd64/d/django-simple-captcha/35498771/log.gz

ImageFont.getsize was deprecated in 9.2.0

 32s ======================================================================
32s ERROR: test_transparent_background (captcha.tests.tests.CaptchaCase.test_transparent_background)
 32s ----------------------------------------------------------------------
 32s Traceback (most recent call last):
32s File "/usr/lib/python3/dist-packages/captcha/tests/tests.py", line 459, in test_transparent_background
 32s     response = self.client.get(reverse("captcha-image", 
kwargs=dict(key=key)))
 32s                
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32s File "/usr/lib/python3/dist-packages/django/test/client.py", line 742, in get
 32s     response = super().get(path, data=data, secure=secure, **extra)
 32s                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32s File "/usr/lib/python3/dist-packages/django/test/client.py", line 396, in get
 32s     return self.generic('GET', path, secure=secure, **{
 32s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32s File "/usr/lib/python3/dist-packages/django/test/client.py", line 473, in generic
 32s     return self.request(**r)
 32s            ^^^^^^^^^^^^^^^^^
32s File "/usr/lib/python3/dist-packages/django/test/client.py", line 719, in request
 32s     self.check_exception(response)
32s File "/usr/lib/python3/dist-packages/django/test/client.py", line 580, in check_exception
 32s     raise exc_value
32s File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 47, in inner
 32s     response = get_response(request)
 32s                ^^^^^^^^^^^^^^^^^^^^^
32s File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 181, in _get_response
 32s     response = wrapped_callback(request, *callback_args, **callback_kwargs)
 32s                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32s File "/usr/lib/python3/dist-packages/captcha/views.py", line 88, in captcha_image
 32s     charimage = Image.new("L", getsize(font, " %s " % char), "#000000")
 32s                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 32s   File "/usr/lib/python3/dist-packages/captcha/views.py", line 33, in 
getsize
 32s     return font.getsize(text)
 32s            ^^^^^^^^^^^^
 32s AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
 32s
 32s ----------------------------------------------------------------------
 32s Ran 33 tests in 0.266s
 32s
 32s FAILED (errors=6, skipped=1)

--- End Message ---
--- Begin Message ---
Version: 0.5.18-1

Am Sat, Jul 08, 2023 at 09:06:49AM +0200 schrieb Matthias Klose:
> Package: src:django-simple-captcha
> Version: 0.5.17-1
> Severity: serious
> Tags: sid trixie
> 
> see
> https://ci.debian.net/data/autopkgtest/testing/amd64/d/django-simple-captcha/35498771/log.gz

upstream version 0.5.18 is "fixing" excately this problem, it has
included the new functions and the CI is running without issues.

Regards
Carsten

--- End Message ---

Reply via email to