Your message dated Wed, 16 Mar 2022 10:30:17 +0000
with message-id <e1nuqv3-0002km...@fasolo.debian.org>
and subject line Bug#1005687: fixed in sorl-thumbnail 12.8.0-1
has caused the Debian Bug report #1005687,
regarding sorl-thumbnail: FTBFS: tests failed
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.)
--
1005687: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005687
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sorl-thumbnail
Version: 12.7.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> mkdir -p tmp-locales
> localedef -i en_US -c -f UTF-8 tmp-locales/en_US.UTF-8
> set -e; \
> for python in python3.10 python3.9; do \
> for name in pil pgmagick imagemagick graphicsmagick; do \
> LOCPATH=/<<PKGBUILDDIR>>/tmp-locales LC_ALL=en_US.UTF-8 PYTHONPATH=.
> LOCAL_BUILD=1 DJANGO_SETTINGS_MODULE=tests.settings.$name $python -m pytest ;
> \
> done; \
> done
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> Django settings: tests.settings.pil (from environment variable)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
> plugins: django-3.5.1
> collected 76 items
>
> tests/thumbnail_tests/test_alternative_resolutions.py . [
> 1%]
> tests/thumbnail_tests/test_backends.py ............ [
> 17%]
> tests/thumbnail_tests/test_commands.py .... [
> 22%]
> tests/thumbnail_tests/test_engines.py ...........................ss [
> 60%]
> tests/thumbnail_tests/test_filters.py s.s. [
> 65%]
> tests/thumbnail_tests/test_storage.py .... [
> 71%]
> tests/thumbnail_tests/test_templatetags.py ........ss..... [
> 90%]
> tests/thumbnail_tests/test_admin.py . [
> 92%]
> tests/thumbnail_tests/test_kvstore.py . [
> 93%]
> tests/thumbnail_tests/test_parsers.py .....
> [100%]
>
> =============================== warnings summary
> ===============================
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:9: RemovedInDjango40Warning:
> django.conf.urls.url() is deprecated in favor of django.urls.re_path().
> url(r'^media/(?P<path>.+)$', serve,
>
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:11:
> RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of
> django.urls.re_path().
> url(r'^(.*\.html)$', direct_to_template),
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> ================== 70 passed, 6 skipped, 2 warnings in 1.14s
> ===================
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> Django settings: tests.settings.pgmagick (from environment variable)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
> plugins: django-3.5.1
> collected 76 items
>
> tests/thumbnail_tests/test_alternative_resolutions.py . [
> 1%]
> tests/thumbnail_tests/test_backends.py ............ [
> 17%]
> tests/thumbnail_tests/test_commands.py .... [
> 22%]
> tests/thumbnail_tests/test_engines.py .............s......s...s..ss [
> 60%]
> tests/thumbnail_tests/test_filters.py s.s. [
> 65%]
> tests/thumbnail_tests/test_storage.py .... [
> 71%]
> tests/thumbnail_tests/test_templatetags.py ........ss..... [
> 90%]
> tests/thumbnail_tests/test_admin.py . [
> 92%]
> tests/thumbnail_tests/test_kvstore.py . [
> 93%]
> tests/thumbnail_tests/test_parsers.py .....
> [100%]
>
> =============================== warnings summary
> ===============================
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:9: RemovedInDjango40Warning:
> django.conf.urls.url() is deprecated in favor of django.urls.re_path().
> url(r'^media/(?P<path>.+)$', serve,
>
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:11:
> RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of
> django.urls.re_path().
> url(r'^(.*\.html)$', direct_to_template),
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> ================== 67 passed, 9 skipped, 2 warnings in 1.02s
> ===================
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> Django settings: tests.settings.imagemagick (from environment variable)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
> plugins: django-3.5.1
> collected 76 items
>
> tests/thumbnail_tests/test_alternative_resolutions.py . [
> 1%]
> tests/thumbnail_tests/test_backends.py ............ [
> 17%]
> tests/thumbnail_tests/test_commands.py .... [
> 22%]
> tests/thumbnail_tests/test_engines.py .............s......s...s..ss [
> 60%]
> tests/thumbnail_tests/test_filters.py s.s. [
> 65%]
> tests/thumbnail_tests/test_storage.py .... [
> 71%]
> tests/thumbnail_tests/test_templatetags.py ........ss..... [
> 90%]
> tests/thumbnail_tests/test_admin.py . [
> 92%]
> tests/thumbnail_tests/test_kvstore.py . [
> 93%]
> tests/thumbnail_tests/test_parsers.py .....
> [100%]
>
> =============================== warnings summary
> ===============================
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:9: RemovedInDjango40Warning:
> django.conf.urls.url() is deprecated in favor of django.urls.re_path().
> url(r'^media/(?P<path>.+)$', serve,
>
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:11:
> RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of
> django.urls.re_path().
> url(r'^(.*\.html)$', direct_to_template),
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> ================== 67 passed, 9 skipped, 2 warnings in 2.87s
> ===================
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> Django settings: tests.settings.graphicsmagick (from environment variable)
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
> plugins: django-3.5.1
> collected 76 items
>
> tests/thumbnail_tests/test_alternative_resolutions.py . [
> 1%]
> tests/thumbnail_tests/test_backends.py ............ [
> 17%]
> tests/thumbnail_tests/test_commands.py .... [
> 22%]
> tests/thumbnail_tests/test_engines.py .............s......sF..s..ss [
> 60%]
> tests/thumbnail_tests/test_filters.py s.s. [
> 65%]
> tests/thumbnail_tests/test_storage.py .... [
> 71%]
> tests/thumbnail_tests/test_templatetags.py ....F...ss..... [
> 90%]
> tests/thumbnail_tests/test_admin.py . [
> 92%]
> tests/thumbnail_tests/test_kvstore.py . [
> 93%]
> tests/thumbnail_tests/test_parsers.py .....
> [100%]
>
> =================================== FAILURES
> ===================================
> ___________________ CropTestCase.test_image_with_orientation
> ___________________
>
> self = <tests.thumbnail_tests.test_engines.CropTestCase
> testMethod=test_image_with_orientation>
>
> def test_image_with_orientation(self):
> name = 'data/aspect_test.jpg'
> item, _ = Item.objects.get_or_create(image=name)
>
> im = ImageFile(item.image)
> th = self.BACKEND.get_thumbnail(im, '50x50')
>
> # this is a 100x200 image with orientation 6 (90 degrees CW rotate)
> # the thumbnail should end up 25x50
> > self.assertEqual(th.x, 25)
> E AssertionError: 50 != 25
>
> tests/thumbnail_tests/test_engines.py:371: AssertionError
> ------------------------------ Captured log call
> -------------------------------
> DEBUG slog:storage.py:49 exists:
> test/cache/32/2a/322a5d75f09eb4a89551e69e282e7aef.jpg
> DEBUG slog:storage.py:25 open: data/aspect_test.jpg
> DEBUG slog:storage.py:29 save:
> test/cache/32/2a/322a5d75f09eb4a89551e69e282e7aef.jpg
> DEBUG slog:storage.py:37 get_available_name:
> test/cache/32/2a/322a5d75f09eb4a89551e69e282e7aef.jpg
> DEBUG slog:storage.py:49 exists:
> test/cache/32/2a/322a5d75f09eb4a89551e69e282e7aef.jpg
> ______________________ TemplateTestCaseA.test_orientation
> ______________________
>
> self = <tests.thumbnail_tests.test_templatetags.TemplateTestCaseA
> testMethod=test_orientation>
>
> def test_orientation(self):
> ref = Image.open(os.path.join(DATA_DIR, '1_topleft.jpg'))
> top = ref.getpixel((14, 7))
> left = ref.getpixel((7, 14))
> engine = PILEngine()
>
> def epsilon(x, y):
> if isinstance(x, (tuple, list)):
> x = sum(x) / len(x)
> if isinstance(y, (tuple, list)):
> y = sum(y) / len(y)
> return abs(x - y)
>
> data_images = (
> '1_topleft.jpg',
> '2_topright.jpg',
> '3_bottomright.jpg',
> '4_bottomleft.jpg',
> '5_lefttop.jpg',
> '6_righttop.jpg',
> '7_rightbottom.jpg',
> '8_leftbottom.jpg'
> )
>
> for name in data_images:
> th = self.BACKEND.get_thumbnail('data/%s' % name, '30x30')
> im = engine.get_image(th)
>
> self.assertLess(epsilon(top, im.getpixel((14, 7))), 10)
> > self.assertLess(epsilon(left, im.getpixel((7, 14))), 10)
> E AssertionError: 85 not less than 10
>
> tests/thumbnail_tests/test_templatetags.py:111: AssertionError
> ------------------------------ Captured log call
> -------------------------------
> DEBUG slog:storage.py:49 exists:
> test/cache/c9/9a/c99a5bdaa10e2eb83215159fdd429d67.jpg
> DEBUG slog:storage.py:25 open: data/1_topleft.jpg
> DEBUG slog:storage.py:29 save:
> test/cache/c9/9a/c99a5bdaa10e2eb83215159fdd429d67.jpg
> DEBUG slog:storage.py:37 get_available_name:
> test/cache/c9/9a/c99a5bdaa10e2eb83215159fdd429d67.jpg
> DEBUG slog:storage.py:49 exists:
> test/cache/c9/9a/c99a5bdaa10e2eb83215159fdd429d67.jpg
> DEBUG slog:storage.py:25 open:
> test/cache/c9/9a/c99a5bdaa10e2eb83215159fdd429d67.jpg
> DEBUG slog:storage.py:49 exists:
> test/cache/ff/a8/ffa80144fcd07dc0506bdcd361c343d4.jpg
> DEBUG slog:storage.py:25 open: data/2_topright.jpg
> DEBUG slog:storage.py:29 save:
> test/cache/ff/a8/ffa80144fcd07dc0506bdcd361c343d4.jpg
> DEBUG slog:storage.py:37 get_available_name:
> test/cache/ff/a8/ffa80144fcd07dc0506bdcd361c343d4.jpg
> DEBUG slog:storage.py:49 exists:
> test/cache/ff/a8/ffa80144fcd07dc0506bdcd361c343d4.jpg
> DEBUG slog:storage.py:25 open:
> test/cache/ff/a8/ffa80144fcd07dc0506bdcd361c343d4.jpg
> =============================== warnings summary
> ===============================
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:9: RemovedInDjango40Warning:
> django.conf.urls.url() is deprecated in favor of django.urls.re_path().
> url(r'^media/(?P<path>.+)$', serve,
>
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseClient::test_empty_error
> /<<PKGBUILDDIR>>/tests/thumbnail_tests/urls.py:11:
> RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of
> django.urls.re_path().
> url(r'^(.*\.html)$', direct_to_template),
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED
> tests/thumbnail_tests/test_engines.py::CropTestCase::test_image_with_orientation
> FAILED
> tests/thumbnail_tests/test_templatetags.py::TemplateTestCaseA::test_orientation
> ============= 2 failed, 65 passed, 9 skipped, 2 warnings in 3.01s
> ==============
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/02/12/sorl-thumbnail_12.7.0-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: sorl-thumbnail
Source-Version: 12.8.0-1
Done: Martin <deba...@debian.org>
We believe that the bug you reported is fixed in the latest version of
sorl-thumbnail, 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 1005...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin <deba...@debian.org> (supplier of updated sorl-thumbnail 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: Wed, 16 Mar 2022 09:11:31 +0000
Source: sorl-thumbnail
Architecture: source
Version: 12.8.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Martin <deba...@debian.org>
Closes: 961065 1005687
Changes:
sorl-thumbnail (12.8.0-1) unstable; urgency=medium
.
* New release (Closes: #961065, #1005687).
- Added support for Django 3.2 and 4.0, dropped 3.0.
* Remove patch relax-test.patch, applied upstream.
Checksums-Sha1:
03965090d41c963597aab3a337118c263caf5496 2356 sorl-thumbnail_12.8.0-1.dsc
2e27420f9739a715e421ed955eb0e03845e48808 659692
sorl-thumbnail_12.8.0.orig.tar.gz
bfb84c84b921bdee67530da6afc2fd4e477aeede 6348
sorl-thumbnail_12.8.0-1.debian.tar.xz
60682102148181f3c94ff631f3f1eaf548375370 10065
sorl-thumbnail_12.8.0-1_amd64.buildinfo
Checksums-Sha256:
aa20f77998fce9a24cd0712f24dfe6a2e572257a3a27a548cc691286cb45af1d 2356
sorl-thumbnail_12.8.0-1.dsc
a61b4eacd740be742a3cd918e76312b071c516bf2db3d37b6daad6454bee5d19 659692
sorl-thumbnail_12.8.0.orig.tar.gz
97c6c64abe542b3f2b3aa5722c0a00da283a1aafa8349478666635eb045a365e 6348
sorl-thumbnail_12.8.0-1.debian.tar.xz
b1e04f4e401654cff54b75bd43ebb3b58b0e1ffd1de0e6e8777cc8b81e02004e 10065
sorl-thumbnail_12.8.0-1_amd64.buildinfo
Files:
e58a02f78b1dbc281551937f33687965 2356 python optional
sorl-thumbnail_12.8.0-1.dsc
7255a7c96e7a1d27716f807a2e484fdd 659692 python optional
sorl-thumbnail_12.8.0.orig.tar.gz
a5fa4d5105da78cfb27871353ca604cf 6348 python optional
sorl-thumbnail_12.8.0-1.debian.tar.xz
e7629291682151c434c3301f9d2331ac 10065 python optional
sorl-thumbnail_12.8.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEftHeo0XZoKEY1KdA4+Chwoa5Y+oFAmIxrY4ACgkQ4+Chwoa5
Y+oCqBAAhpNp06oDVHvSMe+W9P8W7QUlSUoglbcs9PzVVq4EpD5wKcH/pezgcwwq
c04RNo95+/V/EFPIoT4E/qEYdV8fRvRgJXIac/K5yhu9XTfrP4WugZCviGwQ+YWu
HWAAzqdrH6sZsXuRmteZhvMUIg8puUfA75+uxL4hxjL9To1dhAC3OmnTs+3kFBNS
mmDJ1VcAy7+sW9y2mWjIZ2J1MW28QYJBuiQEfsDKZrEZCwskUnmFu4vPAMlARnL6
yHVw9mR+mGfqya8281JJRoV7qGnAgz/19Y6/fWzx9y28P1+QG5WORUZP+sqwCUoh
BYPIwdYq/sEZs5EY/9Y9Tk1zfTS+etKG/7kzOLBpsrPeIv3wl4dZPZArRJ1uWIAG
9BxEuK3lBJnvQvNPTZFEpr/rPbLVPNslcIebj0cTxFIAxOrWvS1JoSaGJJBND0Z1
4CE4Pj4N2G7LKUuFV03WP5w0e4Om7hbvKN+4w6A7+DiAOQCFxaVBX7N1Kl4VRUgR
0jN7jWuMMmo0dEvSfZ9H0MTUp8oNUzISJ+3zS36HcprJXblVph4kMCetxAAwu9rg
53t4K7INGAcr/+rsTtnFWqx+H+shvpSoZKYo1sO0DwgEBij9H5JwUzOzJlDom6bJ
VTY7u/w5auXFCaihsCSioZDyBZT2Uq0lZcaLO8b2gJVZW2RLacA=
=aOfD
-----END PGP SIGNATURE-----
--- End Message ---