Accepting request 820947 from home:bnavigator:branches:devel:languages:python
- reenable test_pipfile_finder needs updated requirementslib gh#timothycrosley/isort#1317 (according to requirementslib changelog probably by fix in 1.5.4) - upstream git tag has been updated OBS-URL: https://build.opensuse.org/request/show/820947 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=42
This commit is contained in:
parent
be652da2d9
commit
8497d09f33
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da05b6cfa4107d71c0fddee8e58a55cbd02d0dd1e2145ad2ccae6c4faf92da34
|
||||
size 570386
|
||||
oid sha256:e6db7a74c53307c1fa7912216fa576ef1108bdae81f8d7cea287bd58ba6989b1
|
||||
size 570148
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 13:53:34 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- reenable test_pipfile_finder
|
||||
needs updated requirementslib gh#timothycrosley/isort#1317
|
||||
(according to requirementslib changelog probably by fix in 1.5.4)
|
||||
- upstream git tag has been updated
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 13 17:03:27 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -26,8 +26,6 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
# commit for release 5.0.9, tag is invalid. gh#timothycrosley/isort#1316
|
||||
%define gitref b49aba99b919473b66f05b663588cfac2472c601
|
||||
Name: python-isort%{psuffix}
|
||||
Version: 5.0.9
|
||||
Release: 0
|
||||
@ -36,7 +34,7 @@ License: MIT
|
||||
URL: https://timothycrosley.github.io/isort/
|
||||
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
||||
# tests are not packaged for PyPI, get them from git sources
|
||||
Source1: https://github.com/timothycrosley/isort/archive/%{gitref}.tar.gz#/isort-%{version}-gh.tar.gz
|
||||
Source1: https://github.com/timothycrosley/isort/archive/%{version}.tar.gz#/isort-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -45,7 +43,7 @@ Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-pip-api
|
||||
Recommends: python-pipreqs
|
||||
Recommends: python-requirementslib
|
||||
Recommends: python-requirementslib >= 1.5.4
|
||||
Recommends: python-tomlkit
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
@ -56,7 +54,7 @@ BuildRequires: %{python_module pip-api}
|
||||
BuildRequires: %{python_module pipreqs}
|
||||
BuildRequires: %{python_module pylama}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requirementslib}
|
||||
BuildRequires: %{python_module requirementslib >= 1.5.4}
|
||||
BuildRequires: %{python_module tomlkit}
|
||||
%endif
|
||||
%python_subpackages
|
||||
@ -75,7 +73,7 @@ too.
|
||||
%setup -q -n isort-%{version}
|
||||
chmod -x LICENSE
|
||||
%else
|
||||
%setup -q -n isort-%{gitref} -b 1
|
||||
%setup -q -n isort-%{version} -b 1
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
@ -90,11 +88,7 @@ chmod -x LICENSE
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# test_pipfile_finder: gh#timothycrosley/isort#1317
|
||||
%{pytest -v -W "ignore::UserWarning" \
|
||||
-W "ignore::DeprecationWarning" \
|
||||
-k "not test_pipfile_finder"
|
||||
}
|
||||
%pytest -v -W "ignore::UserWarning" -W "ignore::DeprecationWarning"
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Loading…
x
Reference in New Issue
Block a user