Hello community,

here is the log from the commit of package python-pytest-datadir for 
openSUSE:Factory checked in at 2019-11-06 14:06:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-datadir (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-datadir.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-datadir"

Wed Nov  6 14:06:38 2019 rev:2 rq:745445 version:1.3.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-datadir/python-pytest-datadir.changes  
    2019-03-22 15:09:02.141407925 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-datadir.new.2990/python-pytest-datadir.changes
    2019-11-06 14:06:42.480823841 +0100
@@ -1,0 +2,7 @@
+Tue Nov  5 10:57:45 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.3.1:
+  * Add python_requires to setup.py so pip will not try to install
+    pytest-datadir in incompatible Python versions.
+
+-------------------------------------------------------------------

Old:
----
  pytest-datadir-1.3.0.tar.gz

New:
----
  pytest-datadir-1.3.1.tar.gz

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

Other differences:
------------------
++++++ python-pytest-datadir.spec ++++++
--- /var/tmp/diff_new_pack.8ZbF3P/_old  2019-11-06 14:06:43.240824636 +0100
+++ /var/tmp/diff_new_pack.8ZbF3P/_new  2019-11-06 14:06:43.248824645 +0100
@@ -18,12 +18,11 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-datadir
-Version:        1.3.0
+Version:        1.3.1
 Release:        0
-Summary:        pytest plugin for test data directories and files
+Summary:        Plugin for test data directories and files
 License:        MIT
-Group:          Development/Languages/Python
-URL:            http://github.com/gabrielcnr/pytest-datadir
+URL:            https://github.com/gabrielcnr/pytest-datadir
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-datadir/pytest-datadir-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
@@ -50,10 +49,10 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-rm %{buildroot}/usr/LICENSE
+rm %{buildroot}%{_prefix}/LICENSE
 
 %check
-%python_exec setup.py pytest
+%pytest
 
 %files %{python_files}
 %doc AUTHORS CHANGELOG.rst README.md

++++++ pytest-datadir-1.3.0.tar.gz -> pytest-datadir-1.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/.travis.yml 
new/pytest-datadir-1.3.1/.travis.yml
--- old/pytest-datadir-1.3.0/.travis.yml        2019-01-15 12:25:50.000000000 
+0100
+++ new/pytest-datadir-1.3.1/.travis.yml        2019-10-22 15:04:06.000000000 
+0200
@@ -10,6 +10,8 @@
   - "3.4"
   - "3.5"
   - "3.6"
+  - "3.7"
+  - "3.8"
 install:
   - pip install --upgrade setuptools pip
   - pip install tox-travis
@@ -18,7 +20,7 @@
 jobs:
   include:
     - stage: deploy
-      python: '3.6'
+      python: '3.7'
       env:
       install: pip install -U setuptools setuptools_scm
       script: skip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/CHANGELOG.rst 
new/pytest-datadir-1.3.1/CHANGELOG.rst
--- old/pytest-datadir-1.3.0/CHANGELOG.rst      2019-01-15 12:25:50.000000000 
+0100
+++ new/pytest-datadir-1.3.1/CHANGELOG.rst      2019-10-22 15:04:06.000000000 
+0200
@@ -1,6 +1,13 @@
 pytest-datadir
 ==============
 
+1.3.1 (2019-10-22)
+------------------
+
+- Add testing for Python 3.7 and 3.8.
+- Add ``python_requires`` to ``setup.py`` so ``pip`` will not try to install 
``pytest-datadir`` in incompatible Python versions.
+
+
 1.3.0 (2019-01-15)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/PKG-INFO 
new/pytest-datadir-1.3.1/PKG-INFO
--- old/pytest-datadir-1.3.0/PKG-INFO   2019-01-15 12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/PKG-INFO   2019-10-22 15:04:21.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest-datadir
-Version: 1.3.0
+Version: 1.3.1
 Summary: pytest plugin for test data directories and files
 Home-page: http://github.com/gabrielcnr/pytest-datadir
 Author: Gabriel Reis
@@ -73,6 +73,9 @@
 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 :: 3.8
 Classifier: Topic :: Software Development :: Quality Assurance
 Classifier: Topic :: Software Development :: Testing
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
 Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/pytest_datadir/__init__.py 
new/pytest-datadir-1.3.1/pytest_datadir/__init__.py
--- old/pytest-datadir-1.3.0/pytest_datadir/__init__.py 2019-01-15 
12:25:50.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir/__init__.py 1970-01-01 
01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-from __future__ import absolute_import
-
-try:
-    from ._version import version
-    __version__ = version
-except ImportError:
-    __version__ = version = 'unknown'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/pytest_datadir/_version.py 
new/pytest-datadir-1.3.1/pytest_datadir/_version.py
--- old/pytest-datadir-1.3.0/pytest_datadir/_version.py 2019-01-15 
12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir/_version.py 1970-01-01 
01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-# coding: utf-8
-# file generated by setuptools_scm
-# don't change, don't track in version control
-version = '1.3.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/pytest_datadir/plugin.py 
new/pytest-datadir-1.3.1/pytest_datadir/plugin.py
--- old/pytest-datadir-1.3.0/pytest_datadir/plugin.py   2019-01-15 
12:25:50.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir/plugin.py   1970-01-01 
01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-import os
-import shutil
-import sys
-
-if sys.version_info[0] == 2:
-    from pathlib2 import Path
-else:
-    from pathlib import Path
-
-import pytest
-
-
-def _win32_longpath(path):
-    '''
-    Helper function to add the long path prefix for Windows, so that 
shutil.copytree won't fail
-    while working with paths with 255+ chars.
-    '''
-    if sys.platform == 'win32':
-        # The use of os.path.normpath here is necessary since "the "\\?\" 
prefix to a path string
-        # tells the Windows APIs to disable all string parsing and to send the 
string that follows
-        # it straight to the file system".
-        # (See 
https://docs.microsoft.com/pt-br/windows/desktop/FileIO/naming-a-file)
-        return '\\\\?\\' + os.path.normpath(path)
-    else:
-        return path
-
-
[email protected]
-def shared_datadir(request, tmpdir):
-    original_shared_path = os.path.join(request.fspath.dirname, 'data')
-    temp_path = Path(str(tmpdir.join('data')))
-    shutil.copytree(_win32_longpath(original_shared_path), 
_win32_longpath(str(temp_path)))
-    return temp_path
-
-
[email protected]
-def original_datadir(request):
-    return Path(os.path.splitext(request.module.__file__)[0])
-
-
[email protected]
-def datadir(original_datadir, tmpdir):
-    result = Path(str(tmpdir.join(original_datadir.stem)))
-    if original_datadir.is_dir():
-        shutil.copytree(_win32_longpath(str(original_datadir)), 
_win32_longpath(str(result)))
-    else:
-        result.mkdir()
-    return result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/pytest_datadir.egg-info/PKG-INFO 
new/pytest-datadir-1.3.1/pytest_datadir.egg-info/PKG-INFO
--- old/pytest-datadir-1.3.0/pytest_datadir.egg-info/PKG-INFO   2019-01-15 
12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir.egg-info/PKG-INFO   1970-01-01 
01:00:00.000000000 +0100
@@ -1,78 +0,0 @@
-Metadata-Version: 2.1
-Name: pytest-datadir
-Version: 1.3.0
-Summary: pytest plugin for test data directories and files
-Home-page: http://github.com/gabrielcnr/pytest-datadir
-Author: Gabriel Reis
-Author-email: [email protected]
-License: MIT
-Description: # pytest-datadir
-        
-        pytest plugin for manipulating test data directories and files.
-        
-        [![Build 
Status](https://travis-ci.org/gabrielcnr/pytest-datadir.svg?branch=master)](https://travis-ci.org/gabrielcnr/pytest-datadir)
-        
[![PyPI](https://img.shields.io/pypi/v/pytest-datadir.svg)](https://pypi.python.org/pypi/pytest-datadir)
-        
[![PythonVersions](https://img.shields.io/pypi/pyversions/pytest-datadir.svg)](https://pypi.python.org/pypi/pytest-datadir)
-        
[![CondaForge](https://img.shields.io/conda/vn/conda-forge/pytest-datadir.svg)](https://anaconda.org/conda-forge/pytest-datadir)
-        
-        
-        # Usage
-        pytest-datadir will look up for a directory with the name of your 
module or the global 'data' folder.
-        Let's say you have a structure like this:
-        
-        ```
-        .
-        ├── data/
-        │   └── hello.txt
-        ├── test_hello/
-        │   └── spam.txt
-        └── test_hello.py
-        ```
-        You can access the contents of these files using injected variables 
`datadir` (for *test_* folder) or `shared_datadir`
-        (for *data* folder):
-        
-        ```python
-        def test_read_global(shared_datadir):
-            contents = (shared_datadir / 'hello.txt').read_text()
-            assert contents == 'Hello World!\n'
-        
-        def test_read_module(datadir):
-            contents = (datadir / 'spam.txt').read_text()
-            assert contents == 'eggs\n'
-        ```
-        
-        pytest-datadir will copy the original file to a temporary folder, so 
changing the file contents won't change the original data file.
-        
-        Both `datadir` and `shared_datadir` fixtures are `pathlib.Path` 
objects.
-        
-        # Releases
-        
-        Follow these steps to make a new release:
-        
-        1. Create a new branch `release-X.Y.Z` from `master`.
-        2. Update `CHANGELOG.rst`.
-        3. Open a PR.
-        4. After it is **green** and **approved**, push a new tag in the 
format `X.Y.Z`.
-        
-        Travis will deploy to PyPI automatically.
-        
-        Afterwards, update the recipe in 
[conda-forge/pytest-datadir-feedstock](https://github.com/conda-forge/pytest-datadir-feedstock).
-        
-        # License
-        
-        MIT.
-        
-        
-Keywords: pytest test unittest directory file
-Platform: UNKNOWN
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: 3.6
-Classifier: Topic :: Software Development :: Quality Assurance
-Classifier: Topic :: Software Development :: Testing
-Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/pytest_datadir.egg-info/SOURCES.txt 
new/pytest-datadir-1.3.1/pytest_datadir.egg-info/SOURCES.txt
--- old/pytest-datadir-1.3.0/pytest_datadir.egg-info/SOURCES.txt        
2019-01-15 12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir.egg-info/SOURCES.txt        
1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-.gitignore
-.travis.yml
-AUTHORS
-CHANGELOG.rst
-LICENSE
-MANIFEST.in
-README.md
-appveyor.yml
-setup.cfg
-setup.py
-tox.ini
-pytest_datadir/__init__.py
-pytest_datadir/_version.py
-pytest_datadir/plugin.py
-pytest_datadir.egg-info/PKG-INFO
-pytest_datadir.egg-info/SOURCES.txt
-pytest_datadir.egg-info/dependency_links.txt
-pytest_datadir.egg-info/entry_points.txt
-pytest_datadir.egg-info/requires.txt
-pytest_datadir.egg-info/top_level.txt
-tests/test_hello.py
-tests/test_nonexistent.py
-tests/test_pathlib.py
-tests/data/over.txt
-tests/data/spam.txt
-tests/data/shared_directory/file.txt
-tests/test_hello/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.txt
-tests/test_hello/hello.txt
-tests/test_hello/over.txt
-tests/test_hello/local_directory/file.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/pytest_datadir.egg-info/dependency_links.txt 
new/pytest-datadir-1.3.1/pytest_datadir.egg-info/dependency_links.txt
--- old/pytest-datadir-1.3.0/pytest_datadir.egg-info/dependency_links.txt       
2019-01-15 12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir.egg-info/dependency_links.txt       
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/pytest_datadir.egg-info/entry_points.txt 
new/pytest-datadir-1.3.1/pytest_datadir.egg-info/entry_points.txt
--- old/pytest-datadir-1.3.0/pytest_datadir.egg-info/entry_points.txt   
2019-01-15 12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir.egg-info/entry_points.txt   
1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-[pytest11]
-pytest-datadir = pytest_datadir.plugin
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/pytest_datadir.egg-info/requires.txt 
new/pytest-datadir-1.3.1/pytest_datadir.egg-info/requires.txt
--- old/pytest-datadir-1.3.0/pytest_datadir.egg-info/requires.txt       
2019-01-15 12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir.egg-info/requires.txt       
1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-pytest>=2.7.0
-
-[:python_version<"3.4"]
-pathlib2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/pytest_datadir.egg-info/top_level.txt 
new/pytest-datadir-1.3.1/pytest_datadir.egg-info/top_level.txt
--- old/pytest-datadir-1.3.0/pytest_datadir.egg-info/top_level.txt      
2019-01-15 12:26:07.000000000 +0100
+++ new/pytest-datadir-1.3.1/pytest_datadir.egg-info/top_level.txt      
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-pytest_datadir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/setup.py 
new/pytest-datadir-1.3.1/setup.py
--- old/pytest-datadir-1.3.0/setup.py   2019-01-15 12:25:50.000000000 +0100
+++ new/pytest-datadir-1.3.1/setup.py   2019-10-22 15:04:06.000000000 +0200
@@ -1,7 +1,7 @@
 import io
 import re
 
-from setuptools import setup
+from setuptools import find_packages, setup
 
 
 with io.open('README.md', encoding='UTF-8') as fp:
@@ -10,12 +10,13 @@
 
 setup(
     name="pytest-datadir",
-    use_scm_version={"write_to": "pytest_datadir/_version.py"},
+    use_scm_version={"write_to": "src/pytest_datadir/_version.py"},
     setup_requires=['setuptools_scm'],
-    packages=['pytest_datadir'],
+    packages=find_packages(where="src"),
     entry_points={
         'pytest11': ['pytest-datadir = pytest_datadir.plugin'],
     },
+    package_dir={"": "src"},
     install_requires=['pytest>=2.7.0'],
     data_files = [("", ["LICENSE"])],
     author='Gabriel Reis',
@@ -28,6 +29,7 @@
     keywords='pytest test unittest directory file',
     extras_require={':python_version<"3.4"': ['pathlib2']},
     url='http://github.com/gabrielcnr/pytest-datadir',
+    python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
     classifiers=[
         'Development Status :: 5 - Production/Stable',
         'Intended Audience :: Developers',
@@ -37,6 +39,8 @@
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
         'Topic :: Software Development :: Quality Assurance',
         'Topic :: Software Development :: Testing',
     ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/src/pytest_datadir/__init__.py 
new/pytest-datadir-1.3.1/src/pytest_datadir/__init__.py
--- old/pytest-datadir-1.3.0/src/pytest_datadir/__init__.py     1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir/__init__.py     2019-10-22 
15:04:06.000000000 +0200
@@ -0,0 +1,7 @@
+from __future__ import absolute_import
+
+try:
+    from ._version import version
+    __version__ = version
+except ImportError:
+    __version__ = version = 'unknown'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/src/pytest_datadir/_version.py 
new/pytest-datadir-1.3.1/src/pytest_datadir/_version.py
--- old/pytest-datadir-1.3.0/src/pytest_datadir/_version.py     1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir/_version.py     2019-10-22 
15:04:21.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.3.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/src/pytest_datadir/plugin.py 
new/pytest-datadir-1.3.1/src/pytest_datadir/plugin.py
--- old/pytest-datadir-1.3.0/src/pytest_datadir/plugin.py       1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir/plugin.py       2019-10-22 
15:04:06.000000000 +0200
@@ -0,0 +1,48 @@
+import os
+import shutil
+import sys
+
+if sys.version_info[0] == 2:
+    from pathlib2 import Path
+else:
+    from pathlib import Path
+
+import pytest
+
+
+def _win32_longpath(path):
+    '''
+    Helper function to add the long path prefix for Windows, so that 
shutil.copytree won't fail
+    while working with paths with 255+ chars.
+    '''
+    if sys.platform == 'win32':
+        # The use of os.path.normpath here is necessary since "the "\\?\" 
prefix to a path string
+        # tells the Windows APIs to disable all string parsing and to send the 
string that follows
+        # it straight to the file system".
+        # (See 
https://docs.microsoft.com/pt-br/windows/desktop/FileIO/naming-a-file)
+        return '\\\\?\\' + os.path.normpath(path)
+    else:
+        return path
+
+
[email protected]
+def shared_datadir(request, tmpdir):
+    original_shared_path = os.path.join(request.fspath.dirname, 'data')
+    temp_path = Path(str(tmpdir.join('data')))
+    shutil.copytree(_win32_longpath(original_shared_path), 
_win32_longpath(str(temp_path)))
+    return temp_path
+
+
[email protected]
+def original_datadir(request):
+    return Path(os.path.splitext(request.module.__file__)[0])
+
+
[email protected]
+def datadir(original_datadir, tmpdir):
+    result = Path(str(tmpdir.join(original_datadir.stem)))
+    if original_datadir.is_dir():
+        shutil.copytree(_win32_longpath(str(original_datadir)), 
_win32_longpath(str(result)))
+    else:
+        result.mkdir()
+    return result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/PKG-INFO 
new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/PKG-INFO
--- old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/PKG-INFO       
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/PKG-INFO       
2019-10-22 15:04:21.000000000 +0200
@@ -0,0 +1,81 @@
+Metadata-Version: 2.1
+Name: pytest-datadir
+Version: 1.3.1
+Summary: pytest plugin for test data directories and files
+Home-page: http://github.com/gabrielcnr/pytest-datadir
+Author: Gabriel Reis
+Author-email: [email protected]
+License: MIT
+Description: # pytest-datadir
+        
+        pytest plugin for manipulating test data directories and files.
+        
+        [![Build 
Status](https://travis-ci.org/gabrielcnr/pytest-datadir.svg?branch=master)](https://travis-ci.org/gabrielcnr/pytest-datadir)
+        
[![PyPI](https://img.shields.io/pypi/v/pytest-datadir.svg)](https://pypi.python.org/pypi/pytest-datadir)
+        
[![PythonVersions](https://img.shields.io/pypi/pyversions/pytest-datadir.svg)](https://pypi.python.org/pypi/pytest-datadir)
+        
[![CondaForge](https://img.shields.io/conda/vn/conda-forge/pytest-datadir.svg)](https://anaconda.org/conda-forge/pytest-datadir)
+        
+        
+        # Usage
+        pytest-datadir will look up for a directory with the name of your 
module or the global 'data' folder.
+        Let's say you have a structure like this:
+        
+        ```
+        .
+        ├── data/
+        │   └── hello.txt
+        ├── test_hello/
+        │   └── spam.txt
+        └── test_hello.py
+        ```
+        You can access the contents of these files using injected variables 
`datadir` (for *test_* folder) or `shared_datadir`
+        (for *data* folder):
+        
+        ```python
+        def test_read_global(shared_datadir):
+            contents = (shared_datadir / 'hello.txt').read_text()
+            assert contents == 'Hello World!\n'
+        
+        def test_read_module(datadir):
+            contents = (datadir / 'spam.txt').read_text()
+            assert contents == 'eggs\n'
+        ```
+        
+        pytest-datadir will copy the original file to a temporary folder, so 
changing the file contents won't change the original data file.
+        
+        Both `datadir` and `shared_datadir` fixtures are `pathlib.Path` 
objects.
+        
+        # Releases
+        
+        Follow these steps to make a new release:
+        
+        1. Create a new branch `release-X.Y.Z` from `master`.
+        2. Update `CHANGELOG.rst`.
+        3. Open a PR.
+        4. After it is **green** and **approved**, push a new tag in the 
format `X.Y.Z`.
+        
+        Travis will deploy to PyPI automatically.
+        
+        Afterwards, update the recipe in 
[conda-forge/pytest-datadir-feedstock](https://github.com/conda-forge/pytest-datadir-feedstock).
+        
+        # License
+        
+        MIT.
+        
+        
+Keywords: pytest test unittest directory file
+Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: MIT License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python :: 2.7
+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 :: 3.8
+Classifier: Topic :: Software Development :: Quality Assurance
+Classifier: Topic :: Software Development :: Testing
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/SOURCES.txt 
new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/SOURCES.txt
--- old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/SOURCES.txt    
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/SOURCES.txt    
2019-10-22 15:04:21.000000000 +0200
@@ -0,0 +1,30 @@
+.gitignore
+.travis.yml
+AUTHORS
+CHANGELOG.rst
+LICENSE
+MANIFEST.in
+README.md
+appveyor.yml
+setup.cfg
+setup.py
+tox.ini
+src/pytest_datadir/__init__.py
+src/pytest_datadir/_version.py
+src/pytest_datadir/plugin.py
+src/pytest_datadir.egg-info/PKG-INFO
+src/pytest_datadir.egg-info/SOURCES.txt
+src/pytest_datadir.egg-info/dependency_links.txt
+src/pytest_datadir.egg-info/entry_points.txt
+src/pytest_datadir.egg-info/requires.txt
+src/pytest_datadir.egg-info/top_level.txt
+tests/test_hello.py
+tests/test_nonexistent.py
+tests/test_pathlib.py
+tests/data/over.txt
+tests/data/spam.txt
+tests/data/shared_directory/file.txt
+tests/test_hello/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.txt
+tests/test_hello/hello.txt
+tests/test_hello/over.txt
+tests/test_hello/local_directory/file.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/dependency_links.txt 
new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/dependency_links.txt
--- old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/dependency_links.txt   
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/dependency_links.txt   
2019-10-22 15:04:21.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/entry_points.txt 
new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/entry_points.txt
--- old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/entry_points.txt       
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/entry_points.txt       
2019-10-22 15:04:21.000000000 +0200
@@ -0,0 +1,3 @@
+[pytest11]
+pytest-datadir = pytest_datadir.plugin
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/requires.txt 
new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/requires.txt
--- old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/requires.txt   
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/requires.txt   
2019-10-22 15:04:21.000000000 +0200
@@ -0,0 +1,4 @@
+pytest>=2.7.0
+
+[:python_version<"3.4"]
+pathlib2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/top_level.txt 
new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/top_level.txt
--- old/pytest-datadir-1.3.0/src/pytest_datadir.egg-info/top_level.txt  
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-datadir-1.3.1/src/pytest_datadir.egg-info/top_level.txt  
2019-10-22 15:04:21.000000000 +0200
@@ -0,0 +1 @@
+pytest_datadir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-datadir-1.3.0/tox.ini 
new/pytest-datadir-1.3.1/tox.ini
--- old/pytest-datadir-1.3.0/tox.ini    2019-01-15 12:25:50.000000000 +0100
+++ new/pytest-datadir-1.3.1/tox.ini    2019-10-22 15:04:06.000000000 +0200
@@ -1,6 +1,6 @@
 [tox]
-envlist = py{27,34,35,36}
+envlist = py{27,34,35,36,37}
 
 [testenv]
 commands=
-    py.test {posargs:tests}
+    pytest {posargs:tests}


Reply via email to