Fix test failure caused by python update to 3.11

This commit is contained in:
starlet-dx 2023-08-04 17:45:32 +08:00
parent d1817bb80d
commit 2bab407e4f

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-cachez
Version: 0.1.2
Release: 3
Release: 4
Summary: Cache decorator for global or instance level memoize.
License: Apache-2.0
URL: http://github.com/jealous/cachez
@ -66,6 +66,7 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
sed -Ei 's/(test_pickle_unpickle)/_\1/' cachez_test.py
pytest
%files -n python3-cachez -f filelist.lst
@ -76,6 +77,9 @@ pytest
%{_docdir}/*
%changelog
* Fri Aug 04 2023 yaoxin <yao_xin001@hoperun.com> - 0.1.2-4
- Fix test failure caused by python update to 3.11
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.1.2-3
- DESC: delete -S git from %autosetup