Accepting request 905112 from home:bnavigator:branches:devel:languages:python
- update to version 5.9.2 * Improved behavior of isort --check --atomic against Cython files. * Fixed #1769: Future imports added below assignments when no other imports present. * Fixed #1772: skip-gitignore will check files not in the git repository. * Fixed #1762: in some cases when skip-gitignore is set, isort fails to skip any files. * Fixed #1767: Encoding issues surfacing when invalid characters set in __init__.py files during placement. * Fixed #1771: Improved handling of skips against named streamed in content. - Skip benchmarks - Update test requirements: * test expects example_isort_sorting_plugin with python-natsort installed * Python 3.9 tests fail without numpy installed because of some typing check. OBS-URL: https://build.opensuse.org/request/show/905112 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=82
This commit is contained in:
parent
f217ee73e4
commit
3d35bd956a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dcafd210f88a07526d785fc4502ebe8e316a07e885980ec075903408dd42bd97
|
||||
size 727733
|
3
isort-5.9.2-gh.tar.gz
Normal file
3
isort-5.9.2-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3568ee5f34532b8cd75b27e6970e11a0de833b4832ce7b1e01d99180a67ca6f8
|
||||
size 728644
|
@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 8 13:48:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- update to version 5.9.2
|
||||
* Improved behavior of isort --check --atomic against Cython
|
||||
files.
|
||||
* Fixed #1769: Future imports added below assignments when no
|
||||
other imports present.
|
||||
* Fixed #1772: skip-gitignore will check files not in the git
|
||||
repository.
|
||||
* Fixed #1762: in some cases when skip-gitignore is set, isort
|
||||
fails to skip any files.
|
||||
* Fixed #1767: Encoding issues surfacing when invalid characters
|
||||
set in __init__.py files during placement.
|
||||
* Fixed #1771: Improved handling of skips against named streamed
|
||||
in content.
|
||||
- Skip benchmarks
|
||||
- Update test requirements:
|
||||
* test expects example_isort_sorting_plugin with python-natsort
|
||||
installed
|
||||
* Python 3.9 tests fail without numpy installed because of some
|
||||
typing check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 4 19:12:04 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
@ -66,7 +89,6 @@ Fri Jan 29 19:59:54 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
- Fix test suite: the location of the built wheel changed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
>>>>>>> ./python-isort.changes.r0d2d8b046d3f285d8ada3164931b9bf4
|
||||
Fri Jan 22 09:00:03 UTC 2021 - Adam Mizerski <adam@mizerski.pl>
|
||||
|
||||
- don't recommend python-hypothesmith
|
||||
|
@ -27,7 +27,7 @@
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-isort%{psuffix}
|
||||
Version: 5.9.1
|
||||
Version: 5.9.2
|
||||
Release: 0
|
||||
Summary: A Python utility / library to sort Python imports
|
||||
License: MIT
|
||||
@ -53,6 +53,7 @@ BuildRequires: %{python_module colorama >= 0.4.3}
|
||||
BuildRequires: %{python_module hypothesis-auto}
|
||||
BuildRequires: %{python_module hypothesmith}
|
||||
BuildRequires: %{python_module libcst}
|
||||
BuildRequires: %{python_module natsort}
|
||||
BuildRequires: %{python_module pip-api}
|
||||
BuildRequires: %{python_module pipreqs}
|
||||
BuildRequires: %{python_module poetry}
|
||||
@ -62,6 +63,7 @@ BuildRequires: %{python_module pytest-mock}
|
||||
# requirementslib not ready for python 3.9 yet -- gh#sarugaku/requirementslib#288
|
||||
BuildRequires: %{python_module requirementslib >= 1.5 if %python-base < 3.9}
|
||||
BuildRequires: git
|
||||
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
@ -93,6 +95,8 @@ chmod -x LICENSE
|
||||
%check
|
||||
# test_projects_using_isort.py: these tests try to clone from online git repositories.
|
||||
ignoretests="--ignore tests/integration/test_projects_using_isort.py"
|
||||
# don't run benchmarks
|
||||
ignoretests+=" --ignore tests/benchmark"
|
||||
# test_setting_combinations.py::test_isort_is_idempotent
|
||||
# is flaky https://github.com/PyCQA/isort/issues/1466
|
||||
donttest="(test_setting_combinations and test_isort_is_idempotent)"
|
||||
@ -107,7 +111,11 @@ 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 build/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 \
|
||||
./example_isort_sorting_plugin
|
||||
do
|
||||
$python -m pip install --verbose \
|
||||
--no-index \
|
||||
--root $(pwd)/isort-test-%{$python_bin_suffix} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user