Hello community,

here is the log from the commit of package python-atomicwrites for 
openSUSE:Factory checked in at 2020-05-28 09:04:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-atomicwrites (Old)
 and      /work/SRC/openSUSE:Factory/.python-atomicwrites.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-atomicwrites"

Thu May 28 09:04:55 2020 rev:7 rq:802883 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atomicwrites/python-atomicwrites.changes  
2019-11-04 17:08:18.396382930 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-atomicwrites.new.3606/python-atomicwrites.changes
        2020-05-28 09:04:56.487279762 +0200
@@ -1,0 +2,7 @@
+Tue May 12 08:51:32 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 1.4.0:
+  * Update unsupported python versions
+  * use fspath to ensure path is str or bytes
+
+-------------------------------------------------------------------

Old:
----
  atomicwrites-1.3.0.tar.gz

New:
----
  atomicwrites-1.4.0.tar.gz

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

Other differences:
------------------
++++++ python-atomicwrites-doc.spec ++++++
--- /var/tmp/diff_new_pack.7aVZoe/_old  2020-05-28 09:04:57.183281335 +0200
+++ /var/tmp/diff_new_pack.7aVZoe/_new  2020-05-28 09:04:57.183281335 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-atomicwrites-doc
 #
-# 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
@@ -21,12 +21,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-atomicwrites-doc
-Version:        1.3.0
+Version:        1.4.0
 Release:        0
 Summary:        Documentation for the Python atomic write support
 License:        MIT
 Group:          Documentation/HTML
-Url:            https://github.com/untitaker/python-atomicwrites
+URL:            https://github.com/untitaker/python-atomicwrites
 Source:         
https://files.pythonhosted.org/packages/source/a/atomicwrites/atomicwrites-%{version}.tar.gz
 BuildRequires:  %{python_module atomicwrites}
 BuildRequires:  %{python_module pytest}

++++++ python-atomicwrites.spec ++++++
--- /var/tmp/diff_new_pack.7aVZoe/_old  2020-05-28 09:04:57.207281389 +0200
+++ /var/tmp/diff_new_pack.7aVZoe/_new  2020-05-28 09:04:57.211281398 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-atomicwrites
 #
-# 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,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-atomicwrites
-Version:        1.3.0
+Version:        1.4.0
 Release:        0
 Summary:        Atomic file writes for Python
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/untitaker/python-atomicwrites
+URL:            https://github.com/untitaker/python-atomicwrites
 Source:         
https://files.pythonhosted.org/packages/source/a/atomicwrites/atomicwrites-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++++++ atomicwrites-1.3.0.tar.gz -> atomicwrites-1.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/atomicwrites-1.3.0/PKG-INFO 
new/atomicwrites-1.4.0/PKG-INFO
--- old/atomicwrites-1.3.0/PKG-INFO     2019-02-01 11:38:11.000000000 +0100
+++ new/atomicwrites-1.4.0/PKG-INFO     2020-04-28 23:42:41.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: atomicwrites
-Version: 1.3.0
+Version: 1.4.0
 Summary: Atomic file writes.
 Home-page: https://github.com/untitaker/python-atomicwrites
 Author: Markus Unterwaditzer
@@ -138,5 +138,6 @@
 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 :: Implementation :: CPython
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/atomicwrites-1.3.0/atomicwrites/__init__.py 
new/atomicwrites-1.4.0/atomicwrites/__init__.py
--- old/atomicwrites-1.3.0/atomicwrites/__init__.py     2019-02-01 
11:37:52.000000000 +0100
+++ new/atomicwrites-1.4.0/atomicwrites/__init__.py     2020-04-28 
23:39:42.000000000 +0200
@@ -9,7 +9,13 @@
 except ImportError:
     fcntl = None
 
-__version__ = '1.3.0'
+# `fspath` was added in Python 3.6
+try:
+    from os import fspath
+except ImportError:
+    fspath = None
+
+__version__ = '1.4.0'
 
 
 PY2 = sys.version_info[0] == 2
@@ -137,6 +143,10 @@
         if 'w' not in mode:
             raise ValueError('AtomicWriters can only be written to.')
 
+        # Attempt to convert `path` to `str` or `bytes`
+        if fspath is not None:
+            path = fspath(path)
+
         self._path = path
         self._mode = mode
         self._overwrite = overwrite
@@ -165,8 +175,8 @@
                 except Exception:
                     pass
 
-    def get_fileobject(self, suffix="", prefix=tempfile.template, dir=None,
-                       **kwargs):
+    def get_fileobject(self, suffix="", prefix=tempfile.gettempprefix(),
+                       dir=None, **kwargs):
         '''Return the temporary file to use.'''
         if dir is None:
             dir = os.path.normpath(os.path.dirname(self._path))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/atomicwrites-1.3.0/atomicwrites.egg-info/PKG-INFO 
new/atomicwrites-1.4.0/atomicwrites.egg-info/PKG-INFO
--- old/atomicwrites-1.3.0/atomicwrites.egg-info/PKG-INFO       2019-02-01 
11:38:11.000000000 +0100
+++ new/atomicwrites-1.4.0/atomicwrites.egg-info/PKG-INFO       2020-04-28 
23:42:41.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: atomicwrites
-Version: 1.3.0
+Version: 1.4.0
 Summary: Atomic file writes.
 Home-page: https://github.com/untitaker/python-atomicwrites
 Author: Markus Unterwaditzer
@@ -138,5 +138,6 @@
 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 :: Implementation :: CPython
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/atomicwrites-1.3.0/setup.py 
new/atomicwrites-1.4.0/setup.py
--- old/atomicwrites-1.3.0/setup.py     2018-08-24 20:00:55.000000000 +0200
+++ new/atomicwrites-1.4.0/setup.py     2019-09-08 19:04:18.000000000 +0200
@@ -32,6 +32,7 @@
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: Implementation :: CPython',
     ],
     python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',


Reply via email to