Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asyncclick for openSUSE:Factory checked in at 2024-01-22 20:31:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-asyncclick (Old) and /work/SRC/openSUSE:Factory/.python-asyncclick.new.16006 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-asyncclick" Mon Jan 22 20:31:27 2024 rev:4 rq:1138798 version:8.1.7.0+async Changes: -------- --- /work/SRC/openSUSE:Factory/python-asyncclick/python-asyncclick.changes 2023-05-19 11:56:26.803580686 +0200 +++ /work/SRC/openSUSE:Factory/.python-asyncclick.new.16006/python-asyncclick.changes 2024-01-22 20:31:33.467374285 +0100 @@ -1,0 +2,50 @@ +Sun Jan 14 15:48:21 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Update to 8.1.7.0+async + * Fix issue with regex flags in shell completion. #2581 + * Bash version detection issues a warning instead of an error. + #2574 + * Fix issue with completion script for Fish shell. #2567 +- Version 8.1.6 + * Fix an issue with type hints for @click.group(). #2558 + - Version 8.1.5 + * Fix an issue with type hints for @click.command(), + @click.option(), and other decorators. Introduce typing tests. + #2558 +- Version 8.1.4 + * Replace all typing.Dict occurrences to typing.MutableMapping + for parameter hints. #2255 + * Improve type hinting for decorators and give all generic types + parameters. #2398 + * Fix return value and type signature of + shell_completion.add_completion_class function. #2421 + * Bash version detection doesnât fail on Windows. #2461 + * Completion works if there is a dot (.) in the program name. + #2166 + * Improve type annotations for pyright type checker. #2268 + * Improve responsiveness of click.clear(). #2284 + * Improve command name detection when using Shiv or PEX. #2332 + * Avoid showing empty lines if command help text is empty. #2368 + * ZSH completion script works when loaded from fpath. #2344. + * EOFError and KeyboardInterrupt tracebacks are not suppressed + when standalone_mode is disabled. #2380 + * @group.command does not fail if the group was created with a + custom command_class. #2416 + * multiple=True is allowed for flag options again and does not + require setting default=(). #2246, #2292, #2295 + * Make the decorators returned by @argument() and @option() + reusable when the cls parameter is used. #2294 + * Donât fail when writing filenames to streams with strict + errors. Replace invalid bytes with the replacement character + (�). #2395 + * Remove unnecessary attempt to detect MSYS2 environment. #2355 + * Remove outdated and unnecessary detection of App Engine + environment. #2554 + * echo() does not fail when no streams are attached, such as with + pythonw on Windows. #2415 + * Argument with expose_value=False do not cause completion to + fail. #2336 +- Switch to github archive, because upstream forgot to release on + PyPI gh#python-trio/asyncclick#18 + +------------------------------------------------------------------- Old: ---- asyncclick-8.1.3.4.tar.gz New: ---- asyncclick-8.1.7.0-async-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-asyncclick.spec ++++++ --- /var/tmp/diff_new_pack.lUtJiq/_old 2024-01-22 20:31:34.623416553 +0100 +++ /var/tmp/diff_new_pack.lUtJiq/_new 2024-01-22 20:31:34.627416699 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-asyncclick # -# Copyright (c) 2023 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 @@ -17,26 +17,31 @@ %{?sle15_python_module_pythons} +%define archiveversion 8.1.7.0-async Name: python-asyncclick -Version: 8.1.3.4 +Version: 8.1.7.0+async Release: 0 Summary: A wrapper around optparse for command line utilities License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/python-trio/asyncclick -Source: https://files.pythonhosted.org/packages/source/a/asyncclick/asyncclick-%{version}.tar.gz -BuildRequires: %{python_module anyio} +# Upstream forgot to release on PyPI: https://github.com/python-trio/asyncclick/issues/18 +#Source: https://files.pythonhosted.org/packages/source/a/asyncclick/asyncclick-%%{version}.tar.gz +Source: https://github.com/python-trio/asyncclick/archive/refs/tags/%{version}.tar.gz#/asyncclick-%{archiveversion}-gh.tar.gz BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module click} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module trio} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-setuptools +Requires: python-anyio +# SECTION test +BuildRequires: %{python_module anyio} +BuildRequires: %{python_module click} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module trio} +# /SECTION BuildArch: noarch %python_subpackages @@ -49,9 +54,10 @@ defaults out of the box. %prep -%setup -q -n asyncclick-%{version} +%setup -q -n asyncclick-%{archiveversion} %build +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install @@ -60,7 +66,7 @@ %check export LANG=en_US.UTF-8 -%pytest -rs --tb=short +%pytest -rsfE %files %{python_files} %license LICENSE.rst