diff -Nru ipyparallel-7.1.0/debian/changelog ipyparallel-7.1.0/debian/changelog --- ipyparallel-7.1.0/debian/changelog 2023-02-10 00:32:47.000000000 -0800 +++ ipyparallel-7.1.0/debian/changelog 2024-02-08 10:44:16.000000000 -0800 @@ -1,3 +1,9 @@ +ipyparallel (7.1.0-5ubuntu1) noble; urgency=medium + + * Fix tests for python3.12 (LP: #2052727) + + -- Chris Peterson Thu, 08 Feb 2024 10:44:16 -0800 + ipyparallel (7.1.0-5) unstable; urgency=medium * Team upload. diff -Nru ipyparallel-7.1.0/debian/control ipyparallel-7.1.0/debian/control --- ipyparallel-7.1.0/debian/control 2023-02-10 00:20:15.000000000 -0800 +++ ipyparallel-7.1.0/debian/control 2024-02-08 10:44:16.000000000 -0800 @@ -1,7 +1,8 @@ Source: ipyparallel Section: python Priority: optional -Maintainer: Debian Python Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Team Uploaders: Joseph Nahmias Build-Depends: debhelper-compat (= 13), dh-python, python3-all, python3-setuptools, diff -Nru ipyparallel-7.1.0/debian/patches/python3-assert-called-once-with.patch ipyparallel-7.1.0/debian/patches/python3-assert-called-once-with.patch --- ipyparallel-7.1.0/debian/patches/python3-assert-called-once-with.patch 1969-12-31 16:00:00.000000000 -0800 +++ ipyparallel-7.1.0/debian/patches/python3-assert-called-once-with.patch 2024-02-08 10:44:16.000000000 -0800 @@ -0,0 +1,24 @@ +Description: Fix bad test assert for python3.12 + Python3.12 includes a check for the common mistake of: + assert mocked_object.called_once_with(params) + and now raises an attribute error instead of erroneously passing the test. + The correct assertion method is `assert_called_once_with`. See: + https://github.com/python/cpython/issues/100690 + for more information. +Author: Chris Peterson +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ipyparallel/+bug/2052727 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061744 +Last-Update: 2024-02-08 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/ipyparallel/tests/test_util.py ++++ b/ipyparallel/tests/test_util.py +@@ -14,7 +14,7 @@ + assert util.disambiguate_ip_address('0.0.0.0', socket.gethostname()) == localhost() + wontresolve = 'this.wontresolve.dns' + assert util.disambiguate_ip_address('0.0.0.0', wontresolve) == wontresolve +- assert warn_mock.called_once_with( ++ warn_mock.asset_called_once_with( + 'IPython could not determine IPs for {}: ' + '[Errno -2] Name or service not known'.format(wontresolve), + RuntimeWarning, diff -Nru ipyparallel-7.1.0/debian/patches/series ipyparallel-7.1.0/debian/patches/series --- ipyparallel-7.1.0/debian/patches/series 2023-02-10 00:19:19.000000000 -0800 +++ ipyparallel-7.1.0/debian/patches/series 2024-02-08 10:42:39.000000000 -0800 @@ -5,3 +5,4 @@ fix_docs fix_setuptools_import.patch 0007-generate-code-reducer-from-CodeType-signature.patch +python3-assert-called-once-with.patch