Hello community,

here is the log from the commit of package python-py for openSUSE:Factory 
checked in at 2018-08-07 09:41:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py (Old)
 and      /work/SRC/openSUSE:Factory/.python-py.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-py"

Tue Aug  7 09:41:04 2018 rev:29 rq:627084 version:1.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py/python-py-doc.changes  2018-06-05 
12:49:42.612674119 +0200
+++ /work/SRC/openSUSE:Factory/.python-py.new/python-py-doc.changes     
2018-08-07 09:41:06.141103576 +0200
@@ -1,0 +2,6 @@
+Thu Aug  2 12:39:13 UTC 2018 - [email protected]
+
+- update to 1.5.4
+  * don't make assumptions about fs case sensitivity in ``make_numbered_dir``.
+
+-------------------------------------------------------------------
python-py.changes: same change

Old:
----
  py-1.5.3.tar.gz

New:
----
  py-1.5.4.tar.gz

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

Other differences:
------------------
++++++ python-py-doc.spec ++++++
--- /var/tmp/diff_new_pack.5c3A19/_old  2018-08-07 09:41:06.817104754 +0200
+++ /var/tmp/diff_new_pack.5c3A19/_new  2018-08-07 09:41:06.821104761 +0200
@@ -18,16 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-py-doc
-Version:        1.5.3
+Version:        1.5.4
 Release:        0
 Summary:        Library with cross-python path, ini-parsing, io, code, log 
facilities
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://github.com/pytest-dev/py
 Source:         
https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
-BuildRequires:  %{python_module py}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module py}
 BuildRequires:  python-rpm-macros
 # Documentation requirements:
 BuildRequires:  dos2unix

++++++ python-py.spec ++++++
--- /var/tmp/diff_new_pack.5c3A19/_old  2018-08-07 09:41:06.837104789 +0200
+++ /var/tmp/diff_new_pack.5c3A19/_new  2018-08-07 09:41:06.841104796 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-py
-Version:        1.5.3
+Version:        1.5.4
 Release:        0
 Summary:        Library with cross-python path, ini-parsing, io, code, log 
facilities
 License:        MIT
@@ -26,6 +26,7 @@
 Url:            https://github.com/pytest-dev/py
 Source:         
https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ py-1.5.3.tar.gz -> py-1.5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/.gitignore new/py-1.5.4/.gitignore
--- old/py-1.5.3/.gitignore     2017-05-05 16:12:31.000000000 +0200
+++ new/py-1.5.4/.gitignore     2018-06-27 13:23:59.000000000 +0200
@@ -10,3 +10,5 @@
 .eggs/
 
 dist/*
+/py/_version.py
+.pytest_cache/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/.hgignore new/py-1.5.4/.hgignore
--- old/py-1.5.3/.hgignore      2016-09-17 09:18:18.000000000 +0200
+++ new/py-1.5.4/.hgignore      1970-01-01 01:00:00.000000000 +0100
@@ -1,29 +0,0 @@
-
-# Automatically generated by `hgimportsvn`
-syntax:glob
-.svn
-.hgsvn
-
-# These lines are suggested according to the svn:ignore property
-# Feel free to enable them by uncommenting them
-syntax:glob
-*.pyc
-*.pyo
-*.swp
-*.html
-*.class
-*.orig
-*~
-
-doc/_build
-build/
-dist/
-*.egg-info
-issue/
-env/
-3rdparty/
-.tox
-lib/
-bin/
-include/
-src/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/.hgtags new/py-1.5.4/.hgtags
--- old/py-1.5.3/.hgtags        2016-09-17 09:18:18.000000000 +0200
+++ new/py-1.5.4/.hgtags        1970-01-01 01:00:00.000000000 +0100
@@ -1,68 +0,0 @@
-52c6d9e78777a5a34e813123997dfc614a1a4767 1.0.0b3
-1c7aaa8c61f3b0945921a9acc7beb184201aed4b 1.0.0b4
-1c7aaa8c61f3b0945921a9acc7beb184201aed4b 1.0.0b4
-0000000000000000000000000000000000000000 1.0.0b4
-0000000000000000000000000000000000000000 1.0.0b4
-8cd6eb91eba313b012d6e568f37d844dc0751f2e 1.0.0b4
-8cd6eb91eba313b012d6e568f37d844dc0751f2e 1.0.0b4
-0000000000000000000000000000000000000000 1.0.0b4
-2cc0507f117ffe721dff7ee026648cfce00ec92f 1.0.0b6
-86f1e1b6e49bf5882a809f11edd1dbb08162cdad 1.0.0b8
-86f1e1b6e49bf5882a809f11edd1dbb08162cdad 1.0.0b8
-c63f35c266cbb26dad6b87b5e115d65685adf448 1.0.0b8
-c63f35c266cbb26dad6b87b5e115d65685adf448 1.0.0b8
-0eaa0fdf2ba0163cf534dc2eff4ba2e5fc66c261 1.0.0b8
-e2a60653cb490aeed81bbbd83c070b99401c211c 1.0.0b9
-5ea0cdf7854c3d4278d36eda94a2b68483a0e211 1.0.0
-5ea0cdf7854c3d4278d36eda94a2b68483a0e211 1.0.0
-7acde360d94b6a2690ce3d03ff39301da84c0a2b 1.0.0
-6bd221981ac99103002c1cb94fede400d23a96a1 1.0.1
-4816e8b80602a3fd3a0a120333ad85fbe7d8bab4 1.0.2
-60c44bdbf093285dc69d5462d4dbb4acad325ca6 1.1.0
-319187fcda66714c5eb1353492babeec3d3c826f 1.1.1
-4fc5212f7626a56b9eb6437b5c673f56dd7eb942 1.2.0
-c143a8c8840a1c68570890c8ac6165bbf92fd3c6 1.2.1
-eafd3c256e8732dfb0a4d49d051b5b4339858926 1.3.0
-d5eacf390af74553227122b85e20345d47b2f9e6 1.3.1
-d5eacf390af74553227122b85e20345d47b2f9e6 1.3.1
-8b8e7c25a13cf863f01b2dd955978285ae9daf6a 1.3.1
-3bff44b188a7ec1af328d977b9d39b6757bb38df 1.3.2
-c59d3fa8681a5b5966b8375b16fccd64a3a8dbeb 1.3.3
-79ef6377705184c55633d456832eea318fedcf61 1.3.4
-79ef6377705184c55633d456832eea318fedcf61 1.3.4
-90fffd35373e9f125af233f78b19416f0938d841 1.3.4
-5346ab41b059c95a48cbe1e8a7bae96ce6e0da27 1.4.0
-1f3125cba7976538952be268f107c1d0c36c5ce8 1.4.1
-04ab22db4ff737cf31e91d75a0f5d7077f324167 1.4.2
-9950bf9d684a984d511795013421c89c5cf88bef 1.4.3
-d9951e3bdbc765e73835ae13012f6a074d13d8bf 1.4.4
-b827dd156a36753e32c7f3f15ce82d6fe9e356c8 1.4.6
-f15726f9e5a67cc6221c499affa4840e9d591763 1.4.7
-abfabd07a1d328f13c730e8a50d80d2e470afd3b 1.4.9
-7f37ee0aff9be4b839d6759cfee336f60e8393a4 1.4.10
-fe4593263efa10ea7ba014db6e3379e0b82368a2 1.4.11
-f07af25a26786e4825b5170e17ad693245cb3426 1.4.12
-d3730d84ba7eda92fd3469a3f63fd6d8cb22c975 1.4.13
-12c1ae8e7c5345721e9ec9f8e27b1e36c07f74dc 1.4.14
-12c1ae8e7c5345721e9ec9f8e27b1e36c07f74dc 1.4.14
-0000000000000000000000000000000000000000 1.4.14
-0000000000000000000000000000000000000000 1.4.14
-1497e2efd0f8c73a0e3d529debf0c489e4cd6cab 1.4.14
-e065014c1ce8ad110a381e9baaaa5d647ba7ac6b 1.4.15
-e9e5b38f53dc35b35aa1f9ee9a9be9bbd2d2c3b1 1.4.16
-c603503945f52b78522d96a423605cbc953236d3 1.4.17
-c59201105a29801cc858eb9160b7a19791b91a35 1.4.18
-284cc172e294d48edc840012e1451c32c3963d92 1.4.19
-a3e0626aa0c5aecf271367dc77e476ab216ea3c8 1.4.20
-5e48016c4a3af8e7358a1267d33d021e71765bed 1.4.21
-01ae2cfcc61c4fcb3aa5031349adb5b467c31018 1.4.23
-5ffd982f4dff60b588f309cd9bdc61036547282a 1.4.24
-dc9ffbcaf1f7d72e96be3f68c11deebb7e7193c5 1.4.25
-6de1a44bf75de7af4fcae947c235e9072bbdbb9a 1.4.26
-7d650ba2657890a2253c8c4a83f170febebd90fa 1.4.27
-7d650ba2657890a2253c8c4a83f170febebd90fa 1.4.27
-1810003dec63dd1b506a23849861fffa5bc3ba13 1.4.27
-ba08706f08ddea1b77a426f00dfe2bdc244345e8 1.4.28
-4e8054ada63f3327bcf759ae7cd36c7c8652bc9b 1.4.29
-366ab346610c6de8aaa7617e24011794b40236c6 1.4.30
-657380e439f9b7e04918cb162cb2e46388244b42 1.4.31
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/.travis.yml new/py-1.5.4/.travis.yml
--- old/py-1.5.3/.travis.yml    2018-02-21 15:54:55.000000000 +0100
+++ new/py-1.5.4/.travis.yml    2018-06-27 13:23:59.000000000 +0200
@@ -17,6 +17,23 @@
   - python: '2.7'
     # using a different option due to pytest-addopts pytester issues
     env: PYTEST_XADDOPTS="-n 3 --runslowtests" DEPS="pytest~=3.0.0 
pytest-xdist"
+    
+  - stage: deploy
+    python: '3.6'
+    env:
+    install: pip install -U setuptools setuptools_scm
+    script: skip
+    deploy:
+      provider: pypi
+      user: nicoddemus
+      distributions: sdist bdist_wheel
+      skip_upload_docs: true
+      password:
+        secure: 
VNYW/sZoD+9DzKCe6vANNXXJR7jP7rwySafQ33N1jAnCrdylQjEN/p6tSfUe8jDi3wDpLPL9h8pwfxuUT7CRxglHov3Qe7zSeywixvHan5aFahQiQ8+gucYIM7wITHH3oQs7jN35pnhdnF+QlW2+eDCL6qOLU5XwuRhsDKXjQ/hUWR5hlX5EniD1gzyKEf6j1YCpST87tKpeLwVEYEmsucdkUZuXhxDtyaWQHWiPsLWwh/slQtUJEHeLF26r8UxFy0RiGne9jR+CzRfH5ktcA9/pArvp4VuwOii+1TDxVSYP7+I8Z+eUKN9JBg12QLaHwoIN/8J+MvHCkuf+OGSLM3sEyNRJGDev372xg3K7ylIkeeK4WXirKEp2ojgN8tniloDjnwdu/gPWBnrXuooA60tNoByHFa8KbMZAr2B2sQeMxD4VZGr1N8l0rX4gRTrwvdk3i3ulLKVSwkXaGn+GrfZTTboa7dEnpuma8tv1niNCSpStYIy7atS8129+5ijV3OC8DzOMh/rVbO9WsDb/RPG3yjFiDvEJPIPeE0l/m5u42QBqtdZSS2ia7UWTJBiEY09uFMTRmH5hhE/1aiYBbvAztf5CReUbeKdSQz3L8TTSZqewtFZmXTkX97/xQnrEpsnGezIM2DNuMEuQG3MxGkNCxwbQKpx/bkHdrD75yMk=
+      on:
+        tags: true
+        repo: pytest-dev/py
+        
   allow_failures:
   - python: 'pypy-5.4'
 install:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/CHANGELOG new/py-1.5.4/CHANGELOG
--- old/py-1.5.3/CHANGELOG      2018-03-14 16:08:44.000000000 +0100
+++ new/py-1.5.4/CHANGELOG      2018-06-27 13:23:59.000000000 +0200
@@ -1,6 +1,12 @@
-1.5.3 (unreleased)
+1.5.4 (2018-06-27)
 ==================
 
+- fix pytest-dev/pytest#3451: don't make assumptions about fs case sensitivity
+  in ``make_numbered_dir``.
+
+1.5.3
+=====
+
 - fix #179: ensure we can support 'from py.error import ...'
 
 1.5.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/HOWTORELEASE.rst 
new/py-1.5.4/HOWTORELEASE.rst
--- old/py-1.5.3/HOWTORELEASE.rst       1970-01-01 01:00:00.000000000 +0100
+++ new/py-1.5.4/HOWTORELEASE.rst       2018-06-27 13:23:59.000000000 +0200
@@ -0,0 +1,17 @@
+Release Procedure
+-----------------
+
+#. Create a branch ``release-X.Y.Z`` from the latest ``master``.
+
+#. Manually update the ``CHANGELOG`` and commit.
+
+#. Open a PR for this branch targeting ``master``.
+
+#. After all tests pass and the PR has been approved by at least another 
maintainer, publish to PyPI by creating and pushing a tag::
+
+     git tag X.Y.Z
+     git push [email protected]:pytest-dev/py X.Y.Z
+
+   Wait for the deploy to complete, then make sure it is `available on PyPI 
<https://pypi.org/project/py>`_.
+
+#. Merge your PR to ``master``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/PKG-INFO new/py-1.5.4/PKG-INFO
--- old/py-1.5.3/PKG-INFO       2018-03-22 11:06:12.000000000 +0100
+++ new/py-1.5.4/PKG-INFO       2018-06-27 13:24:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: py
-Version: 1.5.3
+Version: 1.5.4
 Summary: library with cross-python path, ini-parsing, io, code, log facilities
 Home-page: http://py.readthedocs.io/
 Author: holger krekel, Ronny Pfannschmidt, Benjamin Peterson and others
@@ -27,10 +27,10 @@
         The py lib is a Python development support library featuring
         the following tools and modules:
         
-        * ``py.path``:  uniform local and svn path objects
-        * ``py.apipkg``:  explicit API control and lazy-importing
-        * ``py.iniconfig``:  easy parsing of .ini files
-        * ``py.code``: dynamic code generation and introspection (deprecated, 
moved to ``pytest``).
+        * ``py.path``:  uniform local and svn path objects  -> please use 
pathlib/pathlib2 instead
+        * ``py.apipkg``:  explicit API control and lazy-importing -> please 
use the standalone package instead
+        * ``py.iniconfig``:  easy parsing of .ini files -> please use the 
standalone package instead
+        * ``py.code``: dynamic code generation and introspection (deprecated, 
moved to ``pytest`` as a implementation detail).
         
         **NOTE**: prior to the 1.4 release this distribution used to
         contain py.test which is now its own package, see http://pytest.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/README.rst new/py-1.5.4/README.rst
--- old/py-1.5.3/README.rst     2018-02-21 15:54:55.000000000 +0100
+++ new/py-1.5.4/README.rst     2018-06-27 13:23:59.000000000 +0200
@@ -19,10 +19,10 @@
 The py lib is a Python development support library featuring
 the following tools and modules:
 
-* ``py.path``:  uniform local and svn path objects
-* ``py.apipkg``:  explicit API control and lazy-importing
-* ``py.iniconfig``:  easy parsing of .ini files
-* ``py.code``: dynamic code generation and introspection (deprecated, moved to 
``pytest``).
+* ``py.path``:  uniform local and svn path objects  -> please use 
pathlib/pathlib2 instead
+* ``py.apipkg``:  explicit API control and lazy-importing -> please use the 
standalone package instead
+* ``py.iniconfig``:  easy parsing of .ini files -> please use the standalone 
package instead
+* ``py.code``: dynamic code generation and introspection (deprecated, moved to 
``pytest`` as a implementation detail).
 
 **NOTE**: prior to the 1.4 release this distribution used to
 contain py.test which is now its own package, see http://pytest.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/appveyor.yml new/py-1.5.4/appveyor.yml
--- old/py-1.5.3/appveyor.yml   1970-01-01 01:00:00.000000000 +0100
+++ new/py-1.5.4/appveyor.yml   2018-06-27 13:23:59.000000000 +0200
@@ -0,0 +1,26 @@
+environment:
+  matrix:
+  # note: please use "tox --listenvs" to populate the build matrix below
+  - TOXENV: "py27-pytest29"
+  - TOXENV: "py27-pytest30"
+  - TOXENV: "py27-pytest31"
+  - TOXENV: "py34-pytest29"
+  - TOXENV: "py34-pytest30"
+  - TOXENV: "py34-pytest31"
+  - TOXENV: "py35-pytest29"
+  - TOXENV: "py35-pytest30"
+  - TOXENV: "py35-pytest31"
+  - TOXENV: "py36-pytest29"
+  - TOXENV: "py36-pytest30"
+  - TOXENV: "py36-pytest31"
+
+install:
+  - echo Installed Pythons
+  - dir c:\Python*
+
+  - C:\Python36\python -m pip install --upgrade --pre tox
+
+build: false  # Not a C# project, build stuff at the test step instead.
+
+test_script:
+  - C:\Python36\python -m tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/doc/path.txt new/py-1.5.4/doc/path.txt
--- old/py-1.5.3/doc/path.txt   2017-07-03 10:42:09.000000000 +0200
+++ new/py-1.5.4/doc/path.txt   2018-06-27 13:23:59.000000000 +0200
@@ -2,6 +2,12 @@
 py.path
 =======
 
+    **Note**: The 'py' library is in "maintenance mode" and so is not
+    recommended for new projects. Please check out
+    `pathlib <https://docs.python.org/3/library/pathlib.html>`_ or
+    `pathlib2 <https://pypi.python.org/pypi/pathlib2/>`_ for path
+    operations.
+
 The 'py' lib provides a uniform high-level api to deal with filesystems
 and filesystem-like interfaces: ``py.path``.  It aims to offer a central
 object to fs-like object trees (reading from and writing to files, adding
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/py/__init__.py new/py-1.5.4/py/__init__.py
--- old/py-1.5.3/py/__init__.py 2018-03-22 09:59:58.000000000 +0100
+++ new/py-1.5.4/py/__init__.py 2018-06-27 13:23:59.000000000 +0200
@@ -18,7 +18,12 @@
     import apipkg
     lib_not_mangled_by_packagers = False
     vendor_prefix = ''
-__version__ = '1.5.3'
+
+try:
+    from ._version import version as __version__
+except ImportError:
+    # broken installation, we don't even try
+    __version__ = "unknown"
 
 
 apipkg.initpkg(__name__, attr={'_apipkg': apipkg, 'error': error}, exportdefs={
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/py/_path/local.py 
new/py-1.5.4/py/_path/local.py
--- old/py-1.5.3/py/_path/local.py      2018-02-21 15:54:55.000000000 +0100
+++ new/py-1.5.4/py/_path/local.py      2018-06-27 13:23:59.000000000 +0200
@@ -4,13 +4,13 @@
 from __future__ import with_statement
 
 from contextlib import contextmanager
-import sys, os, re, atexit, io, uuid
+import sys, os, atexit, io, uuid
 import py
 from py._path import common
 from py._path.common import iswin32, fspath
 from stat import S_ISLNK, S_ISDIR, S_ISREG
 
-from os.path import abspath, normcase, normpath, isabs, exists, isdir, isfile, 
islink, dirname
+from os.path import abspath, normpath, isabs, exists, isdir, isfile, islink, 
dirname
 
 if sys.version_info > (3,0):
     def map_as_list(func, iter):
@@ -800,7 +800,7 @@
         return cls(py.error.checked_call(tempfile.mkdtemp, dir=str(rootdir)))
 
     def make_numbered_dir(cls, prefix='session-', rootdir=None, keep=3,
-                          lock_timeout = 172800):   # two days
+                          lock_timeout=172800):   # two days
         """ return unique directory with a number greater than the current
             maximum one.  The number is assumed to start directly after prefix.
             if keep is true directories with a number less than (maxnum-keep)
@@ -810,10 +810,10 @@
         if rootdir is None:
             rootdir = cls.get_temproot()
 
-        nprefix = normcase(prefix)
+        nprefix = prefix.lower()
         def parse_num(path):
             """ parse the number out of a path (if it matches the prefix) """
-            nbasename = normcase(path.basename)
+            nbasename = path.basename.lower()
             if nbasename.startswith(nprefix):
                 try:
                     return int(nbasename[len(nprefix):])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/py/_version.py new/py-1.5.4/py/_version.py
--- old/py-1.5.3/py/_version.py 1970-01-01 01:00:00.000000000 +0100
+++ new/py-1.5.4/py/_version.py 2018-06-27 13:24:18.000000000 +0200
@@ -0,0 +1,4 @@
+# coding: utf-8
+# file generated by setuptools_scm
+# don't change, don't track in version control
+version = '1.5.4'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/py.egg-info/PKG-INFO 
new/py-1.5.4/py.egg-info/PKG-INFO
--- old/py-1.5.3/py.egg-info/PKG-INFO   2018-03-22 11:06:12.000000000 +0100
+++ new/py-1.5.4/py.egg-info/PKG-INFO   2018-06-27 13:24:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: py
-Version: 1.5.3
+Version: 1.5.4
 Summary: library with cross-python path, ini-parsing, io, code, log facilities
 Home-page: http://py.readthedocs.io/
 Author: holger krekel, Ronny Pfannschmidt, Benjamin Peterson and others
@@ -27,10 +27,10 @@
         The py lib is a Python development support library featuring
         the following tools and modules:
         
-        * ``py.path``:  uniform local and svn path objects
-        * ``py.apipkg``:  explicit API control and lazy-importing
-        * ``py.iniconfig``:  easy parsing of .ini files
-        * ``py.code``: dynamic code generation and introspection (deprecated, 
moved to ``pytest``).
+        * ``py.path``:  uniform local and svn path objects  -> please use 
pathlib/pathlib2 instead
+        * ``py.apipkg``:  explicit API control and lazy-importing -> please 
use the standalone package instead
+        * ``py.iniconfig``:  easy parsing of .ini files -> please use the 
standalone package instead
+        * ``py.code``: dynamic code generation and introspection (deprecated, 
moved to ``pytest`` as a implementation detail).
         
         **NOTE**: prior to the 1.4 release this distribution used to
         contain py.test which is now its own package, see http://pytest.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/py.egg-info/SOURCES.txt 
new/py-1.5.4/py.egg-info/SOURCES.txt
--- old/py-1.5.3/py.egg-info/SOURCES.txt        2018-03-22 11:06:12.000000000 
+0100
+++ new/py-1.5.4/py.egg-info/SOURCES.txt        2018-06-27 13:24:18.000000000 
+0200
@@ -1,13 +1,13 @@
 .gitattributes
 .gitignore
-.hgignore
-.hgtags
 .travis.yml
 AUTHORS
 CHANGELOG
+HOWTORELEASE.rst
 LICENSE
 MANIFEST.in
 README.rst
+appveyor.yml
 conftest.py
 setup.cfg
 setup.py
@@ -55,6 +55,7 @@
 py/_builtin.py
 py/_error.py
 py/_std.py
+py/_version.py
 py/_xmlgen.py
 py/test.py
 py.egg-info/PKG-INFO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/setup.py new/py-1.5.4/setup.py
--- old/py-1.5.3/setup.py       2018-02-21 15:54:55.000000000 +0100
+++ new/py-1.5.4/setup.py       2018-06-27 13:23:59.000000000 +0200
@@ -1,25 +1,13 @@
-import os
-import sys
-
 from setuptools import setup, find_packages
 
 
-def get_version():
-    p = os.path.join(os.path.dirname(
-                     os.path.abspath(__file__)), "py", "__init__.py")
-    with open(p) as f:
-        for line in f.readlines():
-            if "__version__" in line:
-                return line.strip().split("=")[-1].strip(" '")
-    raise ValueError("could not read version")
-
-
 def main():
     setup(
         name='py',
         description='library with cross-python path, ini-parsing, io, code, 
log facilities',
         long_description=open('README.rst').read(),
-        version=get_version(),
+        use_scm_version={"write_to": "py/_version.py"},
+        setup_requires=["setuptools-scm"],
         url='http://py.readthedocs.io/',
         license='MIT license',
         platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-1.5.3/testing/path/test_local.py 
new/py-1.5.4/testing/path/test_local.py
--- old/py-1.5.3/testing/path/test_local.py     2018-02-21 15:54:55.000000000 
+0100
+++ new/py-1.5.4/testing/path/test_local.py     2018-06-27 13:23:59.000000000 
+0200
@@ -425,24 +425,23 @@
             if i >= 3:
                 assert not numdir.new(ext=str(i-3)).check()
 
-    def test_make_numbered_dir_case_insensitive(self, tmpdir, monkeypatch):
-        # https://github.com/pytest-dev/pytest/issues/708
-        monkeypatch.setattr(py._path.local, 'normcase',
-                            lambda path: path.lower())
-        monkeypatch.setattr(tmpdir, 'listdir',
-                            lambda: [tmpdir._fastjoin('case.0')])
-        numdir = local.make_numbered_dir(prefix='CAse.', rootdir=tmpdir,
-                                         keep=2, lock_timeout=0)
-        assert numdir.basename.endswith('.1')
+    def test_make_numbered_dir_case(self, tmpdir):
+        """make_numbered_dir does not make assumptions on the underlying
+        filesystem based on the platform and will assume it _could_ be case
+        insensitive.
 
-    def test_make_numbered_dir_case_sensitive(self, tmpdir, monkeypatch):
-        # https://github.com/pytest-dev/pytest/issues/708
-        monkeypatch.setattr(py._path.local, 'normcase', lambda path: path)
-        monkeypatch.setattr(tmpdir, 'listdir',
-                            lambda: [tmpdir._fastjoin('case.0')])
-        numdir = local.make_numbered_dir(prefix='CAse.', rootdir=tmpdir,
-                                         keep=2, lock_timeout=0)
-        assert numdir.basename.endswith('.0')
+        See issues:
+        - https://github.com/pytest-dev/pytest/issues/708
+        - https://github.com/pytest-dev/pytest/issues/3451
+        """
+        d1 = local.make_numbered_dir(
+            prefix='CAse.', rootdir=tmpdir, keep=2, lock_timeout=0,
+        )
+        d2 = local.make_numbered_dir(
+            prefix='caSE.', rootdir=tmpdir, keep=2, lock_timeout=0,
+        )
+        assert str(d1).lower() != str(d2).lower()
+        assert str(d2).endswith('.1')
 
     def test_make_numbered_dir_NotImplemented_Error(self, tmpdir, monkeypatch):
         def notimpl(x, y):


Reply via email to