Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rednotebook for openSUSE:Factory 
checked in at 2026-07-17 01:42:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rednotebook (Old)
 and      /work/SRC/openSUSE:Factory/.rednotebook.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rednotebook"

Fri Jul 17 01:42:10 2026 rev:51 rq:1366089 version:2.42

Changes:
--------
--- /work/SRC/openSUSE:Factory/rednotebook/rednotebook.changes  2025-07-15 
16:44:16.516878755 +0200
+++ /work/SRC/openSUSE:Factory/.rednotebook.new.24530/rednotebook.changes       
2026-07-17 01:43:22.521050959 +0200
@@ -1,0 +2,26 @@
+Thu Jul 16 01:16:54 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 2.42:
+  * Update help concerning math formulas (#97, #855, @jendrikseipp).
+  * Fix X11 forwarding (#726, #847, @jendrikseipp).
+  * Don't store/restore window position on Wayland (#806, @jendrikseipp).
+  * Replace deprecated GTK 3 API with modern alternatives (@jendrikseipp).
+  * Upgrade to PyInstaller 6.16 (#871, @jendrikseipp).
+  * Declare required and optional Python dependencies to setup.py (#871,
+    @przemub).
+  * Simplify instructions for macOS installation (#871, @przemub).
+  * Fix sorting words that are incompatible with the current locale (#778,
+    #779, Oussama Jarrousse).
+  * Add dark mode instructions to built-in help documentation (#848,
+    @jendrikseipp).
+  * Fix options dialog not closing when OK button is clicked (#857,
+    @jendrikseipp).
+  * Fix black WebKit panes on KDE by disabling compositing on this platform
+    (#828, @jendrikseipp).
+  * Fix empty WebKit preview with Nvidia drivers by auto-applying DMA-BUF
+    workaround (#820, @jendrikseipp).
+  * Only instantiate Gtk.StatusIcon on Windows to fix Wayland crash (#840,
+    @jendrikseipp).
+- Add patch support-journal-files-days-as-strings.patch (bsc#1270015)
+
+-------------------------------------------------------------------

Old:
----
  rednotebook-2.39.tar.gz

New:
----
  rednotebook-2.42.tar.gz
  support-journal-files-days-as-strings.patch

----------(New B)----------
  New:    @jendrikseipp).
- Add patch support-journal-files-days-as-strings.patch (bsc#1270015)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rednotebook.spec ++++++
--- /var/tmp/diff_new_pack.PlQ7b1/_old  2026-07-17 01:43:23.033068245 +0200
+++ /var/tmp/diff_new_pack.PlQ7b1/_new  2026-07-17 01:43:23.037068380 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rednotebook
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define pythons python3
 Name:           rednotebook
-Version:        2.39
+Version:        2.42
 Release:        0
 Summary:        Graphical diary and journal
 # See note at the end of README: code is using some LGPL-3.0+ module, so the 
resulting work is GPL-3.0+.
@@ -26,6 +26,8 @@
 Group:          Productivity/Office/Other
 URL:            http://rednotebook.sourceforge.net/
 Source:         
https://github.com/jendrikseipp/rednotebook/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on gh#jendrikseipp/rednotebook#898
+Patch0:         support-journal-files-days-as-strings.patch
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
@@ -53,7 +55,7 @@
 %lang_package
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %pyproject_wheel

++++++ rednotebook-2.39.tar.gz -> rednotebook-2.42.tar.gz ++++++
++++ 6940 lines of diff (skipped)

++++++ support-journal-files-days-as-strings.patch ++++++
>From 46d10a8830de9ab1539f6cbe857336740915966f Mon Sep 17 00:00:00 2001
From: Sai Asish Y <[email protected]>
Date: Thu, 2 Jul 2026 02:57:57 -0700
Subject: [PATCH] Fix reading journal files with string day numbers (#897)

Signed-off-by: Sai Asish Y <[email protected]>
---
 CHANGELOG.md        | 1 +
 rednotebook/data.py | 1 +
 tests/test_day.py   | 6 ++++++
 3 files changed, 8 insertions(+)

Index: rednotebook-2.42/rednotebook/data.py
===================================================================
--- rednotebook-2.42.orig/rednotebook/data.py
+++ rednotebook-2.42/rednotebook/data.py
@@ -294,6 +294,7 @@ class Month:
         month_content = month_content or {}
         self.days = {}
         for day_number, day_content in month_content.items():
+            day_number = int(day_number)
             self.days[day_number] = Day(self, day_number, day_content)
 
         self.edited = False
Index: rednotebook-2.42/tests/test_day.py
===================================================================
--- rednotebook-2.42.orig/tests/test_day.py
+++ rednotebook-2.42/tests/test_day.py
@@ -12,6 +12,12 @@ def test_to_string():
     assert str(day) == str_version
 
 
+def test_string_day_keys():
+    month = Month(2026, 7, {"1": {"text": "hello"}})
+    assert list(month.days) == [1]
+    assert month.get_day(1).text == "hello"
+
+
 def test_hashtags():
     month = Month(2000, 10)
     day = Day(month, 20)

Reply via email to