diff --git a/0001-fix-test-failures-adpating-to-pytest.patch b/0001-fix-test-failures-adpating-to-pytest.patch new file mode 100644 index 0000000..a9d16d1 --- /dev/null +++ b/0001-fix-test-failures-adpating-to-pytest.patch @@ -0,0 +1,22 @@ +From eeeda87c8a1692cc0fbbab3874a8ebaaffeebfd0 Mon Sep 17 00:00:00 2001 +From: jackie_wu +Date: Sat, 9 Jan 2021 10:10:40 +0800 +Subject: [PATCH] fix test failures adpating to pytest 5.4.3 + +--- + setup.cfg | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 7fc44bf..76c6845 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,4 +1,4 @@ +-[pytest] ++[tool:pytest] + addopts = --doctest-modules + + [egg_info] +-- +2.23.0 + diff --git a/python-path.spec b/python-path.spec index c7d5e40..5f464bf 100644 --- a/python-path.spec +++ b/python-path.spec @@ -1,12 +1,13 @@ Name: python-path Version: 5.2 -Release: 16 +Release: 17 Summary: Python module wrapper for path License: MIT URL: https://pypi.python.org/pypi/path.py Source0: https://pypi.python.org/packages/source/p/path.py/path.py-%{version}.zip BuildArch: noarch BuildRequires: python3-devel python3-setuptools python3-pytest +Patch0001: 0001-fix-test-failures-adpating-to-pytest.patch %description This package implements path objects as first-class entities, @@ -20,7 +21,7 @@ This package implements a path objects as first-class entities, allowing common operations on files to be invoked on those path objects directly. %prep -%autosetup -n path.py-%{version} +%autosetup -n path.py-%{version} -p1 %build %py3_build @@ -37,6 +38,9 @@ cd - %{python3_sitelib}/* %changelog +* Sat Jan 9 2021 wutao 5.2-17 +- fix test failures adpating to pytest + * Wed Oct 21 2020 wangxiao - 5.2-16 - drop python2 subpackage