From 57c6ec9d13ae0a1ef7787ee686ef91a0bc0070e5 Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Tue, 17 Jan 2023 19:30:49 +0800 Subject: [PATCH] relax dependency on pytest --- 0001-relax-dependency-on-pytest.patch | 12 ++++++++++++ python-pyrsistent.spec | 8 ++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 0001-relax-dependency-on-pytest.patch diff --git a/0001-relax-dependency-on-pytest.patch b/0001-relax-dependency-on-pytest.patch new file mode 100644 index 0000000..2553f5f --- /dev/null +++ b/0001-relax-dependency-on-pytest.patch @@ -0,0 +1,12 @@ +diff -Nur a/setup.py b/setup.py +--- a/setup.py 2022-11-03 08:32:09.000000000 +0800 ++++ b/setup.py 2023-01-17 19:17:14.758046670 +0800 +@@ -75,7 +75,7 @@ + 'Programming Language :: Python :: Implementation :: PyPy', + ], + test_suite='tests', +- tests_require=['pytest<7', 'hypothesis<7'], ++ tests_require=['pytest', 'hypothesis<7'], + scripts=[], + setup_requires=pytest_runner, + ext_modules=extensions, diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index f3df9d1..a85438e 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-pyrsistent Version: 0.19.2 -Release: 1 +Release: 2 Summary: Persistent/Functional/Immutable data structures License: MIT URL: http://github.com/tobgu/pyrsistent/ Source0: https://files.pythonhosted.org/packages/b8/ef/325da441a385a8a931b3eeb70db23cb52da42799691988d8d943c5237f10/pyrsistent-0.19.2.tar.gz +Patch0: 0001-relax-dependency-on-pytest.patch %description Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in the sense that they are immutable. @@ -37,7 +38,7 @@ Pyrsistent is a number of persistent collections (by some referred to as functio the sense that they are immutable. %prep -%autosetup -n pyrsistent-%{version} +%autosetup -n pyrsistent-%{version} -p1 %build %py3_build @@ -81,6 +82,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Jan 17 2023 liyanan - 0.19.2-2 +- relax dependency on pytest + * Tue Dec 06 2022 dingdingaaaaa - 0.19.2-1 - update version to 0.19.2