Hello community,

here is the log from the commit of package python-PyLaTeX for openSUSE:Factory 
checked in at 2020-09-01 20:10:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyLaTeX (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyLaTeX.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyLaTeX"

Tue Sep  1 20:10:01 2020 rev:4 rq:830973 version:1.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyLaTeX/python-PyLaTeX.changes    
2020-08-03 14:19:16.800733383 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyLaTeX.new.3399/python-PyLaTeX.changes  
2020-09-01 20:10:17.848674609 +0200
@@ -1,0 +2,9 @@
+Tue Sep  1 06:56:57 UTC 2020 - Steve Kowalik <[email protected]>
+
+- Update to 1.3.4:
+  * Use known working versions for Python 3.5 and lower of ordered-set
+    dependency
+  * The 'at' parameter for TikZNode should now work.
+  * Use a different temporary directory per user.
+
+-------------------------------------------------------------------

Old:
----
  PyLaTeX-1.3.2.tar.gz

New:
----
  PyLaTeX-1.3.4.tar.gz

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

Other differences:
------------------
++++++ python-PyLaTeX.spec ++++++
--- /var/tmp/diff_new_pack.Vx7FlS/_old  2020-09-01 20:10:19.076675183 +0200
+++ /var/tmp/diff_new_pack.Vx7FlS/_new  2020-09-01 20:10:19.076675183 +0200
@@ -19,11 +19,10 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-PyLaTeX
-Version:        1.3.2
+Version:        1.3.4
 Release:        0
 Summary:        A Python library for creating LaTeX files and snippets
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/JelteF/PyLaTeX
 Source:         
https://github.com/JelteF/PyLaTeX/archive/v%{version}.tar.gz#/PyLaTeX-%{version}.tar.gz
 # PATCH-FEATURE-UPSTREAM denose.patch gh#JelteF/PyLaTeX#294 [email protected]

++++++ PyLaTeX-1.3.2.tar.gz -> PyLaTeX-1.3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/README.rst new/PyLaTeX-1.3.4/README.rst
--- old/PyLaTeX-1.3.2/README.rst        2020-05-16 01:51:43.000000000 +0200
+++ new/PyLaTeX-1.3.4/README.rst        2020-07-29 20:51:12.000000000 +0200
@@ -11,6 +11,13 @@
 
     pip install pylatex
 
+And then install a relevant LaTeX processor and other dependencies. Examples:
+
+Ubuntu
+~~~~~~~
+    sudo apt-get install texlive-pictures texlive-science \
+    texlive-latex-extra latexmk
+
 Documentation
 -------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/docs/source/changelog.rst 
new/PyLaTeX-1.3.4/docs/source/changelog.rst
--- old/PyLaTeX-1.3.2/docs/source/changelog.rst 2020-05-16 01:51:43.000000000 
+0200
+++ new/PyLaTeX-1.3.4/docs/source/changelog.rst 2020-07-29 20:51:12.000000000 
+0200
@@ -14,6 +14,21 @@
 
     pip install git+https://github.com/JelteF/PyLaTeX.git
 
+1.3.4_ - `docs <../v1.3.4/>`__ - 2020-07-29
+-------------------------------------------
+
+Fixed
+~~~~~
+- Use known working versions for Python 3.5 and lower of ordered-set dependency
+
+1.3.3_ - `docs <../v1.3.3/>`__ - 2020-06-20
+-------------------------------------------
+
+Fixed
+~~~~~
+- The 'at' parameter for TikZNode should now work.
+- Use a different temporary directory per user.
+
 1.3.2_ - `docs <../v1.3.2/>`__ - 2020-05-16
 -------------------------------------------
 
@@ -437,7 +452,9 @@
 - Fix package delegation with duplicate packages
 
 
-.. _Unreleased: https://github.com/JelteF/PyLaTeX/compare/v1.3.2...HEAD
+.. _Unreleased: https://github.com/JelteF/PyLaTeX/compare/v1.3.4...HEAD
+.. _1.3.4: https://github.com/JelteF/PyLaTeX/compare/v1.3.3...1.3.4
+.. _1.3.3: https://github.com/JelteF/PyLaTeX/compare/v1.3.2...1.3.3
 .. _1.3.2: https://github.com/JelteF/PyLaTeX/compare/v1.3.1...1.3.2
 .. _1.3.1: https://github.com/JelteF/PyLaTeX/compare/v1.3.0...1.3.1
 .. _1.3.0: https://github.com/JelteF/PyLaTeX/compare/v1.2.1...1.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/docs/source/index.rst 
new/PyLaTeX-1.3.4/docs/source/index.rst
--- old/PyLaTeX-1.3.2/docs/source/index.rst     2020-05-16 01:51:43.000000000 
+0200
+++ new/PyLaTeX-1.3.4/docs/source/index.rst     2020-07-29 20:51:12.000000000 
+0200
@@ -38,7 +38,7 @@
 
     pip install pylatex[matrices]
 
-The features that require aditional libraries are:
+The features that require additional libraries are:
 
 - matrices
 - matplotlib
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/examples/tikzdraw.py 
new/PyLaTeX-1.3.4/examples/tikzdraw.py
--- old/PyLaTeX-1.3.2/examples/tikzdraw.py      2020-05-16 01:51:43.000000000 
+0200
+++ new/PyLaTeX-1.3.4/examples/tikzdraw.py      2020-07-29 20:51:12.000000000 
+0200
@@ -27,6 +27,7 @@
         # create our test node
         box = TikZNode(text='My block',
                        handle='box',
+                       at=TikZCoordinate(0, 0),
                        options=TikZOptions('draw',
                                            'rounded corners',
                                            **node_kwargs))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/pylatex/_version.py 
new/PyLaTeX-1.3.4/pylatex/_version.py
--- old/PyLaTeX-1.3.2/pylatex/_version.py       2020-05-16 01:51:43.000000000 
+0200
+++ new/PyLaTeX-1.3.4/pylatex/_version.py       2020-07-29 20:51:12.000000000 
+0200
@@ -23,9 +23,9 @@
     # setup.py/versioneer.py will grep for the variable names, so they must
     # each be defined on a line of their own. _version.py will just call
     # get_keywords().
-    git_refnames = " (tag: v1.3.2)"
-    git_full = "ecc1e6e339a5a7be958c328403517cd547873d7e"
-    git_date = "2020-05-16 01:51:43 +0200"
+    git_refnames = " (tag: v1.3.4)"
+    git_full = "983b9996adc2dba04e008204daedfff471fd356f"
+    git_date = "2020-07-29 20:51:12 +0200"
     keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
     return keywords
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/pylatex/document.py 
new/PyLaTeX-1.3.4/pylatex/document.py
--- old/PyLaTeX-1.3.2/pylatex/document.py       2020-05-16 01:51:43.000000000 
+0200
+++ new/PyLaTeX-1.3.4/pylatex/document.py       2020-07-29 20:51:12.000000000 
+0200
@@ -61,7 +61,7 @@
             Determines whether or not the document requires indentation. If it
             is `None` it will use the value from the active config. Which is
             `True` by default.
-        geometry_options: str or list
+        geometry_options: dict
             The options to supply to the geometry package
         data: list
             Initial content of the document.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/pylatex/tikz.py 
new/PyLaTeX-1.3.4/pylatex/tikz.py
--- old/PyLaTeX-1.3.2/pylatex/tikz.py   2020-05-16 01:51:43.000000000 +0200
+++ new/PyLaTeX-1.3.4/pylatex/tikz.py   2020-07-29 20:51:12.000000000 +0200
@@ -237,7 +237,7 @@
             ret_str.append('({})'.format(self.handle))
 
         if self._node_position is not None:
-            ret_str.append('at {}'.format(str(self._position)))
+            ret_str.append('at {}'.format(str(self._node_position)))
 
         if self._node_text is not None:
             ret_str.append('{{{text}}};'.format(text=self._node_text))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/pylatex/utils.py 
new/PyLaTeX-1.3.4/pylatex/utils.py
--- old/PyLaTeX-1.3.2/pylatex/utils.py  2020-05-16 01:51:43.000000000 +0200
+++ new/PyLaTeX-1.3.4/pylatex/utils.py  2020-07-29 20:51:12.000000000 +0200
@@ -29,12 +29,8 @@
     ']': r'{]}',
 }
 
-_tmp_path = os.path.abspath(
-    os.path.join(
-        tempfile.gettempdir(),
-        "pylatex"
-    )
-)
+
+_tmp_path = None
 
 
 def _is_iterable(element):
@@ -326,10 +322,6 @@
 def make_temp_dir():
     """Create a temporary directory if it doesn't exist.
 
-    Directories created by this functionn follow the format specified
-    by ``_tmp_path`` and are a pylatex subdirectory within
-    a standard ``tempfile`` tempdir.
-
     Returns
     -------
     str
@@ -341,13 +333,16 @@
     '/var/folders/g9/ct5f3_r52c37rbls5_9nc_qc0000gn/T/pylatex'
     """
 
-    if not os.path.exists(_tmp_path):
-        os.makedirs(_tmp_path)
+    global _tmp_path
+    if not _tmp_path:
+        _tmp_path = tempfile.mkdtemp(prefix="pylatex-tmp.")
     return _tmp_path
 
 
 def rm_temp_dir():
     """Remove the temporary directory specified in ``_tmp_path``."""
 
-    if os.path.exists(_tmp_path):
+    global _tmp_path
+    if _tmp_path:
         shutil.rmtree(_tmp_path)
+        _tmp_path = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyLaTeX-1.3.2/setup.py new/PyLaTeX-1.3.4/setup.py
--- old/PyLaTeX-1.3.2/setup.py  2020-05-16 01:51:43.000000000 +0200
+++ new/PyLaTeX-1.3.4/setup.py  2020-07-29 20:51:12.000000000 +0200
@@ -20,7 +20,10 @@
         "Python version."
     )
 
-dependencies = ['ordered-set']
+if sys.version_info[:2] <= (3, 5):
+    dependencies = ['ordered-set<4.0.0']
+else:
+    dependencies = ['ordered-set']
 
 extras = {
     'docs': ['sphinx'],


Reply via email to