Hello community, here is the log from the commit of package python-isort for openSUSE:Factory checked in at 2020-12-16 10:59:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-isort (Old) and /work/SRC/openSUSE:Factory/.python-isort.new.2328 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-isort" Wed Dec 16 10:59:04 2020 rev:21 rq:855002 version:5.6.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes 2020-10-29 09:48:04.840155839 +0100 +++ /work/SRC/openSUSE:Factory/.python-isort.new.2328/python-isort.changes 2020-12-16 10:59:06.975489074 +0100 @@ -1,0 +2,6 @@ +Fri Dec 11 23:19:12 UTC 2020 - Benjamin Greiner <[email protected]> + +- Fix setup of test environment suitable for multiple + python flavors gh#openSUSE/python-rpm-macros#66 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-isort.spec ++++++ --- /var/tmp/diff_new_pack.oSKivF/_old 2020-12-16 10:59:07.755489840 +0100 +++ /var/tmp/diff_new_pack.oSKivF/_new 2020-12-16 10:59:07.759489843 +0100 @@ -93,24 +93,26 @@ ORIGPATH=$PATH %{python_expand # install isort and required example projects into custom root mkdir isort-test-%{$python_bin_suffix} -for proj in isort*.whl ./example_shared_isort_profile ./example_isort_formatting_plugin; do +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 $python -m pip install --verbose \ --no-index \ --root $(pwd)/isort-test-%{$python_bin_suffix} \ --no-deps \ --use-pep517 \ + --no-cache-dir\ --no-build-isolation \ --progress-bar off \ --disable-pip-version-check \ ${proj} done -export PATH="$(pwd)/isort-test-%{$python_bin_suffix}/usr/bin:$ORIGPATH" -export PYTHONPATH="$(pwd)/isort-test-%{$python_bin_suffix}%{$python_sitelib}" -export PYTHONDONTWRITEBYTECODE=1 # test_projects_using_isort.py: these tests try to clone from # online git repositories. -# test_settung_combinations.py::test_isort_is_idempotent +# test_setting_combinations.py::test_isort_is_idempotent # is flaky https://github.com/PyCQA/isort/issues/1466 pytest-%{$python_bin_suffix} -v \ -W "ignore::UserWarning" \ @@ -118,6 +120,7 @@ --ignore tests/integration/test_projects_using_isort.py \ -k "not (test_setting_combinations and test_isort_is_idempotent)" } + %endif %if !%{with test} _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
