Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cinemagoer for
openSUSE:Factory checked in at 2025-11-14 16:16:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cinemagoer (Old)
and /work/SRC/openSUSE:Factory/.python-cinemagoer.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cinemagoer"
Fri Nov 14 16:16:32 2025 rev:5 rq:1317680 version:2023.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cinemagoer/python-cinemagoer.changes
2025-06-16 11:13:08.520938118 +0200
+++
/work/SRC/openSUSE:Factory/.python-cinemagoer.new.2061/python-cinemagoer.changes
2025-11-14 16:16:43.957894655 +0100
@@ -1,0 +2,6 @@
+Fri Nov 14 02:54:42 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-python314.patch:
+ * Don't use removed pkgutil function.
+
+-------------------------------------------------------------------
New:
----
support-python314.patch
----------(New B)----------
New:
- Add patch support-python314.patch:
* Don't use removed pkgutil function.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cinemagoer.spec ++++++
--- /var/tmp/diff_new_pack.hRi12P/_old 2025-11-14 16:16:44.501917499 +0100
+++ /var/tmp/diff_new_pack.hRi12P/_new 2025-11-14 16:16:44.505917666 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-cinemagoer
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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
@@ -25,6 +25,8 @@
URL: https://cinemagoer.sourceforge.io/
Source:
https://files.pythonhosted.org/packages/source/c/cinemagoer/cinemagoer-%{version}.tar.gz
Patch0: do_not_install_scripts.patch
+# PATCH-FIX-UPSTREAM Based on gh#cinemagoer/cinemagoer#543
+Patch1: support-python314.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -64,7 +66,7 @@
%python_clone -a %{buildroot}%{_bindir}/imdbpy
%check
-# The just about the entire testsuite wants network access
+# Just about the entire testsuite wants network access
%pytest -k "test_series_full_cast_has_ids"
%post
++++++ support-python314.patch ++++++
>From fec0b1a0f90e2d6201f6fa5fd429f13d9b7a747d Mon Sep 17 00:00:00 2001
From: Jonas Stendahl <[email protected]>
Date: Fri, 10 Oct 2025 22:59:05 +0200
Subject: [PATCH] Migrate to find_spec
---
imdb/__init__.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: cinemagoer-2023.5.1/imdb/__init__.py
===================================================================
--- cinemagoer-2023.5.1.orig/imdb/__init__.py
+++ cinemagoer-2023.5.1/imdb/__init__.py
@@ -32,7 +32,7 @@ VERSION = __version__
import os
import sys
-from pkgutil import find_loader
+from importlib.util import find_spec
from types import FunctionType, MethodType
from imdb import Character, Company, Movie, Person
@@ -214,9 +214,9 @@ Cinemagoer = IMDb
def available_access_systems():
"""Return the list of available data access systems."""
asList = []
- if find_loader('imdb.parser.http') is not None:
+ if find_spec('imdb.parser.http') is not None:
asList.append('http')
- if find_loader('imdb.parser.sql') is not None:
+ if find_spec('imdb.parser.sql') is not None:
asList.append('sql')
return asList
Index: cinemagoer-2023.5.1/imdb/parser/http/piculet.py
===================================================================
--- cinemagoer-2023.5.1.orig/imdb/parser/http/piculet.py
+++ cinemagoer-2023.5.1/imdb/parser/http/piculet.py
@@ -32,7 +32,7 @@ from argparse import ArgumentParser
from collections import deque
from functools import partial
from operator import itemgetter
-from pkgutil import find_loader
+from importlib.util import find_spec
__version__ = '1.2b1'
@@ -202,7 +202,7 @@ def html_to_xhtml(document, omit_tags=No
# sigalias: XPathResult = Union[Sequence[str], Sequence[Element]]
-_USE_LXML = find_loader('lxml') is not None
+_USE_LXML = find_spec('lxml') is not None
if _USE_LXML:
from lxml import etree as ElementTree
from lxml.etree import Element