diff --git a/srcpkgs/python3-ipyparallel/patches/818-mock-assert_called_once_with.patch b/srcpkgs/python3-ipyparallel/patches/818-mock-assert_called_once_with.patch deleted file mode 100644 index 9b8ea0a2754..00000000000 --- a/srcpkgs/python3-ipyparallel/patches/818-mock-assert_called_once_with.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://github.com/ipython/ipyparallel/pull/818 - -commit 47aba76d77b1ae83463badcd1a9002c74cc454cc -Author: Miro HronĨok -Date: Mon Jul 3 20:52:18 2023 +0200 - - Fix unittest.mock usage on Python 3.12 - -diff --git a/ipyparallel/tests/test_util.py b/ipyparallel/tests/test_util.py -index f4e0c953..eb1e11dc 100644 ---- a/ipyparallel/tests/test_util.py -+++ b/ipyparallel/tests/test_util.py -@@ -14,7 +14,7 @@ def test_disambiguate_ip(warn_mock): - 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.assert_called_once_with( - 'IPython could not determine IPs for {}: ' - '[Errno -2] Name or service not known'.format(wontresolve), - RuntimeWarning, diff --git a/srcpkgs/python3-ipyparallel/patches/859-utcnow-deprecation.patch b/srcpkgs/python3-ipyparallel/patches/859-utcnow-deprecation.patch deleted file mode 100644 index 695000588b3..00000000000 --- a/srcpkgs/python3-ipyparallel/patches/859-utcnow-deprecation.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://github.com/ipython/ipyparallel/pull/859 - -diff --git a/ipyparallel/util.py b/ipyparallel/util.py -index 130d8cef..f1ba8b2e 100644 ---- a/ipyparallel/util.py -+++ b/ipyparallel/util.py -@@ -591,7 +589,7 @@ def compare_datetimes(a, b): - - def utcnow(): - """Timezone-aware UTC timestamp""" -- return datetime.utcnow().replace(tzinfo=utc) -+ return datetime.now(utc) - - - def _v(version_s): diff --git a/srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch b/srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch index 696a19cb5a9..d47df868ddc 100644 --- a/srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch +++ b/srcpkgs/python3-ipyparallel/patches/no-jupyterlab.patch @@ -6,7 +6,7 @@ will add some version conflicts that prevent building. @@ -1,6 +1,5 @@ [build-system] requires = [ -- "jupyterlab>=3.0.0,==3.*", - "hatchling>=0.25" +- "jupyterlab==4.*", + "hatchling>=0.25", ] build-backend = "hatchling.build" diff --git a/srcpkgs/python3-ipyparallel/template b/srcpkgs/python3-ipyparallel/template index 02d954de1f9..50b045d670c 100644 --- a/srcpkgs/python3-ipyparallel/template +++ b/srcpkgs/python3-ipyparallel/template @@ -1,7 +1,7 @@ # Template file for 'python3-ipyparallel' pkgname=python3-ipyparallel -version=8.6.1 -revision=3 +version=8.7.0 +revision=1 build_style=python3-pep517 hostmakedepends="hatchling" depends="python3-entrypoints python3-decorator python3-pyzmq python3-traitlets @@ -16,7 +16,7 @@ license="BSD-3-Clause" homepage="https://ipyparallel.readthedocs.io/" changelog="https://ipyparallel.readthedocs.io/en/latest/changelog.html" distfiles="${PYPI_SITE}/i/ipyparallel/ipyparallel-${version}.tar.gz" -checksum=a39aa5ef9560170bf0e9afedca9ff045e1b9c1832c49303377edcc91cea9fb77 +checksum=403c0971ae56c2b6a39ffe8f35f31c7fd170ce127924629459cdd7f7a0b4e7c3 # having HOME=/tmp confuses a few tests make_check_pre="env HOME=/home"