Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ipyparallel for openSUSE:Factory checked in at 2024-02-08 19:02:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python-ipyparallel.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipyparallel" Thu Feb 8 19:02:01 2024 rev:18 rq:1144868 version:8.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipyparallel/python-ipyparallel.changes 2023-04-24 22:31:29.751611433 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipyparallel.new.1815/python-ipyparallel.changes 2024-02-08 19:02:10.951127577 +0100 @@ -1,0 +2,11 @@ +Wed Feb 7 09:44:12 UTC 2024 - Ben Greiner <[email protected]> + +- Add ipyparallel-pr859-utcnow-deprecation.patch for Python 3.12 + gh#ipython/ipyparallel#859 + +------------------------------------------------------------------- +Sun Feb 4 13:40:06 UTC 2024 - Ben Greiner <[email protected]> + +- Jupyterlab does not require notebook < 7 anymore + +------------------------------------------------------------------- New: ---- ipyparallel-pr859-utcnow-deprecation.patch BETA DEBUG BEGIN: New: - Add ipyparallel-pr859-utcnow-deprecation.patch for Python 3.12 gh#ipython/ipyparallel#859 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipyparallel.spec ++++++ --- /var/tmp/diff_new_pack.igWEwG/_old 2024-02-08 19:02:11.791158350 +0100 +++ /var/tmp/diff_new_pack.igWEwG/_new 2024-02-08 19:02:11.795158496 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ipyparallel # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ URL: https://github.com/ipython/ipyparallel Source: https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz Source99: python-ipyparallel-rpmlintrc +# PATCH-FIX-UPSTREAM ipyparallel-pr859-utcnow-deprecation.patch gh#ipython/ipyparallel#859 +Patch0: https://github.com/ipython/ipyparallel/pull/859.patch#/ipyparallel-pr859-utcnow-deprecation.patch # SECTION build-system requirements BuildRequires: %{python_module hatchling >= 0.25} BuildRequires: %{python_module base >= 3.7} @@ -39,8 +41,7 @@ BuildRequires: %{python_module decorator} BuildRequires: %{python_module ipykernel >= 4.4} BuildRequires: %{python_module ipython >= 4} -# jupyterlab: notebook <7: jupyter-client < 8 -BuildRequires: %{python_module jupyter-client < 8} +BuildRequires: %{python_module jupyter-client} BuildRequires: %{python_module psutil} BuildRequires: %{python_module python-dateutil >= 2.1} BuildRequires: %{python_module pyzmq >= 18} @@ -51,7 +52,7 @@ Requires: python-entrypoints Requires: python-ipykernel >= 4.4 Requires: python-ipython >= 4 -Requires: python-jupyter-client < 8 +Requires: python-jupyter-client Requires: python-psutil Requires: python-python-dateutil >= 2.1 Requires: python-pyzmq >= 18 @@ -60,7 +61,7 @@ Requires: python-traitlets >= 4.3 # /SECTION Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: jupyter-ipyparallel = %{version} Provides: python-jupyter_ipyparallel = %{version}-%{release} Obsoletes: python-jupyter_ipyparallel < %{version}-%{release} ++++++ ipyparallel-pr859-utcnow-deprecation.patch ++++++ >From 0654e19b1f9ba5f9b96ccf9246aa2ab1664c12fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <[email protected]> Date: Thu, 4 Jan 2024 10:11:00 -0300 Subject: [PATCH] fix utcnow deprecation --- ipyparallel/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipyparallel/util.py b/ipyparallel/util.py index 130d8cef3..c9cc659ff 100644 --- a/ipyparallel/util.py +++ b/ipyparallel/util.py @@ -591,7 +591,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):
