14
0

Accepting request 1067013 from devel:languages:python

REQUIRES sr#1067009

- Don't switch off tests completely just skip the failing ones.
- And frozendict works on 3.11 (just slower).
- disable python 3.11 until frozendict supports it

OBS-URL: https://build.opensuse.org/request/show/1067013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-canonicaljson?expand=0&rev=14
This commit is contained in:
2023-02-21 14:36:51 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Feb 21 13:31:52 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Don't switch off tests completely just skip the failing ones.
- And frozendict works on 3.11 (just slower).
-------------------------------------------------------------------
Mon Feb 20 05:18:38 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
- disable python 3.11 until frozendict supports it
-------------------------------------------------------------------
Tue Nov 22 13:31:34 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,6 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define github_user matrix-org
%define short_name canonicaljson
Name: python-%{short_name}%{psuffix}
@@ -80,18 +79,14 @@ RFC 7159.
%check
%if %{with test}
# exclude tests on older SLE+Leap due to
# ImportError: cannot import name inf
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300
%pyunittest discover -v
%endif
%endif
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/%{short_name}/
%{python_sitelib}/%{short_name}
%{python_sitelib}/%{short_name}-%{version}*-info
%endif