From 2bab407e4f7f4ea616d6a0b8e72dbfbe8750694f Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Fri, 4 Aug 2023 17:45:32 +0800 Subject: [PATCH] Fix test failure caused by python update to 3.11 --- python-cachez.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-cachez.spec b/python-cachez.spec index e362c2a..4ff6d0b 100644 --- a/python-cachez.spec +++ b/python-cachez.spec @@ -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 - 0.1.2-4 +- Fix test failure caused by python update to 3.11 + * Fri Jul 30 2021 chenyanpanHW - 0.1.2-3 - DESC: delete -S git from %autosetup