commit python-asyncclick for openSUSE:Factory

2024-01-22 Thread Source-Sync
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 
+
+- 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 

commit python-asyncclick for openSUSE:Factory

2023-05-19 Thread Source-Sync
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 2023-05-19 11:55:56

Comparing /work/SRC/openSUSE:Factory/python-asyncclick (Old)
 and  /work/SRC/openSUSE:Factory/.python-asyncclick.new.1533 (New)


Package is "python-asyncclick"

Fri May 19 11:55:56 2023 rev:3 rq:1087893 version:8.1.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-asyncclick/python-asyncclick.changes  
2022-10-28 19:32:01.935384130 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-asyncclick.new.1533/python-asyncclick.changes
2023-05-19 11:56:26.803580686 +0200
@@ -1,0 +2,6 @@
+Fri May 19 07:22:49 UTC 2023 - Dirk Müller 
+
+- build with setuptools_scm
+- build for PSP on sle15
+
+---



Other differences:
--
++ python-asyncclick.spec ++
--- /var/tmp/diff_new_pack.aIo6V1/_old  2023-05-19 11:56:27.235583157 +0200
+++ /var/tmp/diff_new_pack.aIo6V1/_new  2023-05-19 11:56:27.243583202 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-asyncclick
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,7 @@
 #
 
 
-%define oldpython python
-%define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:   python-asyncclick
 Version:8.1.3.4
 Release:0
@@ -32,6 +30,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}
@@ -67,6 +66,6 @@
 %license LICENSE.rst
 %doc CHANGES.rst README.rst
 %{python_sitelib}/asyncclick
-%{python_sitelib}/asyncclick-*.dist-info/
+%{python_sitelib}/asyncclick-%{version}.dist-info/
 
 %changelog


commit python-asyncclick for openSUSE:Factory

2022-10-28 Thread Source-Sync
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 
+
+- 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.0 +0200
+++