Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-filter-subpackage for 
openSUSE:Factory checked in at 2023-05-05 17:12:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-filter-subpackage (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-filter-subpackage.new.1533 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-filter-subpackage"

Fri May  5 17:12:49 2023 rev:5 rq:1084905 version:0.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-filter-subpackage/python-pytest-filter-subpackage.changes
  2021-10-23 23:14:17.272990233 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-filter-subpackage.new.1533/python-pytest-filter-subpackage.changes
        2023-05-05 17:13:01.495290727 +0200
@@ -1,0 +2,9 @@
+Thu May  4 23:15:01 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.1.2:
+  * Fixed bug that caused ``-P time`` to also match
+    ``package.timeseries``. [#7]
+  * Dropped Python 3.6 support.
+- drop fix-doctestplus-count.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  fix-doctestplus-count.patch
  pytest-filter-subpackage-0.1.1.tar.gz

New:
----
  pytest-filter-subpackage-0.1.2.tar.gz

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

Other differences:
------------------
++++++ python-pytest-filter-subpackage.spec ++++++
--- /var/tmp/diff_new_pack.YqPdGY/_old  2023-05-05 17:13:03.179300534 +0200
+++ /var/tmp/diff_new_pack.YqPdGY/_new  2023-05-05 17:13:03.187300581 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-filter-subpackage
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,14 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
-%define skip_python36 1
+%{?sle15_python_module_pythons}
 Name:           python-pytest-filter-subpackage
-Version:        0.1.1
+Version:        0.1.2
 Release:        0
 Summary:        Pytest plugin for filtering based on sub-packages
 License:        BSD-3-Clause
 URL:            https://github.com/astropy/pytest-filter-subpackage
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-filter-subpackage/pytest-filter-subpackage-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM -- fix gh#astropy/pytest-filter-subpackage#3
-Patch0:         fix-doctestplus-count.patch
 BuildRequires:  %{python_module pytest >= 3.0}
 # Patch0 is for the change from doctestplus 0.5 to 0.6
 BuildRequires:  %{python_module pytest-doctestplus >= 0.6}

++++++ pytest-filter-subpackage-0.1.1.tar.gz -> 
pytest-filter-subpackage-0.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-filter-subpackage-0.1.1/.github/workflows/publish.yml 
new/pytest-filter-subpackage-0.1.2/.github/workflows/publish.yml
--- old/pytest-filter-subpackage-0.1.1/.github/workflows/publish.yml    
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-filter-subpackage-0.1.2/.github/workflows/publish.yml    
2022-12-12 03:31:33.000000000 +0100
@@ -0,0 +1,46 @@
+name: Release
+
+on:
+  pull_request:
+  push:
+    tags:
+      - '*'
+
+jobs:
+  build-n-publish:
+    name: Build and publish Python 🐍 distributions 📦 to PyPI
+    runs-on: ubuntu-latest
+    if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) 
|| contains(github.event.pull_request.labels.*.name, 'Build wheels'))
+
+    steps:
+    - uses: actions/checkout@v2
+      with:
+        fetch-depth: 0
+    - uses: actions/setup-python@v2
+      with:
+        python-version: 3.8
+
+    - name: Install python-build and twine
+      run: python -m pip install pip build "twine>=3.3" -U
+
+    - name: Build package
+      run: python -m build --sdist --wheel .
+
+    - name: List result
+      run: ls -l dist
+
+    - name: Check long_description
+      run: python -m twine check --strict dist/*
+
+    - name: Test package
+      run: |
+        cd ..
+        python -m venv testenv
+        testenv/bin/pip install pytest pytest-doctestplus 
pytest-filter-subpackage/dist/*.whl
+        testenv/bin/pytest pytest-filter-subpackage
+    - name: Publish distribution 📦 to PyPI
+      if: startsWith(github.ref, 'refs/tags')
+      uses: pypa/gh-action-pypi-publish@release/v1
+      with:
+        user: __token__
+        password: ${{ secrets.pypi_password }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-filter-subpackage-0.1.1/CHANGES.rst 
new/pytest-filter-subpackage-0.1.2/CHANGES.rst
--- old/pytest-filter-subpackage-0.1.1/CHANGES.rst      2020-01-09 
16:10:32.000000000 +0100
+++ new/pytest-filter-subpackage-0.1.2/CHANGES.rst      2022-12-12 
03:31:33.000000000 +0100
@@ -1,3 +1,10 @@
+0.1.2 (2022-12-11)
+==================
+
+- Fixed bug that caused ``-P time`` to also match ``package.timeseries``. [#7]
+
+- Dropped Python 3.6 support.
+
 0.1.1 (2020-01-09)
 ==================
 
@@ -7,4 +14,3 @@
 ================
 
 - Initial version.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-filter-subpackage-0.1.1/PKG-INFO 
new/pytest-filter-subpackage-0.1.2/PKG-INFO
--- old/pytest-filter-subpackage-0.1.1/PKG-INFO 2020-01-09 16:10:54.679964300 
+0100
+++ new/pytest-filter-subpackage-0.1.2/PKG-INFO 2022-12-12 03:31:49.635763400 
+0100
@@ -1,63 +1,12 @@
 Metadata-Version: 2.1
 Name: pytest-filter-subpackage
-Version: 0.1.1
+Version: 0.1.2
 Summary: Pytest plugin for filtering based on sub-packages
-Home-page: https://astropy.org
+Home-page: https://github.com/astropy/pytest-filter-subpackage
 Author: The Astropy Developers
 Author-email: astropy.t...@gmail.com
 License: BSD
-Description: ========================
-        pytest-filter-subpackage
-        ========================
-        
-        .. image:: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_apis/build/status/astropy.pytest-filter-subpackage?branchName=master
-           :target: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_build/latest?definitionId=5&branchName=master
-        
-        This package contains a simple plugin for the `pytest`_ framework that 
provides a
-        shortcut to testing all code and documentation for a given sub-package.
-        
-        .. _pytest: https://pytest.org/en/latest/
-        
-        Installation
-        ------------
-        
-        The ``pytest-filter-subpackage`` plugin can be installed using 
``pip``::
-        
-            $ pip install pytest-filter-subpackage
-        
-        It is also possible to install the latest development version from the 
source
-        repository::
-        
-            $ git clone https://github.com/astropy/pytest-filter-subpackage
-            $ cd pytest-filter-subpackage
-            $ pip install .
-        
-        In either case, the plugin will automatically be registered for use 
with
-        ``pytest``.
-        
-        Usage
-        -----
-        
-        This plugin provides a ``-P`` option which takes a comma-separated list
-        of sub-package names (without the top-level package name)::
-        
-            pytest -P wcs,io.fits
-        
-        which is equivalent to::
-        
-            pytest **/wcs **/io/fits
-        
-        When used in conjunction with `pytest-doctestplus
-        <http://github.com/astropy/pytest-doctestplus>`_ this will result in 
both
-        the narrative documentation and code being tested for a given 
sub-package.
-        
-        License
-        -------
-        This plugin is licensed under a 3-clause BSD style license - see the
-        ``LICENSE.rst`` file.
-        
 Keywords: pytest,py.test
-Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Framework :: Pytest
 Classifier: Intended Audience :: Developers
@@ -65,10 +14,64 @@
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Utilities
-Requires-Python: >=3.6
+Requires-Python: >=3.7
+Description-Content-Type: text/x-rst
 Provides-Extra: test
+License-File: LICENSE.rst
+
+========================
+pytest-filter-subpackage
+========================
+
+.. image:: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_apis/build/status/astropy.pytest-filter-subpackage?branchName=main
+   :target: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_build/latest?definitionId=5&branchName=main
+
+This package contains a simple plugin for the `pytest`_ framework that 
provides a
+shortcut to testing all code and documentation for a given sub-package.
+
+.. _pytest: https://pytest.org/en/latest/
+
+Installation
+------------
+
+The ``pytest-filter-subpackage`` plugin can be installed using ``pip``::
+
+    $ pip install pytest-filter-subpackage
+
+It is also possible to install the latest development version from the source
+repository::
+
+    $ git clone https://github.com/astropy/pytest-filter-subpackage
+    $ cd pytest-filter-subpackage
+    $ pip install .
+
+In either case, the plugin will automatically be registered for use with
+``pytest``.
+
+Usage
+-----
+
+This plugin provides a ``-P`` option which takes a comma-separated list
+of sub-package names (without the top-level package name)::
+
+    pytest -P wcs,io.fits
+
+which is equivalent to::
+
+    pytest **/wcs **/io/fits
+
+When used in conjunction with `pytest-doctestplus
+<http://github.com/astropy/pytest-doctestplus>`_ this will result in both
+the narrative documentation and code being tested for a given sub-package.
+
+License
+-------
+This plugin is licensed under a 3-clause BSD style license - see the
+``LICENSE.rst`` file.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-filter-subpackage-0.1.1/README.rst 
new/pytest-filter-subpackage-0.1.2/README.rst
--- old/pytest-filter-subpackage-0.1.1/README.rst       2019-12-29 
13:41:34.000000000 +0100
+++ new/pytest-filter-subpackage-0.1.2/README.rst       2022-12-12 
03:31:33.000000000 +0100
@@ -2,8 +2,8 @@
 pytest-filter-subpackage
 ========================
 
-.. image:: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_apis/build/status/astropy.pytest-filter-subpackage?branchName=master
-   :target: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_build/latest?definitionId=5&branchName=master
+.. image:: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_apis/build/status/astropy.pytest-filter-subpackage?branchName=main
+   :target: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_build/latest?definitionId=5&branchName=main
 
 This package contains a simple plugin for the `pytest`_ framework that 
provides a
 shortcut to testing all code and documentation for a given sub-package.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-filter-subpackage-0.1.1/azure-pipelines.yml 
new/pytest-filter-subpackage-0.1.2/azure-pipelines.yml
--- old/pytest-filter-subpackage-0.1.1/azure-pipelines.yml      2020-01-09 
15:39:58.000000000 +0100
+++ new/pytest-filter-subpackage-0.1.2/azure-pipelines.yml      2022-12-12 
03:31:33.000000000 +0100
@@ -13,12 +13,22 @@
     # Code style
     - linux: codestyle
     # Standard tests
-    - linux: py36-test
     - linux: py37-test
     - linux: py38-test
-    - macos: py36-test
+    - linux: py39-test
+    - linux: py310-test
+    - linux: py311-test
     - macos: py37-test
     - macos: py38-test
-    - windows: py36-test
-    - windows: py37-test
+    - macos: py39-test
+    - macos: py310-test
     - windows: py38-test
+    - windows: py39-test
+    - windows: py310-test
+
+# Until https://github.com/OpenAstronomy/azure-pipelines-templates/issues/86 
is fixed, then move this back to the previous job
+- template: run-tox-env.yml@OpenAstronomy
+  parameters:
+    toxverspec: <4
+    envs:
+    - windows: py37-test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage/plugin.py 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage/plugin.py
--- old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage/plugin.py       
2020-01-09 15:54:14.000000000 +0100
+++ new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage/plugin.py       
2022-12-12 03:31:33.000000000 +0100
@@ -51,16 +51,18 @@
             break
         found_prev = found
 
-    path = os.path.sep.join(path[i+1:])
-
-    subpackage = '.'.join(path.split(os.path.sep))
+    subpackage_path = path[i+1:]
 
     # Find selected sub-packages
     selected = config.getvalue('package').strip().split(',')
 
     # Finally, we check if this is one of the specified ones
     for subpackage_target in selected:
-        if subpackage.startswith(subpackage_target):
+        for i, target in enumerate(subpackage_target.split('.')):
+            if i >= len(subpackage_path) or target != subpackage_path[i]:
+                break
+
+        else:
             return None
 
     return True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage/version.py 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage/version.py
--- old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage/version.py      
2020-01-09 16:10:54.000000000 +0100
+++ new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage/version.py      
2022-12-12 03:31:49.000000000 +0100
@@ -1,4 +1,5 @@
 # coding: utf-8
 # file generated by setuptools_scm
 # don't change, don't track in version control
-version = '0.1.1'
+__version__ = version = '0.1.2'
+__version_tuple__ = version_tuple = (0, 1, 2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage.egg-info/PKG-INFO 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage.egg-info/PKG-INFO
--- 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage.egg-info/PKG-INFO   
    2020-01-09 16:10:54.000000000 +0100
+++ 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage.egg-info/PKG-INFO   
    2022-12-12 03:31:49.000000000 +0100
@@ -1,63 +1,12 @@
 Metadata-Version: 2.1
 Name: pytest-filter-subpackage
-Version: 0.1.1
+Version: 0.1.2
 Summary: Pytest plugin for filtering based on sub-packages
-Home-page: https://astropy.org
+Home-page: https://github.com/astropy/pytest-filter-subpackage
 Author: The Astropy Developers
 Author-email: astropy.t...@gmail.com
 License: BSD
-Description: ========================
-        pytest-filter-subpackage
-        ========================
-        
-        .. image:: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_apis/build/status/astropy.pytest-filter-subpackage?branchName=master
-           :target: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_build/latest?definitionId=5&branchName=master
-        
-        This package contains a simple plugin for the `pytest`_ framework that 
provides a
-        shortcut to testing all code and documentation for a given sub-package.
-        
-        .. _pytest: https://pytest.org/en/latest/
-        
-        Installation
-        ------------
-        
-        The ``pytest-filter-subpackage`` plugin can be installed using 
``pip``::
-        
-            $ pip install pytest-filter-subpackage
-        
-        It is also possible to install the latest development version from the 
source
-        repository::
-        
-            $ git clone https://github.com/astropy/pytest-filter-subpackage
-            $ cd pytest-filter-subpackage
-            $ pip install .
-        
-        In either case, the plugin will automatically be registered for use 
with
-        ``pytest``.
-        
-        Usage
-        -----
-        
-        This plugin provides a ``-P`` option which takes a comma-separated list
-        of sub-package names (without the top-level package name)::
-        
-            pytest -P wcs,io.fits
-        
-        which is equivalent to::
-        
-            pytest **/wcs **/io/fits
-        
-        When used in conjunction with `pytest-doctestplus
-        <http://github.com/astropy/pytest-doctestplus>`_ this will result in 
both
-        the narrative documentation and code being tested for a given 
sub-package.
-        
-        License
-        -------
-        This plugin is licensed under a 3-clause BSD style license - see the
-        ``LICENSE.rst`` file.
-        
 Keywords: pytest,py.test
-Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Framework :: Pytest
 Classifier: Intended Audience :: Developers
@@ -65,10 +14,64 @@
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Utilities
-Requires-Python: >=3.6
+Requires-Python: >=3.7
+Description-Content-Type: text/x-rst
 Provides-Extra: test
+License-File: LICENSE.rst
+
+========================
+pytest-filter-subpackage
+========================
+
+.. image:: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_apis/build/status/astropy.pytest-filter-subpackage?branchName=main
+   :target: 
https://dev.azure.com/astropy-project/pytest-filter-subpackage/_build/latest?definitionId=5&branchName=main
+
+This package contains a simple plugin for the `pytest`_ framework that 
provides a
+shortcut to testing all code and documentation for a given sub-package.
+
+.. _pytest: https://pytest.org/en/latest/
+
+Installation
+------------
+
+The ``pytest-filter-subpackage`` plugin can be installed using ``pip``::
+
+    $ pip install pytest-filter-subpackage
+
+It is also possible to install the latest development version from the source
+repository::
+
+    $ git clone https://github.com/astropy/pytest-filter-subpackage
+    $ cd pytest-filter-subpackage
+    $ pip install .
+
+In either case, the plugin will automatically be registered for use with
+``pytest``.
+
+Usage
+-----
+
+This plugin provides a ``-P`` option which takes a comma-separated list
+of sub-package names (without the top-level package name)::
+
+    pytest -P wcs,io.fits
+
+which is equivalent to::
+
+    pytest **/wcs **/io/fits
+
+When used in conjunction with `pytest-doctestplus
+<http://github.com/astropy/pytest-doctestplus>`_ this will result in both
+the narrative documentation and code being tested for a given sub-package.
+
+License
+-------
+This plugin is licensed under a 3-clause BSD style license - see the
+``LICENSE.rst`` file.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage.egg-info/SOURCES.txt
 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage.egg-info/SOURCES.txt
--- 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage.egg-info/SOURCES.txt
    2020-01-09 16:10:54.000000000 +0100
+++ 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage.egg-info/SOURCES.txt
    2022-12-12 03:31:49.000000000 +0100
@@ -8,6 +8,7 @@
 setup.cfg
 setup.py
 tox.ini
+.github/workflows/publish.yml
 pytest_filter_subpackage/__init__.py
 pytest_filter_subpackage/plugin.py
 pytest_filter_subpackage/version.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage.egg-info/entry_points.txt
 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage.egg-info/entry_points.txt
--- 
old/pytest-filter-subpackage-0.1.1/pytest_filter_subpackage.egg-info/entry_points.txt
       2020-01-09 16:10:54.000000000 +0100
+++ 
new/pytest-filter-subpackage-0.1.2/pytest_filter_subpackage.egg-info/entry_points.txt
       2022-12-12 03:31:49.000000000 +0100
@@ -1,3 +1,2 @@
 [pytest11]
 pytest_filter_subpackage = pytest_filter_subpackage.plugin
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-filter-subpackage-0.1.1/setup.cfg 
new/pytest-filter-subpackage-0.1.2/setup.cfg
--- old/pytest-filter-subpackage-0.1.1/setup.cfg        2020-01-09 
16:10:54.683317700 +0100
+++ new/pytest-filter-subpackage-0.1.2/setup.cfg        2022-12-12 
03:31:49.635763400 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = pytest-filter-subpackage
-url = https://astropy.org
+url = https://github.com/astropy/pytest-filter-subpackage
 author = The Astropy Developers
 author_email = astropy.t...@gmail.com
 classifiers = 
@@ -11,20 +11,23 @@
        Operating System :: OS Independent
        Programming Language :: Python
        Programming Language :: Python :: 3
-       Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
        Programming Language :: Python :: 3.8
+       Programming Language :: Python :: 3.9
+       Programming Language :: Python :: 3.10
+       Programming Language :: Python :: 3.11
        Topic :: Software Development :: Testing
        Topic :: Utilities
 license = BSD
 description = Pytest plugin for filtering based on sub-packages
 long_description = file: README.rst
+long_description_content_type = text/x-rst
 keywords = pytest, py.test
 
 [options]
 zip_safe = False
 packages = find:
-python_requires = >=3.6
+python_requires = >=3.7
 install_requires = 
        pytest>=3.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-filter-subpackage-0.1.1/setup.py 
new/pytest-filter-subpackage-0.1.2/setup.py
--- old/pytest-filter-subpackage-0.1.1/setup.py 2019-12-27 11:05:15.000000000 
+0100
+++ new/pytest-filter-subpackage-0.1.2/setup.py 2022-12-12 03:31:33.000000000 
+0100
@@ -1,16 +1,5 @@
 #!/usr/bin/env python
-
 import os
-import sys
-from distutils.version import LooseVersion
-
-try:
-    import setuptools
-    assert LooseVersion(setuptools.__version__) >= LooseVersion('30.3')
-except (ImportError, AssertionError):
-    sys.stderr.write("ERROR: setuptools 30.3 or later is required\n")
-    sys.exit(1)
-
 from setuptools import setup
 
 setup(use_scm_version={'write_to': os.path.join('pytest_filter_subpackage', 
'version.py')})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py 
new/pytest-filter-subpackage-0.1.2/tests/test_filter_subpackage.py
--- old/pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py  
2020-01-09 15:41:18.000000000 +0100
+++ new/pytest-filter-subpackage-0.1.2/tests/test_filter_subpackage.py  
2022-12-12 03:31:33.000000000 +0100
@@ -14,7 +14,7 @@
     doctest_plus = enabled
     """)
     reprec = testdir.inline_run('--doctest-rst')
-    reprec.assertoutcome(passed=8, failed=3)
+    reprec.assertoutcome(passed=7, failed=3)
 
 
 def test_flag_single_subpackage(testdir, testpackage):
@@ -53,3 +53,9 @@
     # Check that -P c will collect tests in c.d
     reprec = testdir.inline_run('-P c')
     reprec.assertoutcome(passed=2, failed=2)
+
+
+def test_flag_single_subsubpackage(testdir, testpackage):
+    # Check that -P c.d will not collect tests in c.
+    reprec = testdir.inline_run('-P c.d')
+    reprec.assertoutcome(passed=1, failed=1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-filter-subpackage-0.1.1/tox.ini 
new/pytest-filter-subpackage-0.1.2/tox.ini
--- old/pytest-filter-subpackage-0.1.1/tox.ini  2020-01-09 15:39:58.000000000 
+0100
+++ new/pytest-filter-subpackage-0.1.2/tox.ini  2022-12-12 03:31:33.000000000 
+0100
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py{36,37,38}-test
+    py{37,38,39,310,311}-test
     codestyle
 requires =
     setuptools >= 30.3.0

Reply via email to