Hello community,
here is the log from the commit of package python-guessit for
openSUSE:Leap:15.2 checked in at 2020-05-13 13:47:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-guessit (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-guessit.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-guessit"
Wed May 13 13:47:07 2020 rev:12 rq:799907 version:3.1.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-guessit/python-guessit.changes
2020-01-15 15:49:10.903451342 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-guessit.new.2738/python-guessit.changes
2020-05-13 13:47:09.057283871 +0200
@@ -1,0 +2,7 @@
+Sun May 3 13:55:37 UTC 2020 - Luigi Baldoni <[email protected]>
+
+- Update to version 3.1.1
+ * Drop python `3.4` support
+ * Use SafeLoader with `yaml.load()`
+
+-------------------------------------------------------------------
Old:
----
guessit-3.1.0.tar.gz
New:
----
guessit-3.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-guessit.spec ++++++
--- /var/tmp/diff_new_pack.6AutNt/_old 2020-05-13 13:47:10.265286471 +0200
+++ /var/tmp/diff_new_pack.6AutNt/_new 2020-05-13 13:47:10.269286479 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-guessit
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# 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 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-guessit
-Version: 3.1.0
+Version: 3.1.1
Release: 0
Summary: A library for guessing information from video files
License: LGPL-3.0-only
@@ -48,7 +48,7 @@
and TV shows episodes.
%prep
-%setup -q -n guessit-%{version}
+%autosetup -n guessit-%{version}
# Remove shebang from non-executable files
for i in
{'audio_codec','bit_rate','bonus','cds','container','country','crc','date','edition','episodes','episode_title','film','__init__','language','mimetype','other','part','release_group','screen_size','size','source','streaming_service','title','type','video_codec','website'};
do
sed -i -e "1d" "guessit/rules/properties/$i.py"
++++++ guessit-3.1.0.tar.gz -> guessit-3.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/HISTORY.rst
new/guessit-3.1.1/HISTORY.rst
--- old/guessit-3.1.0/HISTORY.rst 2019-09-02 22:11:13.000000000 +0200
+++ new/guessit-3.1.1/HISTORY.rst 2020-05-03 15:30:17.000000000 +0200
@@ -1,6 +1,13 @@
History
=======
+3.1.1 (2020-05-03)
+------------------
+
+- Drop python `3.4` support
+- Use SafeLoader with `yaml.load()`
+
+
3.1.0 (2019-09-02)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/PKG-INFO new/guessit-3.1.1/PKG-INFO
--- old/guessit-3.1.0/PKG-INFO 2019-09-02 22:11:14.000000000 +0200
+++ new/guessit-3.1.1/PKG-INFO 2020-05-03 15:30:18.014332300 +0200
@@ -1,12 +1,12 @@
Metadata-Version: 2.1
Name: guessit
-Version: 3.1.0
+Version: 3.1.1
Summary: GuessIt - a library for guessing information from video filenames.
Home-page: http://guessit.readthedocs.org/
Author: Rémi Alvergnat
Author-email: [email protected]
License: LGPLv3
-Download-URL:
https://pypi.python.org/packages/source/g/guessit/guessit-3.1.0.tar.gz
+Download-URL:
https://pypi.python.org/packages/source/g/guessit/guessit-3.1.1.tar.gz
Description: GuessIt
=======
@@ -210,6 +210,13 @@
History
=======
+ 3.1.1 (2020-05-03)
+ ------------------
+
+ - Drop python `3.4` support
+ - Use SafeLoader with `yaml.load()`
+
+
3.1.0 (2019-09-02)
------------------
@@ -629,11 +636,11 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Multimedia
Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Provides-Extra: dev
Provides-Extra: test
+Provides-Extra: dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/guessit/__version__.py
new/guessit-3.1.1/guessit/__version__.py
--- old/guessit-3.1.0/guessit/__version__.py 2019-09-02 22:11:13.000000000
+0200
+++ new/guessit-3.1.1/guessit/__version__.py 2020-05-03 15:30:17.000000000
+0200
@@ -4,4 +4,4 @@
Version module
"""
# pragma: no cover
-__version__ = '3.1.0'
+__version__ = '3.1.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/guessit/backports.py
new/guessit-3.1.1/guessit/backports.py
--- old/guessit-3.1.0/guessit/backports.py 2019-09-02 22:11:13.000000000
+0200
+++ new/guessit-3.1.1/guessit/backports.py 2020-05-03 15:30:17.000000000
+0200
@@ -4,7 +4,7 @@
Backports
"""
# pragma: no-cover
-# pylint: disabled
+# pylint: skip-file
def cmp_to_key(mycmp):
"""functools.cmp_to_key backport"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/guessit/options.py
new/guessit-3.1.1/guessit/options.py
--- old/guessit-3.1.0/guessit/options.py 2019-09-02 22:11:13.000000000
+0200
+++ new/guessit-3.1.1/guessit/options.py 2020-05-03 15:30:17.000000000
+0200
@@ -252,7 +252,7 @@
try:
import yaml
with open(filepath) as config_file_data:
- return yaml.load(config_file_data)
+ return yaml.load(config_file_data, yaml.SafeLoader)
except ImportError: # pragma: no cover
raise ConfigurationException('Configuration file extension is not
supported. '
'PyYAML should be installed to
support "%s" file' % (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/guessit-3.1.0/guessit/rules/properties/screen_size.py
new/guessit-3.1.1/guessit/rules/properties/screen_size.py
--- old/guessit-3.1.0/guessit/rules/properties/screen_size.py 2019-09-02
22:11:13.000000000 +0200
+++ new/guessit-3.1.1/guessit/rules/properties/screen_size.py 2020-05-03
15:30:17.000000000 +0200
@@ -24,8 +24,8 @@
:return: Created Rebulk object
:rtype: Rebulk
"""
- interlaced = frozenset({res for res in config['interlaced']})
- progressive = frozenset({res for res in config['progressive']})
+ interlaced = frozenset(config['interlaced'])
+ progressive = frozenset(config['progressive'])
frame_rates = [re.escape(rate) for rate in config['frame_rates']]
min_ar = config['min_ar']
max_ar = config['max_ar']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/guessit-3.1.0/guessit/test/enable_disable_properties.yml
new/guessit-3.1.1/guessit/test/enable_disable_properties.yml
--- old/guessit-3.1.0/guessit/test/enable_disable_properties.yml
2019-09-02 22:11:13.000000000 +0200
+++ new/guessit-3.1.1/guessit/test/enable_disable_properties.yml
2020-05-03 15:30:17.000000000 +0200
@@ -286,9 +286,9 @@
: options: --exclude website
-website: wawa.co.uk
-? movie.mkv
+? movie.mp4
: options: --exclude mimetype
- -mimetype: video/x-matroska
+ -mimetype: video/mp4
? another movie.mkv
: options: --exclude container
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/guessit/test/episodes.yml
new/guessit-3.1.1/guessit/test/episodes.yml
--- old/guessit-3.1.0/guessit/test/episodes.yml 2019-09-02 22:11:13.000000000
+0200
+++ new/guessit-3.1.1/guessit/test/episodes.yml 2020-05-03 15:30:17.000000000
+0200
@@ -4667,15 +4667,15 @@
mimetype: video/mp4
type: episode
-? About.Time.E01.1080p.VIKI.WEB-DL-BLUEBERRY.mkv
+? About.Time.E01.1080p.VIKI.WEB-DL-BLUEBERRY.mp4
: title: About Time
episode: 1
screen_size: 1080p
streaming_service: Viki
source: Web
release_group: BLUEBERRY
- container: mkv
- mimetype: video/x-matroska
+ container: mp4
+ mimetype: video/mp4
type: episode
? Eyes.Of.Dawn.1991.E01.480p.MBCVOD.AAC.x264-NOGPR.mp4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/guessit/yamlutils.py
new/guessit-3.1.1/guessit/yamlutils.py
--- old/guessit-3.1.0/guessit/yamlutils.py 2019-09-02 22:11:13.000000000
+0200
+++ new/guessit-3.1.1/guessit/yamlutils.py 2020-05-03 15:30:17.000000000
+0200
@@ -15,14 +15,14 @@
from .rules.common.quantity import BitRate, FrameRate, Size
-class OrderedDictYAMLLoader(yaml.Loader):
+class OrderedDictYAMLLoader(yaml.SafeLoader):
"""
A YAML loader that loads mappings into ordered dictionaries.
From https://gist.github.com/enaeseth/844388
"""
def __init__(self, *args, **kwargs):
- yaml.Loader.__init__(self, *args, **kwargs)
+ yaml.SafeLoader.__init__(self, *args, **kwargs)
self.add_constructor(u'tag:yaml.org,2002:map',
type(self).construct_yaml_map)
self.add_constructor(u'tag:yaml.org,2002:omap',
type(self).construct_yaml_map)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/guessit.egg-info/PKG-INFO
new/guessit-3.1.1/guessit.egg-info/PKG-INFO
--- old/guessit-3.1.0/guessit.egg-info/PKG-INFO 2019-09-02 22:11:14.000000000
+0200
+++ new/guessit-3.1.1/guessit.egg-info/PKG-INFO 2020-05-03 15:30:17.000000000
+0200
@@ -1,12 +1,12 @@
Metadata-Version: 2.1
Name: guessit
-Version: 3.1.0
+Version: 3.1.1
Summary: GuessIt - a library for guessing information from video filenames.
Home-page: http://guessit.readthedocs.org/
Author: Rémi Alvergnat
Author-email: [email protected]
License: LGPLv3
-Download-URL:
https://pypi.python.org/packages/source/g/guessit/guessit-3.1.0.tar.gz
+Download-URL:
https://pypi.python.org/packages/source/g/guessit/guessit-3.1.1.tar.gz
Description: GuessIt
=======
@@ -210,6 +210,13 @@
History
=======
+ 3.1.1 (2020-05-03)
+ ------------------
+
+ - Drop python `3.4` support
+ - Use SafeLoader with `yaml.load()`
+
+
3.1.0 (2019-09-02)
------------------
@@ -629,11 +636,11 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Multimedia
Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Provides-Extra: dev
Provides-Extra: test
+Provides-Extra: dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/pylintrc new/guessit-3.1.1/pylintrc
--- old/guessit-3.1.0/pylintrc 2019-09-02 22:11:13.000000000 +0200
+++ new/guessit-3.1.1/pylintrc 2020-05-03 15:30:17.000000000 +0200
@@ -68,7 +68,7 @@
unpacking-in-except,import-star-module-level,buffer-builtin,round-builtin,file-builtin,reload-builtin,old-division,
apply-builtin,oct-method,nonzero-method,basestring-builtin,raising-string,too-few-public-methods,too-many-arguments,
too-many-instance-attributes,bad-builtin,too-many-ancestors,too-few-format-args,fixme,duplicate-code,
- deprecated-lambda,too-many-nested-blocks,useless-object-inheritance,
+
deprecated-lambda,too-many-nested-blocks,useless-object-inheritance,import-outside-toplevel,
I
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/setup.py new/guessit-3.1.1/setup.py
--- old/guessit-3.1.0/setup.py 2019-09-02 22:11:13.000000000 +0200
+++ new/guessit-3.1.1/setup.py 2020-05-03 15:30:17.000000000 +0200
@@ -47,10 +47,10 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
'Topic :: Multimedia',
'Topic :: Software Development :: Libraries :: Python
Modules'
],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/guessit-3.1.0/tox.ini new/guessit-3.1.1/tox.ini
--- old/guessit-3.1.0/tox.ini 2019-09-02 22:11:13.000000000 +0200
+++ new/guessit-3.1.1/tox.ini 2020-05-03 15:30:17.000000000 +0200
@@ -1,10 +1,5 @@
[tox]
-envlist = py27,py34,py35,py36,py37,py38,pypy2,pypy
-
-[testenv:py38]
-commands =
- {envbindir}/pip install -e .[dev]
- {envpython} setup.py test
+envlist = py27,py35,py36,py37,py38,pypy2,pypy
[testenv]
commands =