Your message dated Sun, 14 Jan 2024 21:41:37 +0000
with message-id <e1rp8eb-002amr...@fasolo.debian.org>
and subject line Bug#1058107: fixed in python-django-rest-hooks 1.6.0-4
has caused the Debian Bug report #1058107,
regarding python-django-rest-hooks: FTBFS: AttributeError: 'RESTHooksTest' 
object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
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.)


-- 
1058107: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058107
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-rest-hooks
Version: 1.6.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="cd {build_dir}; {interpreter} 
> ./runtests.py"
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build; python3.12 
> ./runtests.py
> Creating test database for alias 'default'...
> Found 14 test(s).
> System check identified no issues (0 silenced).
> EE.E.E...EEE..
> ======================================================================
> ERROR: test_comment_hook_serializer_method 
> (rest_hooks.tests.RESTHooksTest.test_comment_hook_serializer_method)
> Use custom serialize_hook on the Comment model.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build/rest_hooks/tests.py",
>  line 145, in test_comment_hook_serializer_method
>     self.assertEquals(hook.id, payload['hook']['id'])
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'RESTHooksTest' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ======================================================================
> ERROR: test_custom_instance_hook 
> (rest_hooks.tests.RESTHooksTest.test_custom_instance_hook)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build/rest_hooks/tests.py",
>  line 215, in test_custom_instance_hook
>     self.assertEquals('comment.moderated', payloads[0]['hook']['event'])
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'RESTHooksTest' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ======================================================================
> ERROR: test_full_cycle_comment_hook 
> (rest_hooks.tests.RESTHooksTest.test_full_cycle_comment_hook)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build/rest_hooks/tests.py",
>  line 182, in test_full_cycle_comment_hook
>     self.assertEquals('comment.added', payloads[0]['hook']['event'])
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'RESTHooksTest' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ======================================================================
> ERROR: test_get_event_actions_config 
> (rest_hooks.tests.RESTHooksTest.test_get_event_actions_config)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/django/test/utils.py", line 461, in 
> inner
>     return func(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build/rest_hooks/tests.py",
>  line 75, in test_get_event_actions_config
>     self.assertEquals(
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'RESTHooksTest' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ======================================================================
> ERROR: test_raw_custom_event 
> (rest_hooks.tests.RESTHooksTest.test_raw_custom_event)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1346, in patched
>     return func(*newargs, **newkeywargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build/rest_hooks/tests.py",
>  line 239, in test_raw_custom_event
>     self.assertEquals('special.thing', payload['hook']['event'])
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'RESTHooksTest' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ======================================================================
> ERROR: test_signal_emitted_upon_success 
> (rest_hooks.tests.RESTHooksTest.test_signal_emitted_upon_success)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build/rest_hooks/tests.py",
>  line 285, in test_signal_emitted_upon_success
>     payload['data']['fields']['submit_date'] = ANY
>     ~~~~~~~~~~~~~~~^^^^^^^^^^
> KeyError: 'fields'
> 
> ======================================================================
> ERROR: test_simple_comment_hook 
> (rest_hooks.tests.RESTHooksTest.test_simple_comment_hook)
> Uses the default serializer.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build/rest_hooks/tests.py",
>  line 124, in test_simple_comment_hook
>     self.assertEquals(hook.id, payload['hook']['id'])
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'RESTHooksTest' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ----------------------------------------------------------------------
> Ran 14 tests in 6.051s
> 
> FAILED (errors=7)
> Destroying test database for alias 'default'...
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=7: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_django-rest-hooks/build; python3.12 
> ./runtests.py
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-rest-hooks/build; python3.11 
> ./runtests.py
> Creating test database for alias 'default'...
> Found 14 test(s).
> System check identified no issues (0 silenced).
> ..............
> ----------------------------------------------------------------------
> Ran 14 tests in 5.976s
> 
> OK
> Destroying test database for alias 'default'...
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> --system=custom "--test-args=cd {build_dir}; {interpreter} ./runtests.py" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-django-rest-hooks_1.6.0-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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: python-django-rest-hooks
Source-Version: 1.6.0-4
Done: Andreas Tille <ti...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-django-rest-hooks, 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 1058...@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 python-django-rest-hooks 
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: Sun, 14 Jan 2024 21:05:41 +0100
Source: python-django-rest-hooks
Architecture: source
Version: 1.6.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 1056466 1058107
Changes:
 python-django-rest-hooks (1.6.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Fix watch file
   * s/assertEquals/assertEqual/
     Closes: #1056466, #1058107
   * Standards-Version: 4.6.2 (routine-update)
   * Remove trailing whitespace in debian/changelog (routine-update)
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
   * Add salsa-ci file (routine-update)
Checksums-Sha1:
 e78c50dbe9950a2e642232af61dc1a3c6772edee 2333 
python-django-rest-hooks_1.6.0-4.dsc
 28886c5422b59e261cf557fcb54eec6f5b241276 5116 
python-django-rest-hooks_1.6.0-4.debian.tar.xz
 3d0f8899b4bd0d3d49505aa14f60193eb21b9c89 7363 
python-django-rest-hooks_1.6.0-4_amd64.buildinfo
Checksums-Sha256:
 5c0eeec5d493224349f7b47a2f36bd885236de4ce909b747e57608db2ef4bb35 2333 
python-django-rest-hooks_1.6.0-4.dsc
 9f5ce88cb9665eac6b18cf86e50e786b6be4be70bd12aa0c68f60123b39d8c7a 5116 
python-django-rest-hooks_1.6.0-4.debian.tar.xz
 145eadd708c9b3cd227e3391fa154dce61aaebf2fa3de45ec6c69c80bbfc4505 7363 
python-django-rest-hooks_1.6.0-4_amd64.buildinfo
Files:
 7f520055e4e305ffc5d50db297c6bd7e 2333 python optional 
python-django-rest-hooks_1.6.0-4.dsc
 d5c646c574257b5b13adf61c097c9aeb 5116 python optional 
python-django-rest-hooks_1.6.0-4.debian.tar.xz
 6086746b102204548b175ed3117a8c94 7363 python optional 
python-django-rest-hooks_1.6.0-4_amd64.buildinfo

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

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmWkP1oRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtEhug//ftbxAwNsABg0MWBudfGAlc17bXpfjNBR
qKc/rlZVyHsKg/4wUVIQWxR6nxYJoOA+c7NxmNzK4Px1ZjcxFRFz/80cGvvHYFD1
oXhM1wbF/htwKaBEbvy4aQjvfSvpSDrqWNMg24SER1kCCn+Sin/19aoSzhGTnjzH
Arpp0iPOfU9ci/2QFAwKsaYSF1KU3nuW57oSp6nEobSRjcVZuR3+XTW+wtd+aY1c
FhHRlncV1/lGs0OYU82LgtbHaREUUrYDDLsaxyfaYO74tgs7p3voWYhseFcJ6W9e
kzExHhztLXgHTNSvQNS15n9bqBfHzxNARquRLHXGWQ2lCRL7xsNOgXG2PiwvA6na
YWPC2FnU8Sc1JGMEOecMHRyTMIiyxjB5xk/XCGb/ySWRSLBkRjgXkRl4NKGLT9pv
sSAAWFyCoun0JlyJ/KIw0ULw7hlEm8GyxhyZJIPgh9Gtq2zrAjWMlEYLPb3gTHPv
VurZwD2bEkUdqNR0hcf5obNDxSDKO/YtoOSF5awuKZrH6iraEywQUvLaaU+44W9x
X1MF/HUsnHt4V9e6PjEYKu9maj9GKP+mcY9mOU22znpKb6Jtjk3X48Y+/v/+lUzZ
KGvSTy34gERA98K5pwhV9pkBzgPxuUZx97wJ1HniFiPSUYh3pv/bkMmjEjhvFClI
sjLZZgsOgv0=
=uMO7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to