Accepting request 1002922 from devel:languages:python

- Skip test_huge_int due to new security feature in Python
  * https://github.com/python/cpython/issues/95778

OBS-URL: https://build.opensuse.org/request/show/1002922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astor?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-09-17 18:08:12 +00:00 committed by Git OBS Bridge
commit bfcdb3a45f
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 12 11:52:11 UTC 2022 - Markéta Machová <mmachova@suse.com>
- Skip test_huge_int due to new security feature in Python
* https://github.com/python/cpython/issues/95778
-------------------------------------------------------------------
Sun Dec 12 18:45:55 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-astor
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -82,8 +82,10 @@ chmod a-x astor/rtrip.py
%python_expand chmod 755 %{buildroot}%{$python_sitelib}/astor/rtrip.py
%check
# https://github.com/berkerpeksag/astor/issues/212
python38_donttest="test_huge_int"
# https://github.com/berkerpeksag/astor/issues/196
python39_donttest="test_convert_stdlib"
python39_donttest="${python38_donttest} or test_convert_stdlib"
python310_donttest=${python39_donttest}
%pytest tests ${$python_donttest:+ -k "not (${$python_donttest})"}