Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-guessit for openSUSE:Factory 
checked in at 2026-11-20 14:49:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-guessit (Old)
 and      /work/SRC/openSUSE:Factory/.python-guessit.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-guessit"

Fri Nov 20 14:49:21 2026 rev:33 rq:1398926 version:4.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-guessit/python-guessit.changes    
2026-11-19 16:57:22.931549050 +0100
+++ /work/SRC/openSUSE:Factory/.python-guessit.new.1251/python-guessit.changes  
2026-11-20 14:52:04.485961738 +0100
@@ -1,0 +2,11 @@
+Fri Nov 20 08:17:23 UTC 2026 - Luigi Baldoni <[email protected]>
+
+- Update to version 4.5.4
+  Bug Fixes:
+  * cli: Drop the undeclared six import in jsonutils
+  * episodes: Keep a number ending the title before a creditless
+    opening/ending
+  * language: Recognize the VOF and VF2 French language tags
+- Drop remove-six.patch (merged upstream)
+
+-------------------------------------------------------------------

Old:
----
  guessit-4.5.3.tar.gz
  remove-six.patch

New:
----
  guessit-4.5.4.tar.gz

----------(Old B)----------
  Old:  * language: Recognize the VOF and VF2 French language tags
- Drop remove-six.patch (merged upstream)
----------(Old E)----------

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

Other differences:
------------------
++++++ python-guessit.spec ++++++
--- /var/tmp/diff_new_pack.P4KGgj/_old  2026-11-20 14:52:05.759015614 +0100
+++ /var/tmp/diff_new_pack.P4KGgj/_new  2026-11-20 14:52:05.760015657 +0100
@@ -24,15 +24,13 @@
 %bcond_with libalternatives
 %endif
 Name:           python-guessit
-Version:        4.5.3
+Version:        4.5.4
 Release:        0
 Summary:        A library for guessing information from video files
 License:        LGPL-3.0-or-later
 Group:          Development/Languages/Python
 URL:            https://github.com/wackou/guessit
 Source0:        
https://files.pythonhosted.org/packages/source/g/guessit/guessit-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM remove-six.patch
-Patch0:         remove-six.patch
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module babelfish >= 0.6.0}
 BuildRequires:  %{python_module base >= 3.10}

++++++ guessit-4.5.3.tar.gz -> guessit-4.5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/CHANGELOG.md 
new/guessit-4.5.4/CHANGELOG.md
--- old/guessit-4.5.3/CHANGELOG.md      2020-02-02 01:00:00.000000000 +0100
+++ new/guessit-4.5.4/CHANGELOG.md      2020-02-02 01:00:00.000000000 +0100
@@ -2,6 +2,20 @@
 
 <!-- version list -->
 
+## v4.5.4 (2026-11-19)
+
+### Bug Fixes
+
+- **cli**: Drop the undeclared six import in jsonutils
+  
([`20aea27`](https://github.com/guessit-io/guessit/commit/20aea273f84bee8c921912359e1e3c30cbeaf629))
+
+- **episodes**: Keep a number ending the title before a creditless 
opening/ending
+  
([`1244783`](https://github.com/guessit-io/guessit/commit/12447837c1bf21599ca89110194a0452db85af02))
+
+- **language**: Recognize the VOF and VF2 French language tags
+  
([`4cb3ffc`](https://github.com/guessit-io/guessit/commit/4cb3ffcda850d685a4d85662a464e815598c1f3f))
+
+
 ## v4.5.3 (2026-11-18)
 
 ### Bug Fixes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/PKG-INFO new/guessit-4.5.4/PKG-INFO
--- old/guessit-4.5.3/PKG-INFO  2020-02-02 01:00:00.000000000 +0100
+++ new/guessit-4.5.4/PKG-INFO  2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.5
 Name: guessit
-Version: 4.5.3
+Version: 4.5.4
 Summary: GuessIt - a library for guessing information from video filenames.
 Project-URL: Homepage, https://guessit-io.github.io/guessit
 Project-URL: Repository, https://github.com/guessit-io/guessit
@@ -106,6 +106,20 @@
 
 <!-- version list -->
 
+## v4.5.4 (2026-11-19)
+
+### Bug Fixes
+
+- **cli**: Drop the undeclared six import in jsonutils
+  
([`20aea27`](https://github.com/guessit-io/guessit/commit/20aea273f84bee8c921912359e1e3c30cbeaf629))
+
+- **episodes**: Keep a number ending the title before a creditless 
opening/ending
+  
([`1244783`](https://github.com/guessit-io/guessit/commit/12447837c1bf21599ca89110194a0452db85af02))
+
+- **language**: Recognize the VOF and VF2 French language tags
+  
([`4cb3ffc`](https://github.com/guessit-io/guessit/commit/4cb3ffcda850d685a4d85662a464e815598c1f3f))
+
+
 ## v4.5.3 (2026-11-18)
 
 ### Bug Fixes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/__version__.py 
new/guessit-4.5.4/guessit/__version__.py
--- old/guessit-4.5.3/guessit/__version__.py    2020-02-02 01:00:00.000000000 
+0100
+++ new/guessit-4.5.4/guessit/__version__.py    2020-02-02 01:00:00.000000000 
+0100
@@ -4,4 +4,4 @@
 """
 
 # pragma: no cover
-__version__ = "4.5.3"
+__version__ = "4.5.4"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/config/options.json 
new/guessit-4.5.4/guessit/config/options.json
--- old/guessit-4.5.3/guessit/config/options.json       2020-02-02 
01:00:00.000000000 +0100
+++ new/guessit-4.5.4/guessit/config/options.json       2020-02-02 
01:00:00.000000000 +0100
@@ -397,7 +397,9 @@
           "vf",
           "vff",
           "vfi",
-          "vfq"
+          "vfq",
+          "vof",
+          "vf2"
         ],
         "swe": [
           "se"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/jsonutils.py 
new/guessit-4.5.4/guessit/jsonutils.py
--- old/guessit-4.5.3/guessit/jsonutils.py      2020-02-02 01:00:00.000000000 
+0100
+++ new/guessit-4.5.4/guessit/jsonutils.py      2020-02-02 01:00:00.000000000 
+0100
@@ -7,7 +7,6 @@
 from typing import Any
 
 from rebulk.match import Match
-from six import text_type
 
 
 class GuessitEncoder(json.JSONEncoder):
@@ -19,6 +18,6 @@
         if isinstance(o, Match):
             return o.advanced  # type: ignore[attr-defined]
         if hasattr(o, "name"):  # Babelfish languages/countries long name
-            return text_type(o.name)
+            return str(o.name)
         # pragma: no cover
-        return text_type(o)
+        return str(o)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/rules/properties/episodes.py 
new/guessit-4.5.4/guessit/rules/properties/episodes.py
--- old/guessit-4.5.3/guessit/rules/properties/episodes.py      2020-02-02 
01:00:00.000000000 +0100
+++ new/guessit-4.5.4/guessit/rules/properties/episodes.py      2020-02-02 
01:00:00.000000000 +0100
@@ -44,6 +44,7 @@
     "九": 9,
 }
 
+_CREDITS_VALUES = ("Opening Credits", "Ending Credits")
 _SEPS_RE = re.compile(rf"[{re.escape(seps)}]+")
 
 # ASCII digits or Han numerals up to 99 (十一 -> 11, 二十三 -> 23, single digit 
otherwise).
@@ -743,7 +744,7 @@
         if matches.named("version") or matches.named("crc32"):
             return True
 
-        if matches.named("other", predicate=lambda m: m.value in ("Opening 
Credits", "Ending Credits")):
+        if matches.named("other", predicate=lambda m: m.value in 
_CREDITS_VALUES):
             return True
 
         for group in matches.markers.named("group"):
@@ -1518,6 +1519,11 @@
 
     Both checks run in sequence so the result doesn't depend on whether the 
title digit was
     matched as an episode, which only happens when the type is forced to 
episode.
+
+    A number glued to the title and followed by a dash then a creditless 
opening/ending marker
+    ends the title (86 - NCOP01, Mob Psycho 100 - NCED01): the marker holds 
the episode slot, so
+    the number has no episode to number. A number behind its own dash (Show - 
12 - NCED) keeps
+    the episode slot.
     """
 
     priority = 64
@@ -1536,7 +1542,8 @@
 
         episode_numbers = sorted(episode_numbers, key=lambda m: m.value)
 
-        outliers: list[Match] = []
+        outliers: list[Match] = [match for match in episode_numbers if 
self._ends_title_before_credits(matches, match)]
+        episode_numbers = [match for match in episode_numbers if match not in 
outliers]
         if self._is_title_digit(episode_numbers):
             outliers.append(episode_numbers.pop(0))
         if (
@@ -1554,6 +1561,19 @@
         return ret
 
     @staticmethod
+    def _ends_title_before_credits(matches: Matches, episode: Match) -> bool:
+        input_string = episode.input_string or ""
+        credits = matches.next(episode, predicate=lambda m: m.name == "other" 
and m.value in _CREDITS_VALUES, index=0)
+        if not credits:
+            return False
+        gap = input_string[episode.end : credits.start]
+        if gap.strip(seps) or "-" not in gap:
+            return False
+        filepart = matches.markers.at_match(episode, lambda marker: 
marker.name == "path", 0)
+        before = input_string[filepart.start if filepart else 0 : 
episode.start]
+        return not before.rstrip(seps.replace("-", "")).endswith("-")
+
+    @staticmethod
     def _is_title_digit(episode_numbers: list[Match]) -> bool:
         if len(episode_numbers) < 2:
             return False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/test/episodes.yml 
new/guessit-4.5.4/guessit/test/episodes.yml
--- old/guessit-4.5.3/guessit/test/episodes.yml 2020-02-02 01:00:00.000000000 
+0100
+++ new/guessit-4.5.4/guessit/test/episodes.yml 2020-02-02 01:00:00.000000000 
+0100
@@ -626,6 +626,27 @@
   video_codec: H.264
   other: Micro HD
 
+# VOF (original French version) and VF2 (both French dubs) are French language 
tags (#1001)
+? Lupin.S04E07.VOF.1080p.WEB.EAC3.Atmos.5.1.H265-SUPPLY
+: title: Lupin
+  season: 4
+  episode: 7
+  language: fr
+  screen_size: 1080p
+  source: Web
+  release_group: SUPPLY
+  -episode_title: VOF
+
+? 
Le.Seigneur.des.anneaux.Les.Anneaux.de.pouvoir.2022.S03E01.REPACK.MULTi.VF2.2160p.DV.HDR10P.WEB.EAC3.5.1.Atmos.H265-FRQC
+: title: Le Seigneur des anneaux Les Anneaux de pouvoir
+  year: 2022
+  season: 3
+  episode: 1
+  language: [mul, fr]
+  screen_size: 2160p
+  release_group: FRQC
+  -episode_title: MULTi VF2
+
 ? Sleepy.Hollow.S01E09.720p.WEB-DL.DD5.1.H.264-BP.mkv
 : episode: 9
   video_codec: H.264
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/test/movies.yml 
new/guessit-4.5.4/guessit/test/movies.yml
--- old/guessit-4.5.3/guessit/test/movies.yml   2020-02-02 01:00:00.000000000 
+0100
+++ new/guessit-4.5.4/guessit/test/movies.yml   2020-02-02 01:00:00.000000000 
+0100
@@ -784,6 +784,28 @@
   title: Underworld Quadrilogie
   video_codec: H.264
 
+# VOF (original French version) and VF2 (both French dubs) are French language 
tags (#1001)
+? Movie.2020.VOF.1080p.WEB.H264-GRP
+: title: Movie
+  year: 2020
+  language: fr
+  release_group: GRP
+  -alternative_title: VOF
+
+? Movie.2020.MULTi.VF2.1080p.WEB.H264-GRP
+: title: Movie
+  year: 2020
+  language: [mul, fr]
+  release_group: GRP
+  -alternative_title: MULTi VF2
+
+? Movie.2020.VF2.1080p.WEB.H264-GRP
+: title: Movie
+  year: 2020
+  language: fr
+  release_group: GRP
+  -alternative_title: VF2
+
 ? A Bout Portant (The Killers).PAL.Multi.DVD-R-KZ
 : source: DVD
   language: mul
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/test/test_main.py 
new/guessit-4.5.4/guessit/test/test_main.py
--- old/guessit-4.5.3/guessit/test/test_main.py 2020-02-02 01:00:00.000000000 
+0100
+++ new/guessit-4.5.4/guessit/test/test_main.py 2020-02-02 01:00:00.000000000 
+0100
@@ -118,3 +118,15 @@
     data = json.loads(outerr.out)
 
     assert "input_string" not in data
+
+
+def test_jsonutils_does_not_need_six(monkeypatch: pytest.MonkeyPatch) -> None:
+    """The CLI imports guessit.jsonutils, so it must work without six 
(#991)."""
+    import importlib
+
+    monkeypatch.setitem(sys.modules, "six", None)
+    monkeypatch.delitem(sys.modules, "guessit.jsonutils", raising=False)
+
+    jsonutils = importlib.import_module("guessit.jsonutils")
+
+    assert json.dumps({"x": 1}, cls=jsonutils.GuessitEncoder) == '{"x": 1}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/guessit/test/various.yml 
new/guessit-4.5.4/guessit/test/various.yml
--- old/guessit-4.5.3/guessit/test/various.yml  2020-02-02 01:00:00.000000000 
+0100
+++ new/guessit-4.5.4/guessit/test/various.yml  2020-02-02 01:00:00.000000000 
+0100
@@ -1489,6 +1489,37 @@
   episode: 12
   release_group: VCB-Studio
 
+# A number ending the title before a creditless opening/ending stays in the 
title (#996)
+? '[DB]86_-_NCED01_(10bit_BD1080p_x265).mkv'
+: title: '86'
+  other: [Ending Credits, Creditless]
+  credits_number: '1'
+  -episode: 86
+
+? '[DB]86_-_NCOP01_(10bit_BD1080p_x265).mkv'
+: title: '86'
+  other: [Opening Credits, Creditless]
+  credits_number: '1'
+  -episode: 86
+
+? '[DB]Mob Psycho 100_-_NCED01_(10bit_BD1080p_x265).mkv'
+: title: Mob Psycho 100
+  other: [Ending Credits, Creditless]
+  credits_number: '1'
+  -episode: 100
+
+? '[SubsPlease] 86 - NCOP (1080p).mkv'
+: title: '86'
+  other: [Opening Credits, Creditless]
+  screen_size: 1080p
+  release_group: SubsPlease
+  -episode: 86
+
+? '[Group] Show - 12 - NCED (1080p).mkv'
+: title: Show
+  episode: 12
+  other: [Ending Credits, Creditless]
+
 # The name "Ed" must not be captured as an Ending Credits token 
(case-sensitive).
 ? Ed.S01E01.1080p.WEB-DL-GRP.mkv
 : title: Ed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/pyproject.toml 
new/guessit-4.5.4/pyproject.toml
--- old/guessit-4.5.3/pyproject.toml    2020-02-02 01:00:00.000000000 +0100
+++ new/guessit-4.5.4/pyproject.toml    2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 [project]
 name = "guessit"
-version = "4.5.3"
+version = "4.5.4"
 description = "GuessIt - a library for guessing information from video 
filenames."
 dynamic = ["readme"]
 license = "LGPL-3.0-or-later"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guessit-4.5.3/uv.lock new/guessit-4.5.4/uv.lock
--- old/guessit-4.5.3/uv.lock   2020-02-02 01:00:00.000000000 +0100
+++ new/guessit-4.5.4/uv.lock   2020-02-02 01:00:00.000000000 +0100
@@ -471,7 +471,7 @@
 
 [[package]]
 name = "guessit"
-version = "4.5.3"
+version = "4.5.4"
 source = { editable = "." }
 dependencies = [
     { name = "babelfish" },
@@ -1583,11 +1583,11 @@
 
 [[package]]
 name = "setuptools"
-version = "83.0.0"
+version = "84.1.0"
 source = { registry = "https://pypi.org/simple"; }
-sdist = { url = 
"https://files.pythonhosted.org/packages/34/26/f5d29e25ffdb535afef2d35cdb55b325298f96debd670da4c325e08d70f4/setuptools-83.0.0.tar.gz";,
 hash = 
"sha256:025bccbbf0fa05b6192bc64ae1e7b16e001fd6d6d4d5de03c97b1c1ade523bef", size 
= 1154254, upload-time = "2026-07-04T15:31:22.699Z" }
+sdist = { url = 
"https://files.pythonhosted.org/packages/73/eb/7e5f628ee2eb168fecbf8026de7856b2543d6d609cc85f086b9a91ac93d6/setuptools-84.1.0.tar.gz";,
 hash = 
"sha256:23657205b63d4d31395ab917815247f694aafad28cd21316bf5fd45a51048ea0", size 
= 1171783, upload-time = "2026-10-19T20:11:43.489Z" }
 wheels = [
-    { url = 
"https://files.pythonhosted.org/packages/5d/40/e1e72872c6354b306daef1703549e8e83b4d43cfea356311bf722a043752/setuptools-83.0.0-py3-none-any.whl";,
 hash = 
"sha256:29b23c360f22f414dc7336bb39178cc7bcbf6021ed2733cde173f09dba19abb3", size 
= 1008090, upload-time = "2026-07-04T15:31:20.885Z" },
+    { url = 
"https://files.pythonhosted.org/packages/18/02/b4bbb90f8f29e334898ff45c6d9b1fffaa6f378017052b3023a06262b5f7/setuptools-84.1.0-py3-none-any.whl";,
 hash = 
"sha256:5231689c6ac8156cd155cfb98c3fd6fb252c3e7e9bd3d78b64d3c55f132624c9", size 
= 819380, upload-time = "2026-10-19T20:11:41.684Z" },
 ]
 
 [[package]]

Reply via email to