Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-argcomplete for openSUSE:Factory checked in at 2023-10-06 21:12:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-argcomplete (Old) and /work/SRC/openSUSE:Factory/.python-argcomplete.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-argcomplete" Fri Oct 6 21:12:30 2023 rev:27 rq:1115761 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-argcomplete/python-argcomplete.changes 2023-07-05 15:31:00.214724182 +0200 +++ /work/SRC/openSUSE:Factory/.python-argcomplete.new.28202/python-argcomplete.changes 2023-10-06 21:12:30.835672958 +0200 @@ -1,0 +2,6 @@ +Thu Oct 5 08:46:50 UTC 2023 - Dirk Müller <[email protected]> + +- update to 3.1.2: + *Ensure Python 3.12+ compatibility in check_console_script + +------------------------------------------------------------------- Old: ---- argcomplete-3.1.1.tar.gz New: ---- argcomplete-3.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-argcomplete.spec ++++++ --- /var/tmp/diff_new_pack.cnHfWE/_old 2023-10-06 21:12:32.027716024 +0200 +++ /var/tmp/diff_new_pack.cnHfWE/_new 2023-10-06 21:12:32.027716024 +0200 @@ -17,10 +17,9 @@ # -%global skip_python2 1 %{?sle15_python_module_pythons} Name: python-argcomplete -Version: 3.1.1 +Version: 3.1.2 Release: 0 Summary: Bash tab completion for argparse License: Apache-2.0 ++++++ argcomplete-3.1.1.tar.gz -> argcomplete-3.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-3.1.1/Changes.rst new/argcomplete-3.1.2/Changes.rst --- old/argcomplete-3.1.1/Changes.rst 2023-06-12 01:37:42.000000000 +0200 +++ new/argcomplete-3.1.2/Changes.rst 2023-09-16 22:39:53.000000000 +0200 @@ -1,3 +1,8 @@ +Changes for v3.1.2 (2023-09-16) +=============================== + +- Ensure Python 3.12+ compatibility in check_console_script (#448) + Changes for v3.1.1 (2023-06-11) =============================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-3.1.1/PKG-INFO new/argcomplete-3.1.2/PKG-INFO --- old/argcomplete-3.1.1/PKG-INFO 2023-06-12 01:38:19.720147000 +0200 +++ new/argcomplete-3.1.2/PKG-INFO 2023-09-16 22:40:16.462625300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: argcomplete -Version: 3.1.1 +Version: 3.1.2 Summary: Bash tab completion for argparse Home-page: https://github.com/kislyuk/argcomplete Author: Andrey Kislyuk @@ -33,9 +33,15 @@ Classifier: Topic :: Terminals Requires-Python: >=3.6 Description-Content-Type: text/x-rst -Provides-Extra: test License-File: LICENSE.rst License-File: NOTICE +Requires-Dist: importlib-metadata<7,>=0.23; python_version < "3.8" +Provides-Extra: test +Requires-Dist: coverage; extra == "test" +Requires-Dist: pexpect; extra == "test" +Requires-Dist: wheel; extra == "test" +Requires-Dist: ruff; extra == "test" +Requires-Dist: mypy; extra == "test" argcomplete - Bash/zsh tab completion for argparse ================================================== @@ -268,7 +274,7 @@ If you choose not to use global completion, or ship a completion module that depends on argcomplete, you must register your script explicitly using ``eval "$(register-python-argcomplete my-python-app)"``. Standard completion module -registration roules apply: namely, the script name is passed directly to ``complete``, meaning it is only tab completed +registration rules apply: namely, the script name is passed directly to ``complete``, meaning it is only tab completed when invoked exactly as it was registered. In the above example, ``my-python-app`` must be on the path, and the user must be attempting to complete it by that name. The above line alone would **not** allow you to complete ``./my-python-app``, or ``/path/to/my-python-app``. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-3.1.1/README.rst new/argcomplete-3.1.2/README.rst --- old/argcomplete-3.1.1/README.rst 2023-06-10 22:21:43.000000000 +0200 +++ new/argcomplete-3.1.2/README.rst 2023-09-16 22:39:01.000000000 +0200 @@ -229,7 +229,7 @@ If you choose not to use global completion, or ship a completion module that depends on argcomplete, you must register your script explicitly using ``eval "$(register-python-argcomplete my-python-app)"``. Standard completion module -registration roules apply: namely, the script name is passed directly to ``complete``, meaning it is only tab completed +registration rules apply: namely, the script name is passed directly to ``complete``, meaning it is only tab completed when invoked exactly as it was registered. In the above example, ``my-python-app`` must be on the path, and the user must be attempting to complete it by that name. The above line alone would **not** allow you to complete ``./my-python-app``, or ``/path/to/my-python-app``. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-3.1.1/argcomplete/_check_console_script.py new/argcomplete-3.1.2/argcomplete/_check_console_script.py --- old/argcomplete-3.1.1/argcomplete/_check_console_script.py 2023-06-05 18:46:08.000000000 +0200 +++ new/argcomplete-3.1.2/argcomplete/_check_console_script.py 2023-09-16 22:39:01.000000000 +0200 @@ -39,7 +39,8 @@ # The importlib_metadata backport returns a tuple of entry point objects # whereas the official library returns a SelectableGroups object - if not use_entry_points_backport: + # Python 3.12+ behaves like the importlib_metadata backport + if not use_entry_points_backport and sys.version_info < (3, 12): entry_points = entry_points["console_scripts"] # type:ignore entry_points = [ep for ep in entry_points \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-3.1.1/argcomplete/shell_integration.py new/argcomplete-3.1.2/argcomplete/shell_integration.py --- old/argcomplete-3.1.1/argcomplete/shell_integration.py 2023-06-12 01:34:29.000000000 +0200 +++ new/argcomplete-3.1.2/argcomplete/shell_integration.py 2023-09-16 22:39:01.000000000 +0200 @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright 2012-2023, Andrey Kislyuk and argcomplete contributors. Licensed under the terms of the # `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_. Distribution of the LICENSE and NOTICE # files with source copies of this package and derivative works is **REQUIRED** as specified by the Apache License. @@ -111,8 +110,7 @@ Get-Content $completion_file | ForEach-Object { [System.Management.Automation.CompletionResult]::new($_, $_, "ParameterValue", $_) } - rm $completion_file - Remove-Item Env:\_ARGCOMPLETE_STDOUT_FILENAME, Env:\ARGCOMPLETE_USE_TEMPFILES, Env:\COMP_LINE, Env:\COMP_POINT, Env:\_ARGCOMPLETE, Env:\_ARGCOMPLETE_SUPPRESS_SPACE, Env:\_ARGCOMPLETE_IFS, Env:\_ARGCOMPLETE_SHELL + Remove-Item $completion_file, Env:\_ARGCOMPLETE_STDOUT_FILENAME, Env:\ARGCOMPLETE_USE_TEMPFILES, Env:\COMP_LINE, Env:\COMP_POINT, Env:\_ARGCOMPLETE, Env:\_ARGCOMPLETE_SUPPRESS_SPACE, Env:\_ARGCOMPLETE_IFS, Env:\_ARGCOMPLETE_SHELL } """ # noqa: E501 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-3.1.1/argcomplete.egg-info/PKG-INFO new/argcomplete-3.1.2/argcomplete.egg-info/PKG-INFO --- old/argcomplete-3.1.1/argcomplete.egg-info/PKG-INFO 2023-06-12 01:38:19.000000000 +0200 +++ new/argcomplete-3.1.2/argcomplete.egg-info/PKG-INFO 2023-09-16 22:40:16.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: argcomplete -Version: 3.1.1 +Version: 3.1.2 Summary: Bash tab completion for argparse Home-page: https://github.com/kislyuk/argcomplete Author: Andrey Kislyuk @@ -33,9 +33,15 @@ Classifier: Topic :: Terminals Requires-Python: >=3.6 Description-Content-Type: text/x-rst -Provides-Extra: test License-File: LICENSE.rst License-File: NOTICE +Requires-Dist: importlib-metadata<7,>=0.23; python_version < "3.8" +Provides-Extra: test +Requires-Dist: coverage; extra == "test" +Requires-Dist: pexpect; extra == "test" +Requires-Dist: wheel; extra == "test" +Requires-Dist: ruff; extra == "test" +Requires-Dist: mypy; extra == "test" argcomplete - Bash/zsh tab completion for argparse ================================================== @@ -268,7 +274,7 @@ If you choose not to use global completion, or ship a completion module that depends on argcomplete, you must register your script explicitly using ``eval "$(register-python-argcomplete my-python-app)"``. Standard completion module -registration roules apply: namely, the script name is passed directly to ``complete``, meaning it is only tab completed +registration rules apply: namely, the script name is passed directly to ``complete``, meaning it is only tab completed when invoked exactly as it was registered. In the above example, ``my-python-app`` must be on the path, and the user must be attempting to complete it by that name. The above line alone would **not** allow you to complete ``./my-python-app``, or ``/path/to/my-python-app``. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/argcomplete-3.1.1/argcomplete.egg-info/SOURCES.txt new/argcomplete-3.1.2/argcomplete.egg-info/SOURCES.txt --- old/argcomplete-3.1.1/argcomplete.egg-info/SOURCES.txt 2023-06-12 01:38:19.000000000 +0200 +++ new/argcomplete-3.1.2/argcomplete.egg-info/SOURCES.txt 2023-09-16 22:40:16.000000000 +0200 @@ -44,9 +44,11 @@ scripts/python-argcomplete-check-easy-install-script scripts/register-python-argcomplete test/__init__.py +test/__init__.pyc test/inputrc test/prog test/test.py +test/test.pyc test/test_contrib_shells.py test/test_package/__init__.py test/test_package/setup.py Binary files old/argcomplete-3.1.1/test/__init__.pyc and new/argcomplete-3.1.2/test/__init__.pyc differ Binary files old/argcomplete-3.1.1/test/test.pyc and new/argcomplete-3.1.2/test/test.pyc differ
