!8 Fix test failure caused by python update to 3.11

From: @starlet-dx 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-08-04 10:10:06 +00:00 committed by Gitee
commit b853cdaaa6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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