From b7f382688e1f7755061134d4d9ea430f4c0952c818d21ecbd7c2fe9a2cc1620c Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Fri, 29 Jan 2021 20:15:50 +0000 Subject: [PATCH] Accepting request 867792 from home:bnavigator:branches:devel:languages:python - Fix test suite: the location of the built wheel changed OBS-URL: https://build.opensuse.org/request/show/867792 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=75 --- python-isort.changes | 5 +++++ python-isort.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-isort.changes b/python-isort.changes index 74f0bfa..8e82b56 100644 --- a/python-isort.changes +++ b/python-isort.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 29 19:59:54 UTC 2021 - Benjamin Greiner + +- Fix test suite: the location of the built wheel changed + ------------------------------------------------------------------- Fri Jan 22 09:00:03 UTC 2021 - Adam Mizerski diff --git a/python-isort.spec b/python-isort.spec index 83da1fa..c6c1883 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -37,7 +37,7 @@ Source: https://github.com/PyCQA/isort/archive/%{version}.tar.gz#/isort- BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: fdupes -BuildRequires: python-rpm-macros +BuildRequires: python-rpm-macros >= 20210127.3a18043 Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives @@ -97,7 +97,7 @@ export PATH="$(pwd)/isort-test-%{$python_bin_suffix}/usr/bin:$ORIGPATH" export PYTHONPATH="$(pwd)/isort-test-%{$python_bin_suffix}%{$python_sitelib}" export PYTHONDONTWRITEBYTECODE=1 -for proj in isort-%{version}-py3-none-any.whl ./example_shared_isort_profile ./example_isort_formatting_plugin; do +for proj in build/isort-%{version}-py3-none-any.whl ./example_shared_isort_profile ./example_isort_formatting_plugin; do $python -m pip install --verbose \ --no-index \ --root $(pwd)/isort-test-%{$python_bin_suffix} \