Hello community,

here is the log from the commit of package python3-setuptools_scm for 
openSUSE:Factory checked in at 2016-06-19 11:08:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-setuptools_scm (Old)
 and      /work/SRC/openSUSE:Factory/.python3-setuptools_scm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-setuptools_scm"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-setuptools_scm/python3-setuptools_scm.changes
    2016-05-25 21:26:19.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-setuptools_scm.new/python3-setuptools_scm.changes
       2016-06-19 11:08:57.000000000 +0200
@@ -1,0 +2,8 @@
+Sat Jun 18 15:10:44 UTC 2016 - a...@gmx.de
+
+- update to version 1.11.1:
+  * fix issue #88 - better docs for sphinx usage (thanks Jason)
+  * fix issue #89 - use normpath to deal with windows (thanks Te-jé
+    Rodgers for reporting and fixing)
+
+-------------------------------------------------------------------
@@ -6 +13,0 @@
-

Old:
----
  setuptools_scm-1.11.0.tar.gz

New:
----
  setuptools_scm-1.11.1.tar.gz

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

Other differences:
------------------
++++++ python3-setuptools_scm.spec ++++++
--- /var/tmp/diff_new_pack.IV05on/_old  2016-06-19 11:08:58.000000000 +0200
+++ /var/tmp/diff_new_pack.IV05on/_new  2016-06-19 11:08:58.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-setuptools_scm
-Version:        1.11.0
+Version:        1.11.1
 Release:        0
 Summary:        The blessed package to manage your versions by scm tags
 License:        MIT

++++++ setuptools_scm-1.11.0.tar.gz -> setuptools_scm-1.11.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools_scm-1.11.0/CHANGELOG.rst 
new/setuptools_scm-1.11.1/CHANGELOG.rst
--- old/setuptools_scm-1.11.0/CHANGELOG.rst     2016-04-06 10:37:26.000000000 
+0200
+++ new/setuptools_scm-1.11.1/CHANGELOG.rst     2016-06-12 23:09:53.000000000 
+0200
@@ -1,3 +1,10 @@
+v1.11.1
+========
+
+* fix issue #88 - better docs for sphinx usage (thanks Jason)
+* fix issue #89 - use normpath to deal with windows
+  (thanks Te-jé Rodgers for reporting and fixing) 
+
 v1.11.0
 =======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools_scm-1.11.0/PKG-INFO 
new/setuptools_scm-1.11.1/PKG-INFO
--- old/setuptools_scm-1.11.0/PKG-INFO  2016-04-06 10:37:48.000000000 +0200
+++ new/setuptools_scm-1.11.1/PKG-INFO  2016-06-12 23:10:13.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools_scm
-Version: 1.11.0
+Version: 1.11.1
 Summary: the blessed package to manage your versions by scm tags
 Home-page: https://github.com/pypa/setuptools_scm/
 Author: Ronny Pfannschmidt
@@ -43,12 +43,13 @@
         Programmatic usage
         ------------------
         
-        In oder to use setuptools_scm for sphinx config
+        In order to use setuptools_scm for sphinx config, assuming the sphinx 
conf
+        is one directory deeper than the project's root, use::
         
         .. code:: python
         
             from setuptools_scm import get_version
-            version = get_version()
+            version = get_version(root='..', relative_to=__file__)
         
         
         Notable Plugins
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools_scm-1.11.0/README.rst 
new/setuptools_scm-1.11.1/README.rst
--- old/setuptools_scm-1.11.0/README.rst        2016-04-06 10:37:26.000000000 
+0200
+++ new/setuptools_scm-1.11.1/README.rst        2016-06-12 23:09:53.000000000 
+0200
@@ -35,12 +35,13 @@
 Programmatic usage
 ------------------
 
-In oder to use setuptools_scm for sphinx config
+In order to use setuptools_scm for sphinx config, assuming the sphinx conf
+is one directory deeper than the project's root, use::
 
 .. code:: python
 
     from setuptools_scm import get_version
-    version = get_version()
+    version = get_version(root='..', relative_to=__file__)
 
 
 Notable Plugins
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools_scm-1.11.0/setup.py 
new/setuptools_scm-1.11.1/setup.py
--- old/setuptools_scm-1.11.0/setup.py  2016-04-06 10:37:48.000000000 +0200
+++ new/setuptools_scm-1.11.1/setup.py  2016-06-12 23:10:13.000000000 +0200
@@ -63,7 +63,7 @@
     url='https://github.com/pypa/setuptools_scm/',
     zip_safe=True,
     # pass here since entrypints are not yet registred
-    version="1.11.0",
+    version="1.11.1",
     author='Ronny Pfannschmidt',
     author_email='opensou...@ronnypfannschmidt.de',
     description=('the blessed package to manage your versions by scm tags'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools_scm-1.11.0/setuptools_scm/git.py 
new/setuptools_scm-1.11.1/setuptools_scm/git.py
--- old/setuptools_scm-1.11.0/setuptools_scm/git.py     2016-04-06 
10:37:26.000000000 +0200
+++ new/setuptools_scm-1.11.1/setuptools_scm/git.py     2016-06-12 
23:09:53.000000000 +0200
@@ -1,6 +1,6 @@
 from .utils import do, do_ex, trace
 from .version import meta
-from os.path import abspath, realpath
+from os.path import abspath, normcase, realpath
 
 
 FILES_COMMAND = 'git ls-files'
@@ -12,7 +12,8 @@
     if ret:
         return
     trace('real root', real_root)
-    if abspath(realpath(real_root)) != abspath(realpath(root)):
+    if (normcase(abspath(realpath(real_root))) !=
+            normcase(abspath(realpath(root)))):
         return
     rev_node, _, ret = do_ex('git rev-parse --verify --quiet HEAD', root)
     if ret:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/setuptools_scm-1.11.0/setuptools_scm.egg-info/PKG-INFO 
new/setuptools_scm-1.11.1/setuptools_scm.egg-info/PKG-INFO
--- old/setuptools_scm-1.11.0/setuptools_scm.egg-info/PKG-INFO  2016-04-06 
10:37:48.000000000 +0200
+++ new/setuptools_scm-1.11.1/setuptools_scm.egg-info/PKG-INFO  2016-06-12 
23:10:13.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: setuptools-scm
-Version: 1.11.0
+Version: 1.11.1
 Summary: the blessed package to manage your versions by scm tags
 Home-page: https://github.com/pypa/setuptools_scm/
 Author: Ronny Pfannschmidt
@@ -43,12 +43,13 @@
         Programmatic usage
         ------------------
         
-        In oder to use setuptools_scm for sphinx config
+        In order to use setuptools_scm for sphinx config, assuming the sphinx 
conf
+        is one directory deeper than the project's root, use::
         
         .. code:: python
         
             from setuptools_scm import get_version
-            version = get_version()
+            version = get_version(root='..', relative_to=__file__)
         
         
         Notable Plugins
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/setuptools_scm-1.11.0/testing/test_regressions.py 
new/setuptools_scm-1.11.1/testing/test_regressions.py
--- old/setuptools_scm-1.11.0/testing/test_regressions.py       2016-04-06 
10:37:26.000000000 +0200
+++ new/setuptools_scm-1.11.1/testing/test_regressions.py       2016-06-12 
23:09:53.000000000 +0200
@@ -1,3 +1,7 @@
+import sys
+
+import pytest
+from setuptools_scm.git import parse
 from setuptools_scm.utils import do_ex, do
 
 
@@ -43,3 +47,14 @@
 
     res = do('python setup.py --version', p)
     assert res == '1.0'
+
+
+@pytest.mark.skipif(sys.platform != 'win32',
+                    reason="this bug is only valid on windows")
+def test_case_mismatch_on_windows_git(tmpdir):
+    """Case insensitive path checks on Windows"""
+    p = tmpdir.ensure("CapitalizedDir", dir=1)
+
+    do('git init', p)
+    res = parse(str(p).lower())
+    assert res is not None


Reply via email to