forked from pool/python-pytest-filter-subpackage
Accepting request 1084905 from devel:languages:python:pytest
- 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)
OBS-URL: https://build.opensuse.org/request/show/1084905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-filter-subpackage?expand=0&rev=5
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
Index: pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py
|
||||
===================================================================
|
||||
--- pytest-filter-subpackage-0.1.1.orig/tests/test_filter_subpackage.py
|
||||
+++ pytest-filter-subpackage-0.1.1/tests/test_filter_subpackage.py
|
||||
@@ -14,7 +14,7 @@ def test_with_rst(testdir, testpackage):
|
||||
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):
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b7d8fc3a42989b652032e6b0998a87dd00d43bf2b013ba5d2e86f930da149ae8
|
||||
size 6532
|
||||
3
pytest-filter-subpackage-0.1.2.tar.gz
Normal file
3
pytest-filter-subpackage-0.1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1faea36717803e524588d6c109d26d20d3b34422e8d6a96812758977dca01782
|
||||
size 7071
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 23:15:01 UTC 2023 - Dirk Müller <dmueller@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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 22 16:17:21 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user