Accepting request 893470 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/893470 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flex?expand=0&rev=4
This commit is contained in:
commit
36f319f030
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 16 13:32:39 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Skip a failing test on Python 3.9.5: request url with tabs
|
||||
gh#pipermerriam/flex#234
|
||||
- Skip python2 because it fails on Leap: factory_boy does not
|
||||
support Python 2 anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 17 06:45:02 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flex
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,6 +17,8 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Python 2 is not supported by factory_boy anymore
|
||||
%define skip_python2 1
|
||||
Name: python-flex
|
||||
Version: 6.14.1
|
||||
Release: 0
|
||||
@ -50,7 +52,7 @@ Requires: python-six >= 1.7.3
|
||||
Requires: python-strict-rfc3339 >= 0.7
|
||||
Requires: python-validate_email >= 1.2
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -69,7 +71,9 @@ Validation tooling for Swagger 2.0 specifications.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# https://github.com/pipermerriam/flex/issues/234
|
||||
python39_donttest=" or (test_request_parameter_array_extraction and tsv)"
|
||||
%pytest -k "not (donttestdummyprefix ${$python_donttest})"
|
||||
|
||||
%post
|
||||
%python_install_alternative swagger-flex
|
||||
|
Loading…
x
Reference in New Issue
Block a user