Hello community,

here is the log from the commit of package python-pytest-openfiles for 
openSUSE:Factory checked in at 2020-04-21 13:05:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-openfiles (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-openfiles.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-openfiles"

Tue Apr 21 13:05:46 2020 rev:4 rq:795576 version:0.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-openfiles/python-pytest-openfiles.changes
  2019-07-22 12:21:49.487641785 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-openfiles.new.2738/python-pytest-openfiles.changes
        2020-04-21 13:05:47.700229236 +0200
@@ -1,0 +2,11 @@
+Sun Apr 19 14:30:45 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Update to 0.5.0:
+  * Updated package infrastructure. [gh#astropy/pytest-openfiles#29]
+  * Force garbage collection before checking for open files.
+    [gh#astropy/pytest-openfiles#30]
+- remove setup.cfg only in check phase. The package installed into
+  %python_sitelib/UNKNOWN* before
+- use %pytest macro
+
+-------------------------------------------------------------------

Old:
----
  pytest-openfiles-0.4.0.tar.gz

New:
----
  pytest-openfiles-0.5.0.tar.gz

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

Other differences:
------------------
++++++ python-pytest-openfiles.spec ++++++
--- /var/tmp/diff_new_pack.uoU0e2/_old  2020-04-21 13:05:48.300230433 +0200
+++ /var/tmp/diff_new_pack.uoU0e2/_new  2020-04-21 13:05:48.304230441 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-openfiles
 #
-# 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
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-pytest-openfiles
-Version:        0.4.0
+Version:        0.5.0
 Release:        0
 Summary:        Pytest plugin for detecting inadvertent open file handles
 License:        BSD-3-Clause
@@ -26,12 +27,13 @@
 URL:            https://github.com/astropy/pytest-openfiles
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-openfiles/pytest-openfiles-%{version}.tar.gz
 BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module pytest >= 2.8.0}
+BuildRequires:  %{python_module pytest >= 4.6}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-psutil
-Requires:       python-pytest >= 2.8.0
+Requires:       python-pytest >= 4.6
 BuildArch:      noarch
 %python_subpackages
 
@@ -42,8 +44,6 @@
 
 %prep
 %setup -q -n pytest-openfiles-%{version}
-# do not override pytest config
-rm setup.cfg
 
 %build
 %python_build
@@ -53,11 +53,14 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v
+# do not override pytest config
+rm setup.cfg
+%pytest
 
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license LICENSE.rst
-%{python_sitelib}/*
+%{python_sitelib}/pytest_openfiles
+%{python_sitelib}/pytest_openfiles-%{version}-py*.egg-info
 
 %changelog

++++++ pytest-openfiles-0.4.0.tar.gz -> pytest-openfiles-0.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/.gitignore 
new/pytest-openfiles-0.5.0/.gitignore
--- old/pytest-openfiles-0.4.0/.gitignore       2019-07-20 15:06:03.000000000 
+0200
+++ new/pytest-openfiles-0.5.0/.gitignore       2020-04-16 17:32:16.000000000 
+0200
@@ -55,3 +55,5 @@
 
 # PyCharm
 .idea
+
+pytest_openfiles/version.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/.travis.yml 
new/pytest-openfiles-0.5.0/.travis.yml
--- old/pytest-openfiles-0.4.0/.travis.yml      2019-07-20 15:06:03.000000000 
+0200
+++ new/pytest-openfiles-0.5.0/.travis.yml      2020-04-16 17:32:16.000000000 
+0200
@@ -14,32 +14,49 @@
         # The following versions are the 'default' for tests, unless
         # overidden underneath. They are defined here in order to save having
         # to repeat them for all configurations.
-        - PYTHON_VERSION=3.6
-        - PYTEST_VERSION=3.6
-        - PYTEST_COMMAND='pytest'
-        - NUMPY_VERSION=stable
-        - CONDA_DEPENDENCIES='six'
-
-    matrix:
-        - PYTHON_VERSION=2.7 PYTEST_VERSION=2.8 PYTEST_COMMAND='py.test'
-        - PYTHON_VERSION=2.7
-        - PYTHON_VERSION=3.5
-        - PYTHON_VERSION=3.6 PYTEST_VERSION=3.4
-        - PYTHON_VERSION=3.6 PYTEST_VERSION=3.5
-        - PYTHON_VERSION=3.6
-        - PYTHON_VERSION=3.7
+        - TOXENV='test'
+        - TOXARGS='-v'
+        - TOXPOSARGS=''
 
 matrix:
     include:
-        # Try a run on OSX with latest versions of python and pytest
+
+        - language: python
+          python: 3.6
+          name: Python 3.6 and pytest 4.6 (Linux)
+          env: TOXENV=py36-test-pytest46
+
+        - os: windows
+          name: Python 3.6 and pytest 5.0 (Windows)
+          env: PYTHON_VERSION=3.6
+               TOXENV=py36-test-pytest50
+
+        - os: osx
+          name: Python 3.7 and pytest 5.1 (MacOS X)
+          env: PYTHON_VERSION=3.7
+               TOXENV=py37-test-pytest51
+
+        - language: python
+          python: 3.7
+          name: Python 3.7 and pytest 5.2 (Linux)
+          env: TOXENV=py37-test-pytest52
+
+        - os: windows
+          name: Python 3.8 and pytest 5.3 (Windows)
+          env: PYTHON_VERSION=3.8
+               TOXENV=py38-test-pytest53
+
         - os: osx
-          env: PYTHON_VERSION=3.7 PYTEST_VERSION=3.7
+          name: Python 3.8 and pytest dev (MacOS X)
+          env: PYTHON_VERSION=3.8
+               TOXENV=py38-test-pytestdev
 
 install:
-    - git clone git://github.com/astropy/ci-helpers.git
-    - source ci-helpers/travis/setup_conda.sh
-    - python ./setup.py install
+    - if [[ $TRAVIS_OS_NAME == osx || $TRAVIS_OS_NAME == windows ]]; then
+        git clone git://github.com/astropy/ci-helpers.git;
+        source ci-helpers/travis/setup_conda.sh;
+      fi
 
 script:
-   - $PYTEST_COMMAND
-   - $PYTEST_COMMAND --open-files
+    - pip install tox
+    - tox $TOXARGS -- $TOXPOSARGS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/CHANGES.rst 
new/pytest-openfiles-0.5.0/CHANGES.rst
--- old/pytest-openfiles-0.4.0/CHANGES.rst      2019-07-20 15:06:37.000000000 
+0200
+++ new/pytest-openfiles-0.5.0/CHANGES.rst      2020-04-16 17:33:26.000000000 
+0200
@@ -1,5 +1,12 @@
-0.4 (2019-07-20)
-================
+0.5.0 (2020-04-16)
+==================
+
+- Updated package infrastructure. [#29]
+
+- Force garbage collection before checking for open files. [#30]
+
+0.4.0 (2019-07-20)
+==================
 
 - Added the ability to use ``*`` and ``?`` wildcards in
   ``open_files_ignore``. [#22]
@@ -30,7 +37,6 @@
 
 - Remove test dependency on astropy. [#4]
 
-
 0.1 (2017-10-09)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/MANIFEST.in 
new/pytest-openfiles-0.5.0/MANIFEST.in
--- old/pytest-openfiles-0.4.0/MANIFEST.in      2019-07-20 15:06:03.000000000 
+0200
+++ new/pytest-openfiles-0.5.0/MANIFEST.in      2020-04-16 17:32:17.000000000 
+0200
@@ -1,8 +1,8 @@
 include LICENSE.rst
 include README.rst
 include CHANGES.rst
-
 include setup.cfg
+include pyproject.toml
 
 recursive-include tests *
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/PKG-INFO 
new/pytest-openfiles-0.5.0/PKG-INFO
--- old/pytest-openfiles-0.4.0/PKG-INFO 2019-07-20 15:07:37.000000000 +0200
+++ new/pytest-openfiles-0.5.0/PKG-INFO 2020-04-16 17:34:42.899729000 +0200
@@ -1,8 +1,8 @@
 Metadata-Version: 1.2
 Name: pytest-openfiles
-Version: 0.4.0
+Version: 0.5.0
 Summary: Pytest plugin for detecting inadvertent open file handles
-Home-page: https://astropy.org
+Home-page: https://github.com/astropy/pytest-openfiles
 Author: The Astropy Developers
 Author-email: [email protected]
 License: BSD
@@ -18,8 +18,6 @@
         .. _pytest: https://pytest.org/en/latest/
         .. _astropy: https://astropy.org/en/latest/
         
-        **NOTE**: This plugin is not supported with Py2.7 on Win32 platforms.
-        
         Motivation
         ----------
         
@@ -100,10 +98,6 @@
             :target: https://travis-ci.org/astropy/pytest-openfiles
             :alt: Travis CI Status
         
-        .. image:: 
https://ci.appveyor.com/api/projects/status/944gtt7n0o1d6826/branch/master?svg=true
-            :target: 
https://ci.appveyor.com/project/Astropy/pytest-openfiles/branch/master
-            :alt: Appveyor Status
-        
         Questions, bug reports, and feature requests can be submitted on 
`github`_.
         
         .. _github: https://github.com/astropy/pytest-openfiles
@@ -121,13 +115,12 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Utilities
-Requires-Python: >=2.7
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/README.rst 
new/pytest-openfiles-0.5.0/README.rst
--- old/pytest-openfiles-0.4.0/README.rst       2019-07-20 15:06:03.000000000 
+0200
+++ new/pytest-openfiles-0.5.0/README.rst       2020-04-16 17:32:17.000000000 
+0200
@@ -10,8 +10,6 @@
 .. _pytest: https://pytest.org/en/latest/
 .. _astropy: https://astropy.org/en/latest/
 
-**NOTE**: This plugin is not supported with Py2.7 on Win32 platforms.
-
 Motivation
 ----------
 
@@ -92,10 +90,6 @@
     :target: https://travis-ci.org/astropy/pytest-openfiles
     :alt: Travis CI Status
 
-.. image:: 
https://ci.appveyor.com/api/projects/status/944gtt7n0o1d6826/branch/master?svg=true
-    :target: 
https://ci.appveyor.com/project/Astropy/pytest-openfiles/branch/master
-    :alt: Appveyor Status
-
 Questions, bug reports, and feature requests can be submitted on `github`_.
 
 .. _github: https://github.com/astropy/pytest-openfiles
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/appveyor.yml 
new/pytest-openfiles-0.5.0/appveyor.yml
--- old/pytest-openfiles-0.4.0/appveyor.yml     2019-07-20 15:06:03.000000000 
+0200
+++ new/pytest-openfiles-0.5.0/appveyor.yml     1970-01-01 01:00:00.000000000 
+0100
@@ -1,55 +0,0 @@
-# AppVeyor.com is a Continuous Integration service to build and run tests under
-# Windows
-
-environment:
-
-  global:
-      PYTHON: "C:\\conda"
-      MINICONDA_VERSION: "latest"
-      CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
-      PYTEST_VERSION: "3.6"
-      PYTEST_COMMAND: "pytest"
-      NUMPY_VERSION: "stable"
-      CONDA_DEPENDENCIES: "six"
-      PYTHON_ARCH: "64"
-
-  matrix:
-      - PYTHON_VERSION: "2.7"
-        PYTEST_VESION: "2.8"
-        PYTEST_COMMAND: "py.test"
-        platform: x64
-
-      - PYTHON_VERSION: "2.7"
-        platform: x64
-
-      - PYTHON_VERSION: "3.5"
-        NUMPY_VERSION: "1.15"
-        platform: x64
-
-      - PYTHON_VERSION: "3.6"
-        PYTEST_VERSION: "3.4"
-        platform: x64
-
-      - PYTHON_VERSION: "3.6"
-        PYTEST_VERSION: "3.5"
-        platform: x64
-
-      - PYTHON_VERSION: "3.6"
-        platform: x86
-
-      - PYTHON_VERSION: "3.7"
-        platform: x64
-
-install:
-    - "git clone git://github.com/astropy/ci-helpers.git"
-    - "powershell ci-helpers/appveyor/install-miniconda.ps1"
-    - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
-    - "activate test"
-    - "%CMD_IN_ENV% python setup.py install"
-
-# Not a .NET project
-build: false
-
-test_script:
-  - "%CMD_IN_ENV% %PYTEST_COMMAND%"
-  - "%CMD_IN_ENV% %PYTEST_COMMAND% --open-files"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/pyproject.toml 
new/pytest-openfiles-0.5.0/pyproject.toml
--- old/pytest-openfiles-0.4.0/pyproject.toml   1970-01-01 01:00:00.000000000 
+0100
+++ new/pytest-openfiles-0.5.0/pyproject.toml   2020-04-16 17:32:17.000000000 
+0200
@@ -0,0 +1,5 @@
+[build-system]
+requires = ["setuptools",
+            "setuptools_scm",
+            "wheel"]
+build-backend = 'setuptools.build_meta'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/pytest_openfiles/__init__.py 
new/pytest-openfiles-0.5.0/pytest_openfiles/__init__.py
--- old/pytest-openfiles-0.4.0/pytest_openfiles/__init__.py     2017-11-27 
23:53:34.000000000 +0100
+++ new/pytest-openfiles-0.5.0/pytest_openfiles/__init__.py     2020-04-16 
17:32:17.000000000 +0200
@@ -2,3 +2,5 @@
 """
 This package contains pytest plugins that are used by the astropy test suite.
 """
+
+from .version import version as __version__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/pytest_openfiles/plugin.py 
new/pytest-openfiles-0.5.0/pytest_openfiles/plugin.py
--- old/pytest-openfiles-0.4.0/pytest_openfiles/plugin.py       2019-07-20 
15:06:03.000000000 +0200
+++ new/pytest-openfiles-0.5.0/pytest_openfiles/plugin.py       2020-04-16 
17:32:17.000000000 +0200
@@ -4,6 +4,7 @@
 closed.
 """
 import os
+import gc
 import fnmatch
 
 from distutils.version import LooseVersion
@@ -88,6 +89,13 @@
     start_open_files = item.open_files
     del item.open_files
 
+    # We now force garbage collection - we need to do this because e.g. in 
cases
+    # where a memory mapped array was opened in the test and then goes out of
+    # scope at the end of the test, the original file may still be open but
+    # can be properly closed by forcing gc.collect(). This was found to be
+    # needed for astropy.io.fits under certain circumstances.
+    gc.collect()
+
     open_files = _get_open_file_list()
 
     # This works in tandem with the test_open_file_detection test to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/pytest_openfiles/version.py 
new/pytest-openfiles-0.5.0/pytest_openfiles/version.py
--- old/pytest-openfiles-0.4.0/pytest_openfiles/version.py      1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-openfiles-0.5.0/pytest_openfiles/version.py      2020-04-16 
17:34:42.000000000 +0200
@@ -0,0 +1,4 @@
+# coding: utf-8
+# file generated by setuptools_scm
+# don't change, don't track in version control
+version = '0.5.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-openfiles-0.4.0/pytest_openfiles.egg-info/PKG-INFO 
new/pytest-openfiles-0.5.0/pytest_openfiles.egg-info/PKG-INFO
--- old/pytest-openfiles-0.4.0/pytest_openfiles.egg-info/PKG-INFO       
2019-07-20 15:07:37.000000000 +0200
+++ new/pytest-openfiles-0.5.0/pytest_openfiles.egg-info/PKG-INFO       
2020-04-16 17:34:42.000000000 +0200
@@ -1,8 +1,8 @@
 Metadata-Version: 1.2
 Name: pytest-openfiles
-Version: 0.4.0
+Version: 0.5.0
 Summary: Pytest plugin for detecting inadvertent open file handles
-Home-page: https://astropy.org
+Home-page: https://github.com/astropy/pytest-openfiles
 Author: The Astropy Developers
 Author-email: [email protected]
 License: BSD
@@ -18,8 +18,6 @@
         .. _pytest: https://pytest.org/en/latest/
         .. _astropy: https://astropy.org/en/latest/
         
-        **NOTE**: This plugin is not supported with Py2.7 on Win32 platforms.
-        
         Motivation
         ----------
         
@@ -100,10 +98,6 @@
             :target: https://travis-ci.org/astropy/pytest-openfiles
             :alt: Travis CI Status
         
-        .. image:: 
https://ci.appveyor.com/api/projects/status/944gtt7n0o1d6826/branch/master?svg=true
-            :target: 
https://ci.appveyor.com/project/Astropy/pytest-openfiles/branch/master
-            :alt: Appveyor Status
-        
         Questions, bug reports, and feature requests can be submitted on 
`github`_.
         
         .. _github: https://github.com/astropy/pytest-openfiles
@@ -121,13 +115,12 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Utilities
-Requires-Python: >=2.7
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-openfiles-0.4.0/pytest_openfiles.egg-info/SOURCES.txt 
new/pytest-openfiles-0.5.0/pytest_openfiles.egg-info/SOURCES.txt
--- old/pytest-openfiles-0.4.0/pytest_openfiles.egg-info/SOURCES.txt    
2019-07-20 15:07:37.000000000 +0200
+++ new/pytest-openfiles-0.5.0/pytest_openfiles.egg-info/SOURCES.txt    
2020-04-16 17:34:42.000000000 +0200
@@ -4,11 +4,13 @@
 LICENSE.rst
 MANIFEST.in
 README.rst
-appveyor.yml
+pyproject.toml
 setup.cfg
 setup.py
+tox.ini
 pytest_openfiles/__init__.py
 pytest_openfiles/plugin.py
+pytest_openfiles/version.py
 pytest_openfiles.egg-info/PKG-INFO
 pytest_openfiles.egg-info/SOURCES.txt
 pytest_openfiles.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-openfiles-0.4.0/pytest_openfiles.egg-info/requires.txt 
new/pytest-openfiles-0.5.0/pytest_openfiles.egg-info/requires.txt
--- old/pytest-openfiles-0.4.0/pytest_openfiles.egg-info/requires.txt   
2019-07-20 15:07:37.000000000 +0200
+++ new/pytest-openfiles-0.5.0/pytest_openfiles.egg-info/requires.txt   
2020-04-16 17:34:42.000000000 +0200
@@ -1,2 +1,2 @@
-pytest>=2.8.0
 psutil
+pytest>=4.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/setup.cfg 
new/pytest-openfiles-0.5.0/setup.cfg
--- old/pytest-openfiles-0.4.0/setup.cfg        2019-07-20 15:07:37.000000000 
+0200
+++ new/pytest-openfiles-0.5.0/setup.cfg        2020-04-16 17:34:42.899729000 
+0200
@@ -1,7 +1,6 @@
 [metadata]
 name = pytest-openfiles
-version = 0.4.0
-url = https://astropy.org
+url = https://github.com/astropy/pytest-openfiles
 author = The Astropy Developers
 author_email = [email protected]
 classifiers = 
@@ -11,12 +10,11 @@
        License :: OSI Approved :: BSD License
        Operating System :: OS Independent
        Programming Language :: Python
-       Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
-       Programming Language :: Python :: 3.3
-       Programming Language :: Python :: 3.4
-       Programming Language :: Python :: 3.5
+       Programming Language :: Python :: 3 :: Only
        Programming Language :: Python :: 3.6
+       Programming Language :: Python :: 3.7
+       Programming Language :: Python :: 3.8
        Programming Language :: Python :: Implementation :: CPython
        Topic :: Software Development :: Testing
        Topic :: Utilities
@@ -28,9 +26,11 @@
 [options]
 zip_safe = False
 packages = find:
-python_requires = >=2.7
+python_requires = >=3.6
+setup_requires = 
+       setuptools_scm
 install_requires = 
-       pytest>=2.8.0
+       pytest>=4.6
        psutil
 
 [options.entry_points]
@@ -42,7 +42,7 @@
        tests
 
 [tool:pytest]
-minversion = 2.8
+minversion = 4.6
 testpaths = tests
 
 [egg_info]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/setup.py 
new/pytest-openfiles-0.5.0/setup.py
--- old/pytest-openfiles-0.4.0/setup.py 2019-07-16 03:37:45.000000000 +0200
+++ new/pytest-openfiles-0.5.0/setup.py 2020-04-16 17:32:17.000000000 +0200
@@ -1,5 +1,6 @@
 #!/usr/bin/env python
 
+import os
 import sys
 import setuptools
 from distutils.version import LooseVersion
@@ -11,4 +12,4 @@
                      "later (found {0})".format(setuptools.__version__))
     sys.exit(1)
 
-setup()
+setup(use_scm_version={'write_to': os.path.join('pytest_openfiles', 
'version.py')})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-openfiles-0.4.0/tox.ini 
new/pytest-openfiles-0.5.0/tox.ini
--- old/pytest-openfiles-0.4.0/tox.ini  1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-openfiles-0.5.0/tox.ini  2020-04-16 17:32:17.000000000 +0200
@@ -0,0 +1,30 @@
+[tox]
+envlist =
+    py{36,37,38}-test{,-devdeps}
+    codestyle
+requires =
+    setuptools >= 30.3.0
+    pip >= 19.3.1
+isolated_build = true
+
+[testenv]
+changedir = .tmp/{envname}
+description = run tests
+deps =
+    pytest46: pytest==4.6.*
+    pytest50: pytest==5.0.*
+    pytest51: pytest==5.1.*
+    pytest52: pytest==5.2.*
+    pytest53: pytest==5.3.*
+    pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
+
+commands =
+    pip freeze
+    pytest {toxinidir}/tests {posargs}
+    pytest --open-files {toxinidir}/tests {posargs}
+
+[testenv:codestyle]
+skip_install = true
+description = check code style, e.g. with flake8
+deps = flake8
+commands = flake8 pytest_openfiles --count


Reply via email to