relax dependency on pytest
This commit is contained in:
parent
ec0eff6e5e
commit
57c6ec9d13
12
0001-relax-dependency-on-pytest.patch
Normal file
12
0001-relax-dependency-on-pytest.patch
Normal file
@ -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,
|
||||
@ -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 <liyanan32@h-partners.com> - 0.19.2-2
|
||||
- relax dependency on pytest
|
||||
|
||||
* Tue Dec 06 2022 dingdingaaaaa <dingziwei@kylinos.cn> - 0.19.2-1
|
||||
- update version to 0.19.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user