Hello community,
here is the log from the commit of package python-pathlib2 for openSUSE:Factory checked in at 2019-01-08 12:16:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pathlib2 (Old)
and /work/SRC/openSUSE:Factory/.python-pathlib2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pathlib2"
Tue Jan 8 12:16:48 2019 rev:7 rq:662391 version:2.3.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes 2018-11-14 14:41:14.582835149 +0100
+++ /work/SRC/openSUSE:Factory/.python-pathlib2.new.28833/python-pathlib2.changes 2019-01-08 12:16:48.241019941 +0100
@@ -1,0 +2,16 @@
+Wed Jan 2 09:20:35 UTC 2019 - Tomáš Chvátal
+
+- Always pull in python2-scandir as there is no core functionality
+
+-------------------------------------------------------------------
+Fri Dec 28 13:08:53 UTC 2018 - Martin Pluskal
+
+- Update to version 2.3.3:
+ * Bring back old deprecated dependency syntax to ensure
+ compatibility with older systems (see issue #46).
+ * Drop Python 3.3 support, as scandir no longer supports it.
+ * Add Python 3.7 support.
+- Update conditionals for tests and dependencies to work on older
+ SLE/openSUSE releases as well
+
+-------------------------------------------------------------------
Old:
----
pathlib2-2.3.2.tar.gz
New:
----
pathlib2-2.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pathlib2.spec ++++++
--- /var/tmp/diff_new_pack.aDwCDg/_old 2019-01-08 12:16:48.669019539 +0100
+++ /var/tmp/diff_new_pack.aDwCDg/_new 2019-01-08 12:16:48.673019535 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pathlib2
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-pathlib2
-Version: 2.3.2
+Version: 2.3.3
Release: 0
Summary: Object-oriented filesystem paths
License: MIT
@@ -29,12 +29,13 @@
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: python-rpm-macros
-BuildRequires: python3-testsuite
Requires: python-six
BuildArch: noarch
-%if %{python3_version_nodots} < 35
+%if 0%{?suse_version} >= 1500
+BuildRequires: python3-testsuite
+%else
BuildRequires: python3-scandir
-Requires: python3-scandir
+Requires: python-scandir
%endif
%ifpython2
BuildRequires: python2-scandir
@@ -60,8 +61,11 @@
%check
# nothing provides test module in python2
+# test module is not available in SLE-12
export PYTHONPATH="$PWD"
+%if 0%{?suse_version} >= 1500
python3 tests/test_pathlib2.py
+%endif
%files %{python_files}
%license LICENSE.rst
++++++ pathlib2-2.3.2.tar.gz -> pathlib2-2.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pathlib2-2.3.2/CHANGELOG.rst new/pathlib2-2.3.3/CHANGELOG.rst
--- old/pathlib2-2.3.2/CHANGELOG.rst 2018-04-19 11:54:37.000000000 +0200
+++ new/pathlib2-2.3.3/CHANGELOG.rst 2018-11-29 13:47:52.000000000 +0100
@@ -1,6 +1,16 @@
History
-------
+Version 2.3.3
+^^^^^^^^^^^^^
+
+- Bring back old deprecated dependency syntax to ensure compatibility
+ with older systems (see issue #46).
+
+- Drop Python 3.3 support, as scandir no longer supports it.
+
+- Add Python 3.7 support.
+
Version 2.3.2
^^^^^^^^^^^^^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pathlib2-2.3.2/PKG-INFO new/pathlib2-2.3.3/PKG-INFO
--- old/pathlib2-2.3.2/PKG-INFO 2018-04-19 11:58:55.000000000 +0200
+++ new/pathlib2-2.3.3/PKG-INFO 2018-11-29 13:48:26.000000000 +0100
@@ -1,13 +1,12 @@
Metadata-Version: 1.1
Name: pathlib2
-Version: 2.3.2
+Version: 2.3.3
Summary: Object-oriented filesystem paths
Home-page: https://pypi.python.org/pypi/pathlib2/
Author: Matthias C. M. Troffaes
Author-email: matthias.troffaes@gmail.com
License: MIT
Download-URL: https://pypi.python.org/pypi/pathlib2/
-Description-Content-Type: UNKNOWN
Description: The `old pathlib https://bitbucket.org/pitrou/pathlib`_
module on bitbucket is in bugfix-only mode.
The goal of pathlib2 is to provide a backport of
@@ -64,9 +63,9 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.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: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Filesystems
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pathlib2-2.3.2/VERSION new/pathlib2-2.3.3/VERSION
--- old/pathlib2-2.3.2/VERSION 2018-04-19 11:54:04.000000000 +0200
+++ new/pathlib2-2.3.3/VERSION 2018-11-29 13:47:52.000000000 +0100
@@ -1 +1 @@
-2.3.2
+2.3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pathlib2-2.3.2/pathlib2.egg-info/PKG-INFO new/pathlib2-2.3.3/pathlib2.egg-info/PKG-INFO
--- old/pathlib2-2.3.2/pathlib2.egg-info/PKG-INFO 2018-04-19 11:58:55.000000000 +0200
+++ new/pathlib2-2.3.3/pathlib2.egg-info/PKG-INFO 2018-11-29 13:48:26.000000000 +0100
@@ -1,13 +1,12 @@
Metadata-Version: 1.1
Name: pathlib2
-Version: 2.3.2
+Version: 2.3.3
Summary: Object-oriented filesystem paths
Home-page: https://pypi.python.org/pypi/pathlib2/
Author: Matthias C. M. Troffaes
Author-email: matthias.troffaes@gmail.com
License: MIT
Download-URL: https://pypi.python.org/pypi/pathlib2/
-Description-Content-Type: UNKNOWN
Description: The `old pathlib https://bitbucket.org/pitrou/pathlib`_
module on bitbucket is in bugfix-only mode.
The goal of pathlib2 is to provide a backport of
@@ -64,9 +63,9 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.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: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Filesystems
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pathlib2-2.3.2/pathlib2.egg-info/requires.txt new/pathlib2-2.3.3/pathlib2.egg-info/requires.txt
--- old/pathlib2-2.3.2/pathlib2.egg-info/requires.txt 2018-04-19 11:58:55.000000000 +0200
+++ new/pathlib2-2.3.3/pathlib2.egg-info/requires.txt 2018-11-29 13:48:26.000000000 +0100
@@ -1,4 +1,4 @@
six
-[:python_version < "3.5"]
+[:python_version<"3.5"]
scandir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pathlib2-2.3.2/setup.py new/pathlib2-2.3.3/setup.py
--- old/pathlib2-2.3.2/setup.py 2018-04-19 11:53:17.000000000 +0200
+++ new/pathlib2-2.3.3/setup.py 2018-11-29 13:47:52.000000000 +0100
@@ -33,17 +33,17 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
'Topic :: System :: Filesystems',
],
download_url='https://pypi.python.org/pypi/pathlib2/',
url='https://pypi.python.org/pypi/pathlib2/',
- install_requires=[
- 'six',
- 'scandir;python_version<"3.5"',
- ],
+ install_requires=['six'],
+ extras_require={
+ ':python_version<"3.5"': ['scandir'],
+ },
)