Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jupyter-events for openSUSE:Factory checked in at 2024-02-06 16:40:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter-events (Old) and /work/SRC/openSUSE:Factory/.python-jupyter-events.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-events" Tue Feb 6 16:40:29 2024 rev:8 rq:1144660 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter-events/python-jupyter-events.changes 2023-11-27 22:43:31.530168042 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyter-events.new.1815/python-jupyter-events.changes 2024-02-06 16:40:29.379941981 +0100 @@ -1,0 +2,6 @@ +Tue Feb 6 15:15:02 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Add jupyter_events-py312-taskname.patch because we patched + gh#madzak/python-json-logger#183 + +------------------------------------------------------------------- New: ---- jupyter_events-py312-taskname.patch BETA DEBUG BEGIN: New: - Add jupyter_events-py312-taskname.patch because we patched gh#madzak/python-json-logger#183 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter-events.spec ++++++ --- /var/tmp/diff_new_pack.ITLc7q/_old 2024-02-06 16:40:29.915961352 +0100 +++ /var/tmp/diff_new_pack.ITLc7q/_new 2024-02-06 16:40:29.919961496 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jupyter-events # -# 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 @@ -30,6 +30,8 @@ License: BSD-3-Clause URL: https://github.com/jupyter/jupyter_events Source: https://files.pythonhosted.org/packages/source/j/jupyter_events/jupyter_events-%{version}.tar.gz +# PATCH-FIX-OPENSUSE jupyter_events-py312-taskname.patch c...@bnavigator.de -- we patched python-python-json-logger with gh#madzak/python-json-logger#183 +Patch0: jupyter_events-py312-taskname.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module hatchling >= 1.5} BuildRequires: %{python_module pip} @@ -51,7 +53,7 @@ Requires: alts %else Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %endif # SECTION test requirements BuildRequires: %{python_module rfc3339-validator} ++++++ jupyter_events-py312-taskname.patch ++++++ diff -ur jupyter_events-0.9.0.orig/tests/test_logger.py jupyter_events-0.9.0/tests/test_logger.py --- jupyter_events-0.9.0.orig/tests/test_logger.py 2024-02-06 16:12:31.070657567 +0100 +++ jupyter_events-0.9.0/tests/test_logger.py 2024-02-06 16:13:51.287692498 +0100 @@ -165,8 +165,6 @@ "__metadata_version__": 1, "something": "blah", } - if sys.version_info >= (3, 12): - expected["taskName"] = None assert event_capsule == expected @@ -213,8 +211,6 @@ "something": "blah", "message": "a message was seen", } - if sys.version_info >= (3, 12): - expected["taskName"] = None assert event_capsule == expected @@ -262,8 +258,6 @@ "__metadata_version__": 1, "thing": {"message": "a nested message was seen"}, } - if sys.version_info >= (3, 12): - expected["taskName"] = None assert event_capsule == expected @@ -427,8 +421,6 @@ "__metadata_version__": 1, "something": "blah", } - if sys.version_info >= (3, 12): - expected["taskName"] = None assert event_capsule0 == expected event_capsule1 = json.loads(output1.getvalue()) @@ -442,8 +434,6 @@ "__metadata_version__": 1, "something": "blah", } - if sys.version_info >= (3, 12): - expected["taskName"] = None assert event_capsule1 == expected