From 2a2855e643ccacb28edc3fb6b40adbbf1de341419ff87e8696825ef8ddd62bac Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Mon, 28 Mar 2022 17:59:31 +0000 Subject: [PATCH] Accepting request 965464 from home:bnavigator:branches:devel:languages:python - Tests require toml explicitly. Not pulled in anymore automatically since many packages (setuptools_scm, pytest, ...) switch to tomli. OBS-URL: https://build.opensuse.org/request/show/965464 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=92 --- python-isort.changes | 7 +++++++ python-isort.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-isort.changes b/python-isort.changes index 2fcd641..008ac2b 100644 --- a/python-isort.changes +++ b/python-isort.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 28 17:55:23 UTC 2022 - Ben Greiner + +- Tests require toml explicitly. Not pulled in anymore + automatically since many packages (setuptools_scm, pytest, ...) + switch to tomli. + ------------------------------------------------------------------- Sun Jan 16 19:49:20 UTC 2022 - Ben Greiner diff --git a/python-isort.spec b/python-isort.spec index 599a577..8660847 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -60,12 +60,13 @@ BuildRequires: %{python_module poetry} BuildRequires: %{python_module pylama} BuildRequires: %{python_module pytest > 6.0} BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module toml >= 0.10.2} BuildRequires: git %endif %python_subpackages %description -isort your python imports for you so you don’t have to. +isort your python imports for you so you don't have to. isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections and by type. It provides a command line