Accepting request 1149092 from home:mcalabkova:branches:devel:languages:python
- Fix tests on Python 3.12 OBS-URL: https://build.opensuse.org/request/show/1149092 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fb-re2?expand=0&rev=9
This commit is contained in:
parent
bb1c9e6c63
commit
1694522d95
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 22 08:33:37 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Fix tests on Python 3.12
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 3 11:02:39 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Aug 3 11:02:39 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fb-re2
|
# spec file for package python-fb-re2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -40,6 +40,8 @@ Python wrapper for Google's RE2
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pyre2-%{version}
|
%autosetup -p1 -n pyre2-%{version}
|
||||||
|
# fix tests on py312
|
||||||
|
sed -i 's/assertRaisesRegexp/assertRaisesRegex/g' tests/test_match.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user