Your message dated Fri, 21 Jan 2022 21:18:46 +0000
with message-id <e1nb1j0-0006cu...@fasolo.debian.org>
and subject line Bug#997505: fixed in diskcache 5.4.0-1
has caused the Debian Bug report #997505,
regarding diskcache: FTBFS: dh_auto_test: error: pybuild --test --test-pytest 
-i python{version} -p 3.9 returned exit code 13
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.)


-- 
997505: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997505
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: diskcache
Version: 5.2.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package diskcache
> dpkg-buildpackage: info: source version 5.2.1-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andreas Tille <ti...@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py clean 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build' (and 
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building diskcache using existing 
> ./diskcache_5.2.1.orig.tar.gz
> dpkg-source: info: building diskcache in diskcache_5.2.1-2.debian.tar.xz
> dpkg-source: info: building diskcache in diskcache_5.2.1-2.dsc
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> Warning: 'classifiers' should be a list, got type 'tuple'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
> copying diskcache/cli.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
> copying diskcache/fanout.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
> copying diskcache/core.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
> copying diskcache/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
> copying diskcache/djangocache.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
> copying diskcache/recipes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
> copying diskcache/persistent.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build/diskcache
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:285: cp -a docs 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build
> I: pybuild base:232: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build; python3.9 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: forked-1.3.0, cov-3.0.0, xdist-2.4.0, django-3.5.1
> gw0 I / gw1 I / gw2 I / gw3 I
> gw0 [242] / gw1 [242] / gw2 [242] / gw3 [242]
> 
> ........................................................................ [ 
> 29%]
> ........................................................................ [ 
> 59%]
> ..F..................................F.................................. [ 
> 89%]
> ..........................                                               
> [100%]
> =================================== FAILURES 
> ===================================
> __________________________ DiskCacheTests.test_pickle 
> __________________________
> [gw2] linux -- Python 3.9.7 /usr/bin/python3.9
> 
> self = <tests.test_djangocache.DiskCacheTests testMethod=test_pickle>
> 
>     def test_pickle(self):
>         letters = 'abcde'
>         cache.clear()
>     
>         for num, val in enumerate(letters):
>             cache.set(val, num)
>     
> >       data = pickle.dumps(cache)
> E       TypeError: cannot pickle '_thread.RLock' object
> 
> tests/test_djangocache.py:1036: TypeError
> ____________ DiskCacheTests.test_get_or_set_callable_returning_none 
> ____________
> [gw0] linux -- Python 3.9.7 /usr/bin/python3.9
> 
> self = <tests.test_djangocache.DiskCacheTests 
> testMethod=test_get_or_set_callable_returning_none>
> 
>     def test_get_or_set_callable_returning_none(self):
>         self.assertIsNone(cache.get_or_set('mykey', lambda: None))
>         # Previous get_or_set() doesn't store None in the cache.
> >       self.assertEqual(cache.get('mykey', 'default'), 'default')
> E       AssertionError: None != 'default'
> 
> tests/test_djangocache.py:884: AssertionError
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.9_diskcache/build/tests/test_djangocache.py::DiskCacheTests::test_cache_write_unpicklable_object
>   /usr/lib/python3/dist-packages/django/middleware/cache.py:67: 
> RemovedInDjango40Warning: Passing None for the middleware get_response 
> argument is deprecated.
>     super().__init__(get_response)
> 
> .pybuild/cpython3_3.9_diskcache/build/tests/test_djangocache.py::DiskCacheTests::test_cache_write_unpicklable_object
> .pybuild/cpython3_3.9_diskcache/build/tests/test_djangocache.py::DiskCacheTests::test_cache_write_unpicklable_object
>   /usr/lib/python3/dist-packages/django/middleware/cache.py:130: 
> RemovedInDjango40Warning: Passing None for the middleware get_response 
> argument is deprecated.
>     super().__init__(get_response)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> 
> ----------- coverage: platform linux, python 3.9.7-final-0 -----------
> Name                       Stmts   Miss Branch BrPart  Cover   Missing
> ----------------------------------------------------------------------
> diskcache/__init__.py         16      2      0      0    88%   60-62
> diskcache/cli.py               0      0      0      0   100%
> diskcache/core.py            926     11    367     26    97%   277->exit, 
> 311->314, 331->332, 332, 334->exit, 365-366, 369->372, 376->378, 405->406, 
> 406-410, 415->416, 416, 452->459, 674->675, 675, 1193->1195, 1206->1208, 
> 1334->1329, 1334->exit, 1600->1578, 1603->1600, 1604->1600, 1604->exit, 
> 1716->1695, 1719->1716, 1720->1716, 1720->exit, 1890->1893, 1958->1970, 
> 1963->1970, 2450, 2458->2459, 2459
> diskcache/djangocache.py     101      2     10      1    97%   9-11, 434->444
> diskcache/fanout.py          217      2     34      0    99%   490, 573
> diskcache/persistent.py      282      0     76      3    99%   34->37, 
> 148->156, 1071->exit
> diskcache/recipes.py         168      2     18      1    98%   105, 292->295, 
> 295
> ----------------------------------------------------------------------
> TOTAL                       1710     19    505     31    98%
> 
> Required test coverage of 96% reached. Total coverage: 97.56%
> =========================== short test summary info 
> ============================
> FAILED tests/test_djangocache.py::DiskCacheTests::test_pickle - TypeError: 
> ca...
> FAILED 
> tests/test_djangocache.py::DiskCacheTests::test_get_or_set_callable_returning_none
> ================== 2 failed, 240 passed, 3 warnings in 25.87s 
> ==================
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_diskcache/build; python3.9 -m pytest 
> tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/diskcache_5.2.1-2_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: diskcache
Source-Version: 5.4.0-1
Done: Andreas Tille <ti...@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated diskcache 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: SHA256

Format: 1.8
Date: Fri, 21 Jan 2022 21:49:30 +0100
Source: diskcache
Architecture: source
Version: 5.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 997505 1002823
Changes:
 diskcache (5.4.0-1) unstable; urgency=medium
 .
   * New upstream version
     Closes: #997505
   * Fix watchfile to detect new versions on github
   * Standards-Version: 4.6.0 (routine-update)
   * Enable django>=2.2
   * Build-Depends: python3-typing-extensions
   * Add missing build dependency on dh addon.
   * Call correct executable pytest-3
   * Do not provide docs in /usr/lib/python3/dist-packages
     Closes: #1002823
Checksums-Sha1:
 8466fa65720179992c0397e33e74169f63451a84 2305 diskcache_5.4.0-1.dsc
 722ae86954511343c501e5ba9fe5e3ec3e36bf9c 653968 diskcache_5.4.0.orig.tar.gz
 ca79180b7659d0376013c262f9876f6c249c1323 2600 diskcache_5.4.0-1.debian.tar.xz
 19d24f2470e5f1c49146281fa3724e6247bac49a 8160 diskcache_5.4.0-1_amd64.buildinfo
Checksums-Sha256:
 a7e75792415c3a79fda56c0cb65bf841d1373dbc02ff96f2aaf3a9dadf8d1519 2305 
diskcache_5.4.0-1.dsc
 5cdfcb16c9773584e8dca21c23c622e3c787721b1b09635a25e4f00c28073b2a 653968 
diskcache_5.4.0.orig.tar.gz
 d7970f34056d7d8e435819f6e8f233038f7b8753d887f5cb7ca3c8498cba836e 2600 
diskcache_5.4.0-1.debian.tar.xz
 5f97c4d4127c7785db6ee79402b9059c3077911d63ec5d95a2e003c99409f133 8160 
diskcache_5.4.0-1_amd64.buildinfo
Files:
 f54a99c335a3050f493fa6300f782b3b 2305 python optional diskcache_5.4.0-1.dsc
 1423b4f98c52421f5ae6bd6a8094ace3 653968 python optional 
diskcache_5.4.0.orig.tar.gz
 bdbd4c73ef5fc4a24e048a4aad1a66bf 2600 python optional 
diskcache_5.4.0-1.debian.tar.xz
 81d7e41c0af480ab6e08d9737b05fac2 8160 python optional 
diskcache_5.4.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmHrHRYRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtEVsBAAk7bkwi65uHHTXU1TTIgralnu7w0gsWaY
2wujry68oWsD7F9rRAq+zUL6NlGw/nzuFphvZowOIqwQ/CI6f+qyebTPSnvHD8UA
4KmlDfyc6DC+77Ba+bSxLRO/n2vvyJ9QrtN2TXWv5qdd1zVFp1T6fXVWyYpo2BQ3
dGq9MqILlaF3h8yX9nSEw8icH3qI809tIyH/4xcDzQ7buqS/W7dDiG0++RAMpOpP
sj51w344owFrNhG+Vz75KNWHtAMASDCFunx/KkflJs53OcPZM6rvh+DEvk7yedIh
PtiAFE4RK1LArvTTWLSW8tD4UNCFTnht79icA2Jx5K4eedTRebVBm1J9Cqyh736z
7NgChBatylvmuCo5epXmtNdo864mtScPKX1DfIkGWuiKlLenfi4rpxApKr2Fk8ld
jECWdx2zfOJg8AQrpgBKXfuQJBLUL8HM968CE6HJPr4sJKoQhNJgjojs3AVv3zHO
qtToreXMJ5dglVyR2Db1v8LdAiY7PxtT1vcxSSg+5VWeAZEii9p3ydEBZeoOnm4r
ksYYszSHOfP5FW4XIv5PXwFSNCZ/yunwnrhvXzzSyPwd9gX0T7TgbsuW3w/Qswby
sRbh2mWJleV3wUr9hpeJ12zoWpOAg1jCqDiic6dpOw5vkvz94Lf2am9dW7VZCPGA
R1iJNKN19xM=
=uxNF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to