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 2022-10-28 19:31:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-asyncclick (Old) and /work/SRC/openSUSE:Factory/.python-asyncclick.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-asyncclick" Fri Oct 28 19:31:22 2022 rev:2 rq:1031830 version:8.1.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-asyncclick/python-asyncclick.changes 2022-09-30 17:58:21.721321408 +0200 +++ /work/SRC/openSUSE:Factory/.python-asyncclick.new.2275/python-asyncclick.changes 2022-10-28 19:32:01.935384130 +0200 @@ -1,0 +2,7 @@ +Thu Oct 27 21:44:24 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to 8.1.3.4 + * Use verbose form of typing.Callable for @command and @group. :issue:`2255` + * Show error when attempting to create an option with multiple=True, is_flag=True. Use count instead. :issue:`2246` + +------------------------------------------------------------------- Old: ---- asyncclick-8.1.3.2.tar.gz New: ---- asyncclick-8.1.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-asyncclick.spec ++++++ --- /var/tmp/diff_new_pack.5HKWbE/_old 2022-10-28 19:32:02.879388864 +0200 +++ /var/tmp/diff_new_pack.5HKWbE/_new 2022-10-28 19:32:02.915389045 +0200 @@ -20,7 +20,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-asyncclick -Version: 8.1.3.2 +Version: 8.1.3.4 Release: 0 Summary: A wrapper around optparse for command line utilities License: BSD-3-Clause ++++++ asyncclick-8.1.3.2.tar.gz -> asyncclick-8.1.3.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/PKG-INFO new/asyncclick-8.1.3.4/PKG-INFO --- old/asyncclick-8.1.3.2/PKG-INFO 2022-06-07 18:53:19.510047200 +0200 +++ new/asyncclick-8.1.3.4/PKG-INFO 2022-09-16 17:54:51.888412000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: asyncclick -Version: 8.1.3.2 +Version: 8.1.3.4 Summary: Composable command line interface toolkit, async version Home-page: https://palletsprojects.com/p/click/ Author: Matthias Urlichs @@ -8,7 +8,6 @@ License: BSD-3-Clause Project-URL: Source Code, https://github.com/python-trio/asyncclick Project-URL: Issue Tracker, https://github.com/python-trio/asyncclick/issues/ -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License @@ -24,8 +23,7 @@ What's AsyncClick? ------------------ -AsyncClick ist a fork of Click that works well with trio, asyncio, or -curio. +AsyncClick ist a fork of Click that works well with trio or asyncio. Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It's the "Command @@ -52,7 +50,7 @@ $ pip install asyncclick -AsyncClick supports Python 3.6 and newer, and PyPy3. +AsyncClick supports Python 3.7 and newer, and PyPy3. .. _pip: https://pip.pypa.io/en/stable/getting-started/ @@ -63,22 +61,32 @@ import anyio import asyncclick as click + # You can use all of click's features as per its documentation. + # Async commands are supported seamlessly; they just work. @click.command() @click.option("--count", default=1, help="Number of greetings.") @click.option("--name", prompt="Your name", help="The person to greet.") async def hello(count, name): """Simple program that greets NAME for a total of COUNT times.""" - for _ in range(count): + for x in range(count): if x: await anyio.sleep(0.1) click.echo(f"Hello, {name}!") if __name__ == '__main__': hello(_anyio_backend="trio") # or asyncio + # You can use your own event loop: + # import anyio + # async def main(): + # await hello.main() + # if __name__ == '__main__': + # anyio.run(main) + # This is useful for testing. + .. note:: AsyncClick automagically starts an anyio event loop and runs your - code asynchronously. + code asynchronously. You don't need to use `anyio.run`. .. code-block:: text @@ -121,5 +129,3 @@ - Website: https://palletsprojects.com/p/click - Twitter: https://twitter.com/PalletsTeam - Chat: https://discord.gg/pallets - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/README.rst new/asyncclick-8.1.3.4/README.rst --- old/asyncclick-8.1.3.2/README.rst 2022-06-07 17:58:32.000000000 +0200 +++ new/asyncclick-8.1.3.4/README.rst 2022-09-16 17:53:52.000000000 +0200 @@ -4,8 +4,7 @@ What's AsyncClick? ------------------ -AsyncClick ist a fork of Click that works well with trio, asyncio, or -curio. +AsyncClick ist a fork of Click that works well with trio or asyncio. Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It's the "Command @@ -32,7 +31,7 @@ $ pip install asyncclick -AsyncClick supports Python 3.6 and newer, and PyPy3. +AsyncClick supports Python 3.7 and newer, and PyPy3. .. _pip: https://pip.pypa.io/en/stable/getting-started/ @@ -43,22 +42,32 @@ import anyio import asyncclick as click + # You can use all of click's features as per its documentation. + # Async commands are supported seamlessly; they just work. @click.command() @click.option("--count", default=1, help="Number of greetings.") @click.option("--name", prompt="Your name", help="The person to greet.") async def hello(count, name): """Simple program that greets NAME for a total of COUNT times.""" - for _ in range(count): + for x in range(count): if x: await anyio.sleep(0.1) click.echo(f"Hello, {name}!") if __name__ == '__main__': hello(_anyio_backend="trio") # or asyncio + # You can use your own event loop: + # import anyio + # async def main(): + # await hello.main() + # if __name__ == '__main__': + # anyio.run(main) + # This is useful for testing. + .. note:: AsyncClick automagically starts an anyio event loop and runs your - code asynchronously. + code asynchronously. You don't need to use `anyio.run`. .. code-block:: text diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/debian/changelog new/asyncclick-8.1.3.4/debian/changelog --- old/asyncclick-8.1.3.2/debian/changelog 2022-06-07 17:57:35.000000000 +0200 +++ new/asyncclick-8.1.3.4/debian/changelog 2022-06-07 18:54:34.000000000 +0200 @@ -1,3 +1,9 @@ +asyncclick (1:8.1.3-2) unstable; urgency=medium + + * new Upstream + + -- Matthias Urlichs <matth...@urlichs.de> Tue, 07 Jun 2022 18:53:38 +0200 + asyncclick (1:8.0.3-6) unstable; urgency=medium * fix test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/debian/compat new/asyncclick-8.1.3.4/debian/compat --- old/asyncclick-8.1.3.2/debian/compat 2022-06-07 17:57:35.000000000 +0200 +++ new/asyncclick-8.1.3.4/debian/compat 2022-06-08 04:42:03.000000000 +0200 @@ -1 +1 @@ -9 +13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/docs/conf.py.orig new/asyncclick-8.1.3.4/docs/conf.py.orig --- old/asyncclick-8.1.3.2/docs/conf.py.orig 2022-06-07 18:00:21.000000000 +0200 +++ new/asyncclick-8.1.3.4/docs/conf.py.orig 1970-01-01 01:00:00.000000000 +0100 @@ -1,59 +0,0 @@ -from pallets_sphinx_themes import get_version -from pallets_sphinx_themes import ProjectLink - -import click._compat - -# compat until pallets-sphinx-themes is updated -click._compat.text_type = str - -# Project -------------------------------------------------------------- - -project = "Click" -copyright = "2014 Pallets" -author = "Pallets" -release, version = get_version("Click") - -# General -------------------------------------------------------------- - -master_doc = "index" -extensions = [ - "sphinx.ext.autodoc", - "sphinx.ext.intersphinx", - "sphinxcontrib.log_cabinet", - "pallets_sphinx_themes", - "sphinx_issues", - "sphinx_tabs.tabs", -] -autodoc_typehints = "description" -intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)} -issues_github_path = "pallets/click" - -# HTML ----------------------------------------------------------------- - -html_theme = "click" -html_theme_options = {"index_sidebar_logo": False} -html_context = { - "project_links": [ - ProjectLink("Donate", "https://palletsprojects.com/donate"), - ProjectLink("PyPI Releases", "https://pypi.org/project/click/"), - ProjectLink("Source Code", "https://github.com/pallets/click/"), - ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"), - ProjectLink("Website", "https://palletsprojects.com/p/click"), - ProjectLink("Twitter", "https://twitter.com/PalletsTeam"), - ProjectLink("Chat", "https://discord.gg/pallets"), - ] -} -html_sidebars = { - "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"], - "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"], -} -singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]} -html_static_path = ["_static"] -html_favicon = "_static/click-icon.png" -html_logo = "_static/click-logo-sidebar.png" -html_title = f"Click Documentation ({version})" -html_show_sourcelink = False - -# LaTeX ---------------------------------------------------------------- - -latex_documents = [(master_doc, f"Click-{version}.tex", html_title, author, "manual")] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/docs/conf.py.rej new/asyncclick-8.1.3.4/docs/conf.py.rej --- old/asyncclick-8.1.3.2/docs/conf.py.rej 2022-06-07 18:00:21.000000000 +0200 +++ new/asyncclick-8.1.3.4/docs/conf.py.rej 1970-01-01 01:00:00.000000000 +0100 @@ -1,21 +0,0 @@ ---- docs/conf.py -+++ docs/conf.py -@@ -1,9 +1,8 @@ - import asyncclick as click -+import asyncclick._compat - from pallets_sphinx_themes import get_version - from pallets_sphinx_themes import ProjectLink - --import asyncclick._compat -- - # compat until pallets-sphinx-themes is updated - click._compat.text_type = str - -@@ -55,4 +54,6 @@ html_show_sourcelink = False - - # LaTeX ---------------------------------------------------------------- - --latex_documents = [(master_doc, f"AsyncClick-{version}.tex", html_title, author, "manual")] -+latex_documents = [ -+ (master_doc, f"AsyncClick-{version}.tex", html_title, author, "manual") -+] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/setup.cfg new/asyncclick-8.1.3.4/setup.cfg --- old/asyncclick-8.1.3.2/setup.cfg 2022-06-07 18:53:19.510047200 +0200 +++ new/asyncclick-8.1.3.4/setup.cfg 2022-09-16 17:54:51.888412000 +0200 @@ -1,6 +1,5 @@ [metadata] name = asyncclick -version = attr: click.__version__ url = https://palletsprojects.com/p/click/ project_urls = Source Code = https://github.com/python-trio/asyncclick diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/src/asyncclick.egg-info/PKG-INFO new/asyncclick-8.1.3.4/src/asyncclick.egg-info/PKG-INFO --- old/asyncclick-8.1.3.2/src/asyncclick.egg-info/PKG-INFO 2022-06-07 18:53:19.000000000 +0200 +++ new/asyncclick-8.1.3.4/src/asyncclick.egg-info/PKG-INFO 2022-09-16 17:54:51.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: asyncclick -Version: 8.1.3.2 +Version: 8.1.3.4 Summary: Composable command line interface toolkit, async version Home-page: https://palletsprojects.com/p/click/ Author: Matthias Urlichs @@ -8,7 +8,6 @@ License: BSD-3-Clause Project-URL: Source Code, https://github.com/python-trio/asyncclick Project-URL: Issue Tracker, https://github.com/python-trio/asyncclick/issues/ -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License @@ -24,8 +23,7 @@ What's AsyncClick? ------------------ -AsyncClick ist a fork of Click that works well with trio, asyncio, or -curio. +AsyncClick ist a fork of Click that works well with trio or asyncio. Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It's the "Command @@ -52,7 +50,7 @@ $ pip install asyncclick -AsyncClick supports Python 3.6 and newer, and PyPy3. +AsyncClick supports Python 3.7 and newer, and PyPy3. .. _pip: https://pip.pypa.io/en/stable/getting-started/ @@ -63,22 +61,32 @@ import anyio import asyncclick as click + # You can use all of click's features as per its documentation. + # Async commands are supported seamlessly; they just work. @click.command() @click.option("--count", default=1, help="Number of greetings.") @click.option("--name", prompt="Your name", help="The person to greet.") async def hello(count, name): """Simple program that greets NAME for a total of COUNT times.""" - for _ in range(count): + for x in range(count): if x: await anyio.sleep(0.1) click.echo(f"Hello, {name}!") if __name__ == '__main__': hello(_anyio_backend="trio") # or asyncio + # You can use your own event loop: + # import anyio + # async def main(): + # await hello.main() + # if __name__ == '__main__': + # anyio.run(main) + # This is useful for testing. + .. note:: AsyncClick automagically starts an anyio event loop and runs your - code asynchronously. + code asynchronously. You don't need to use `anyio.run`. .. code-block:: text @@ -121,5 +129,3 @@ - Website: https://palletsprojects.com/p/click - Twitter: https://twitter.com/PalletsTeam - Chat: https://discord.gg/pallets - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asyncclick-8.1.3.2/src/asyncclick.egg-info/SOURCES.txt new/asyncclick-8.1.3.4/src/asyncclick.egg-info/SOURCES.txt --- old/asyncclick-8.1.3.2/src/asyncclick.egg-info/SOURCES.txt 2022-06-07 18:53:19.000000000 +0200 +++ new/asyncclick-8.1.3.4/src/asyncclick.egg-info/SOURCES.txt 2022-09-16 17:54:51.000000000 +0200 @@ -35,8 +35,6 @@ docs/commands.rst docs/complex.rst docs/conf.py -docs/conf.py.orig -docs/conf.py.rej docs/contrib.rst docs/documentation.rst docs/exceptions.rst