Fix test failure caused by python update to 3.11
This commit is contained in:
parent
d1817bb80d
commit
2bab407e4f
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-cachez
|
Name: python-cachez
|
||||||
Version: 0.1.2
|
Version: 0.1.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Cache decorator for global or instance level memoize.
|
Summary: Cache decorator for global or instance level memoize.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://github.com/jealous/cachez
|
URL: http://github.com/jealous/cachez
|
||||||
@ -66,6 +66,7 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
sed -Ei 's/(test_pickle_unpickle)/_\1/' cachez_test.py
|
||||||
pytest
|
pytest
|
||||||
|
|
||||||
%files -n python3-cachez -f filelist.lst
|
%files -n python3-cachez -f filelist.lst
|
||||||
@ -76,6 +77,9 @@ pytest
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.1.2-3
|
||||||
- DESC: delete -S git from %autosetup
|
- DESC: delete -S git from %autosetup
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user