- update to 8.1.7:

* Fix issue with regex flags in shell completion.
  * Bash version detection issues a warning instead of an
    error.
  * Fix issue with completion script for Fish shell.
- Update to version 4.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=48
This commit is contained in:
Dirk Mueller 2023-09-07 10:59:41 +00:00 committed by Git OBS Bridge
parent 555d91a213
commit c00a0b7141
4 changed files with 31 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48ee849951919527a045bfe3bf7baa8a959c423134e1a5b98c05c20ba75a1cbd
size 336051

BIN
click-8.1.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Sep 7 10:58:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 8.1.7:
* Fix issue with regex flags in shell completion.
* Bash version detection issues a warning instead of an
error.
* Fix issue with completion script for Fish shell.
-------------------------------------------------------------------
Tue Aug 1 19:44:22 UTC 2023 - Markéta Machová <mmachova@suse.com>
@ -241,7 +250,7 @@ Tue Mar 31 11:57:08 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
* Make the warning about old 2-arg parameter callbacks a deprecation
warning, to be removed in 8.0. This has been a warning since Click
2.0. :pr:`1492`
-------------------------------------------------------------------
Mon Oct 14 11:43:49 UTC 2019 - Matej Cepl <mcepl@suse.com>
@ -263,10 +272,10 @@ Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
* Add ``DateTime`` type for converting input in given date time
formats.
* ``secho``'s first argument can now be ``None``, like in ``echo``.
* Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the
arg passed to the first call of ``ProgressBar.update`` is 0.
* Show progressbar only if total execution time is visible.
* Added the ability to hide commands and options from help.
* Document that options can be ``required=True``.
@ -283,15 +292,15 @@ Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
* ``click.getchar()`` correctly raises ``KeyboardInterrupt`` on "^C"
and ``EOFError`` on "^D" on Linux.
* Fix encoding issue with ``click.getchar(echo=True)`` on Linux.
* ``param_hint`` in errors now derived from param itself.
* Add a test that ensures that when an argument is formatted into a
usage error, its metavar is used, not its name.
* Allow setting ``prog_name`` as extra in ``CliRunner.invoke``.
* Help text taken from docstrings truncates at the ``\f`` form feed
character, useful for hiding Sphinx-style parameter documentation.
* ``launch`` now works properly under Cygwin.
* Update progress after iteration.
* ``CliRunner.invoke`` now may receive ``args`` as a string
@ -301,14 +310,14 @@ Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
* Add bright colors support for ``click.style`` and fix the reset
option for parameters ``fg`` and ``bg``.
* Add ``show_envvar`` for showing environment variables in help.
* Avoid ``BrokenPipeError`` during interpreter shutdown when stdout or
stderr is a closed pipe.
* Document customizing option names.
* Disable ``sys._getframes()`` on Python interpreters that don't
support it.
* Fix bug in test runner when calling ``sys.exit`` with ``None``.
* Clarify documentation on command line options.
* Fix crash on Windows console.
* Fix bug that caused bash completion to give improper completions on
@ -322,7 +331,7 @@ Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
deterministic.
* Fix path validation bug.
* Add test and documentation for ``Option`` naming: functionality.
* Update doc to match arg name for ``path_type``.
* Raw strings added so correct escaping occurs.
* Fix 16k character limit of ``click.echo`` on Windows.
@ -344,18 +353,18 @@ Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
* When detecting a misconfigured locale, don't fail if the ``locale``
command fails.
* Add ``case_sensitive=False`` as an option to ``Choice`` types.
* Force stdout/stderr writable. This works around issues with badly
patched standard streams like those from Jupyter.
* Fix completion of subcommand options after last argument
* ``_AtomicFile`` now uses the ``realpath`` of the original filename
so that changing the working directory does not affect it.
* Fix incorrect completions when defaults are present
* Add copy option attrs so that custom classes can be re-used.
* "x" and "a" file modes now use stdout when file is ``"-"``.
* Fix missing comma in ``__all__`` list.
* Clarify how parameters are named.
* Stdout is now automatically set to non blocking.
@ -363,9 +372,9 @@ Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
* Move ``fcntl`` import.
* Fix Google App Engine ``ImportError``.
* Better handling of help text for dynamic default option values.
* Fix ``get_winter_size()`` so it correctly returns ``(0,0)``.
* Add test case checking for custom param type.
* Allow short width to address cmd formatting.
* Add details about Python version support.
@ -373,11 +382,11 @@ Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
* Fixed issues where ``fd`` was undefined.
* Fix formatting for short help.
* Document how ``auto_envvar_prefix`` works with command groups.
* Don't add newlines by default for progress bars.
* Use Python sorting order for ZSH completions.
* Document that parameter names are converted to lowercase by default.
* Subcommands that are named by the function now automatically have
the underscore replaced with a dash. If you register a function
named ``my_command`` it becomes ``my-command`` in the command line
@ -523,7 +532,7 @@ Thu Dec 3 13:21:05 UTC 2015 - ronisbr@gmail.com
-------------------------------------------------------------------
Sat Jul 18 17:17:10 UTC 2015 - aloisio@gmx.com
- Update to version 4.1
- Update to version 4.1
* Fix a bug where error messages would include a trailing
None string.
* Fix a bug where Click would crash on docstrings with

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-click
Version: 8.1.6
Version: 8.1.7
Release: 0
Summary: A wrapper around optparse for command line utilities
License: BSD-3-Clause