Hello community,

here is the log from the commit of package python-pytz for openSUSE:Factory 
checked in at 2017-11-09 13:45:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytz (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytz"

Thu Nov  9 13:45:12 2017 rev:26 rq:538429 version:2017.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytz/python-pytz.changes  2017-07-08 
12:27:24.505620048 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytz.new/python-pytz.changes     
2017-11-09 13:45:11.898683660 +0100
@@ -1,0 +2,15 @@
+Thu Nov  2 03:10:52 UTC 2017 - [email protected]
+
+- updated system_zoneinfo.patch
+
+- update to version 2017.3:
+  * PYTZ_TZDATADIR environment variable override of database location
+  * Allow pickles from Python2 to be unpickled with Python3
+  * Remove unmaintained CHANGES.txt
+  * Test with Python 3.6
+  * Detect compiled tzfiles by sniffing magic
+  * Squashed 'tz/' changes from f8ebe3a64..e6ff702de
+  * Be explicit about supported Python versions
+  * Fixed README.txt to not issue warnings.
+
+-------------------------------------------------------------------

Old:
----
  pytz-2017.2.zip
  pytz-2017.2.zip.asc

New:
----
  pytz-2017.3.zip
  pytz-2017.3.zip.asc

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

Other differences:
------------------
++++++ python-pytz.spec ++++++
--- /var/tmp/diff_new_pack.6Y813h/_old  2017-11-09 13:45:13.950608650 +0100
+++ /var/tmp/diff_new_pack.6Y813h/_new  2017-11-09 13:45:13.954608504 +0100
@@ -19,7 +19,7 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytz
-Version:        2017.2
+Version:        2017.3
 Release:        0
 Summary:        World timezone definitions, modern and historical
 License:        MIT


++++++ system_zoneinfo.patch ++++++
--- /var/tmp/diff_new_pack.6Y813h/_old  2017-11-09 13:45:14.018606164 +0100
+++ /var/tmp/diff_new_pack.6Y813h/_new  2017-11-09 13:45:14.018606164 +0100
@@ -2,23 +2,27 @@
 ===================================================================
 --- pytz-2016.10.orig/pytz/__init__.py
 +++ pytz-2016.10/pytz/__init__.py
-@@ -81,19 +81,7 @@ def open_resource(name):
+@@ -87,23 +87,7 @@ def open_resource(name):
      for part in name_parts:
          if part == os.path.pardir or os.path.sep in part:
              raise ValueError('Bad path segment: %r' % part)
--    filename = os.path.join(os.path.dirname(__file__),
--                            'zoneinfo', *name_parts)
--    if not os.path.exists(filename):
--        # http://bugs.launchpad.net/bugs/383171 - we avoid using this
--        # unless absolutely necessary to help when a broken version of
--        # pkg_resources is installed.
--        try:
--            from pkg_resources import resource_stream
--        except ImportError:
--            resource_stream = None
+-    zoneinfo_dir = os.environ.get('PYTZ_TZDATADIR', None)
+-    if zoneinfo_dir != None:
+-        filename = os.path.join(zoneinfo_dir, *name_parts)
+-    else:
+-        filename = os.path.join(os.path.dirname(__file__),
+-                                'zoneinfo', *name_parts)
+-        if not os.path.exists(filename):
+-            # http://bugs.launchpad.net/bugs/383171 - we avoid using this
+-            # unless absolutely necessary to help when a broken version of
+-            # pkg_resources is installed.
+-            try:
+-                from pkg_resources import resource_stream
+-            except ImportError:
+-                resource_stream = None
 -
--        if resource_stream is not None:
--            return resource_stream(__name__, 'zoneinfo/' + name)
+-            if resource_stream is not None:
+-                return resource_stream(__name__, 'zoneinfo/' + name)
 +    filename = os.path.join('/usr/share/zoneinfo', *name_parts)
      return open(filename, 'rb')
  


Reply via email to