Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-APScheduler for openSUSE:Factory checked in at 2026-11-19 16:55:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-APScheduler (Old) and /work/SRC/openSUSE:Factory/.python-APScheduler.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-APScheduler" Thu Nov 19 16:55:01 2026 rev:29 rq:1398549 version:3.11.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-APScheduler/python-APScheduler.changes 2026-08-05 17:50:17.353825909 +0200 +++ /work/SRC/openSUSE:Factory/.python-APScheduler.new.1251/python-APScheduler.changes 2026-11-19 16:55:19.598321206 +0100 @@ -1,0 +2,6 @@ +Thu Nov 19 04:53:22 UTC 2026 - Steve Kowalik <[email protected]> + +- Add patch support-pytz-2026.4.patch: + * Support changes required by pytz 2026.4. + +------------------------------------------------------------------- New: ---- support-pytz-2026.4.patch ----------(New B)---------- New: - Add patch support-pytz-2026.4.patch: * Support changes required by pytz 2026.4. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-APScheduler.spec ++++++ --- /var/tmp/diff_new_pack.Sgteh4/_old 2026-11-19 16:55:20.700367919 +0100 +++ /var/tmp/diff_new_pack.Sgteh4/_new 2026-11-19 16:55:20.702368004 +0100 @@ -24,10 +24,11 @@ License: MIT URL: https://github.com/agronholm/apscheduler Source: https://files.pythonhosted.org/packages/source/a/apscheduler/apscheduler-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Based on gh#agronholm/apscheduler@00c880b +Patch0: support-pytz-2026.4.patch BuildRequires: %{python_module SQLAlchemy >= 1.4} BuildRequires: %{python_module Twisted} BuildRequires: %{python_module anyio >= 4.0} -BuildRequires: %{python_module attrs >= 21.3} BuildRequires: %{python_module gevent} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-asyncio} @@ -41,9 +42,6 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros - -Requires: python-attrs >= 21.3 -Requires: python-pytz Requires: python-tzlocal >= 3.0 Recommends: python-SQLAlchemy >= 1.4 Recommends: python-Twisted @@ -77,7 +75,7 @@ * MongoDB %prep -%setup -q -n apscheduler-%{version} +%autosetup -p1 -n apscheduler-%{version} sed -i 's/--cov//' pyproject.toml || true %build @@ -88,7 +86,17 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -p asyncio -k "not (redis or mongodb or rethinkdb or zookeeper or test_broken_pool)" +donttest="redis or mongodb or rethinkdb or zookeeper or test_broken_pool" +# Fails due to time_t overflow and slow OBS workers +if [ "$(getconf LONG_BIT)" = "32" ]; then + donttest="$donttest or ((test_max_instances or test_submit_job) and processpool)" + donttest="$donttest or test_add_callable_instance_method_job" + donttest="$donttest or test_add_callable_class_method_job" + donttest="$donttest or test_add_textual_instance_method_job" + donttest="$donttest or test_add_textual_class_method_job" + donttest="$donttest or test_lookup_job or test_print_jobs" +fi +%pytest -p asyncio -k "not ($donttest)" %files %{python_files} %license LICENSE.txt ++++++ support-pytz-2026.4.patch ++++++ >From 00c880b81d1cf37ce1cc89c8f4b70143c3c8b758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= <[email protected]> Date: Sat, 26 Sep 2026 00:28:27 +0300 Subject: [PATCH] Fixed compatibility with pytz 2026.4 --- docs/versionhistory.rst | 1 + src/apscheduler/util.py | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) Index: apscheduler-3.11.3/src/apscheduler/util.py =================================================================== --- apscheduler-3.11.3.orig/src/apscheduler/util.py +++ apscheduler-3.11.3/src/apscheduler/util.py @@ -115,7 +115,11 @@ def astimezone(obj): if obj.zone: return ZoneInfo(obj.zone) - return timezone(obj._offset) + try: + return timezone(obj._utcoffset) + except AttributeError: # pragma: no cover + # pytz 2626.3 and earlier + return timezone(obj._offset) return obj
