From 0552d7b6966168633eaea35ce605ab7a650d298e31664a65571edf4782e7389e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 20 Apr 2024 15:39:31 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.7.0:=20=20=20*=20tomli=20de?= =?UTF-8?q?pendency=20for=20Python=20versions=20<=203.11,=20making=20use?= =?UTF-8?q?=20of=20=20=20=20=20tomllib=20in=20the=20standard=20library=20w?= =?UTF-8?q?ith=203.11+=20(#150).=20=20=20*=20Support=20for=20pyi=20file=20?= =?UTF-8?q?extensions=20(and=20leave=20room=20for=20other=20=20=20=20=20fi?= =?UTF-8?q?le=20extensions=20to=20be=20added,=20like=20maybe=20ipynb).=20?= =?UTF-8?q?=20=20*=20Support=20for=20Google-style=20docstrings=20for=20cla?= =?UTF-8?q?ss=20=5F=5Finit=5F=5F=20=20=20=20=20methods=20with=20new=20--st?= =?UTF-8?q?yle=20[sphinx|google]=20flag=20(#128).=20=20=20*=20Include=20su?= =?UTF-8?q?pport=20for=20deleters=20when=20ignoring=20property=20=20=20=20?= =?UTF-8?q?=20decorators=20(#126=20=20=20=20=20=5F).=20=20=20*=20Support=20floats=20?= =?UTF-8?q?for=20--fail-under=20values=20(#114).=20=20=20*=20toml=20depend?= =?UTF-8?q?ency=20for=20all=20Python=20versions=20(#150).=20=20=20*=20Add?= =?UTF-8?q?=20--ignore-overloaded-functions=20flag=20to=20ignore=20overloa?= =?UTF-8?q?d=20=20=20=20=20decorators=20(#97)=20=E2=80=93=20thank=20you=20?= =?UTF-8?q?ErwinJunge=20(via=20#167)=20and=20=20=20=20=20zackyancey.=20=20?= =?UTF-8?q?=20*=20Support=20for=20Python=203.11=20&=203.12.=20=20=20*=20Su?= =?UTF-8?q?pport=20for=20Python=203.6=20&=203.7.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-interrogate?expand=0&rev=5 --- interrogate-1.5.0.tar.gz | 3 --- interrogate-1.7.0.tar.gz | 3 +++ python-interrogate.changes | 21 +++++++++++++++++++++ python-interrogate.spec | 12 +++++++----- 4 files changed, 31 insertions(+), 8 deletions(-) delete mode 100644 interrogate-1.5.0.tar.gz create mode 100644 interrogate-1.7.0.tar.gz diff --git a/interrogate-1.5.0.tar.gz b/interrogate-1.5.0.tar.gz deleted file mode 100644 index 4525ba0..0000000 --- a/interrogate-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6f325f0aa84ac3ac6779d8708264d366102226c5af7d69058cecffcff7a6d6c -size 155620 diff --git a/interrogate-1.7.0.tar.gz b/interrogate-1.7.0.tar.gz new file mode 100644 index 0000000..8524236 --- /dev/null +++ b/interrogate-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a320d6ec644dfd887cc58247a345054fc4d9f981100c45184470068f4b3719b0 +size 159636 diff --git a/python-interrogate.changes b/python-interrogate.changes index e3d35dc..db636ba 100644 --- a/python-interrogate.changes +++ b/python-interrogate.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Sat Apr 20 15:35:48 UTC 2024 - Dirk Müller + +- update to 1.7.0: + * tomli dependency for Python versions < 3.11, making use of + tomllib in the standard library with 3.11+ (#150). + * Support for pyi file extensions (and leave room for other + file extensions to be added, like maybe ipynb). + * Support for Google-style docstrings for class __init__ + methods with new --style [sphinx|google] flag (#128). + * Include support for deleters when ignoring property + decorators (#126 + _). + * Support floats for --fail-under values (#114). + * toml dependency for all Python versions (#150). + * Add --ignore-overloaded-functions flag to ignore overload + decorators (#97) – thank you ErwinJunge (via #167) and + zackyancey. + * Support for Python 3.11 & 3.12. + * Support for Python 3.6 & 3.7. + ------------------------------------------------------------------- Thu Sep 29 02:42:55 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-interrogate.spec b/python-interrogate.spec index 585d8dd..5bcdca7 100644 --- a/python-interrogate.spec +++ b/python-interrogate.spec @@ -1,7 +1,7 @@ # # spec file for package python-interrogate # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-interrogate -Version: 1.5.0 +Version: 1.7.0 Release: 0 Summary: Interrogate a codebase for docstring coverage License: MIT @@ -33,9 +33,11 @@ Requires: python-click Requires: python-colorama Requires: python-py Requires: python-tabulate -Requires: python-toml +%if 0%{python_version_nodots} < 311 +Requires: python-tomli +%endif Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module attrs} @@ -45,7 +47,7 @@ BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} BuildRequires: %{python_module tabulate} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module tomli if %python-version < 3.11} # /SECTION %python_subpackages