2025-07-25 22:54:18 +02:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Jun 8 15:09:58 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
|
|
|
|
|
|
|
|
|
- Add click-8.2.1-clirunner.patch to fix clirunner breaking other
|
|
|
|
|
modules' tests, cf. github.com/pallets/click/issues/2939
|
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Wed May 21 07:16:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update to 8.2.1:
|
|
|
|
|
* Fix flag value handling for flag options with a provided type.
|
|
|
|
|
#2894 #2897
|
|
|
|
|
* Fix shell completion for nested groups. #2906
|
|
|
|
|
* Flush sys.stderr at the end of CliRunner.invoke. #2682
|
|
|
|
|
* Fix EOF handling for stdin input in CliRunner. #2787
|
|
|
|
|
- Update URL.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun May 11 06:30:48 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
|
|
|
|
|
|
|
|
|
- Update to version 8.2.0:
|
|
|
|
|
* Drop support for Python 3.7, 3.8, and 3.9. #2588 #2893
|
|
|
|
|
* Use modern packaging metadata with pyproject.toml instead of setup.cfg.
|
|
|
|
|
#2438
|
|
|
|
|
* Use flit_core instead of setuptools as build backend. #2543
|
|
|
|
|
* Deprecate the __version__ attribute. Use feature detection, or
|
|
|
|
|
importlib.metadata.version("click"), instead. #2598
|
|
|
|
|
* BaseCommand is deprecated. Command is the base class for all
|
|
|
|
|
commands. #2589
|
|
|
|
|
* MultiCommand is deprecated. Group is the base class for all group
|
|
|
|
|
commands. #2590
|
|
|
|
|
* The current parser and related classes and methods, are deprecated.
|
|
|
|
|
#2205
|
|
|
|
|
- OptionParser and the parser module, which is a modified copy of
|
|
|
|
|
optparse in the standard library.
|
|
|
|
|
- Context.protected_args is unneeded. Context.args contains any
|
|
|
|
|
remaining arguments while parsing.
|
|
|
|
|
- Parameter.add_to_parser (on both Argument and Option) is
|
|
|
|
|
unneeded. Parsing works directly without building a separate parser.
|
|
|
|
|
- split_arg_string is moved from parser to shell_completion.
|
|
|
|
|
* Enable deferred evaluation of annotations with
|
|
|
|
|
from __future__ import annotations. #2270
|
|
|
|
|
* When generating a command's name from a decorated function's name, the
|
|
|
|
|
suffixes _command, _cmd, _group, and _grp are removed.
|
|
|
|
|
#2322
|
|
|
|
|
* Show the types.ParamType.name for types.Choice options within
|
|
|
|
|
--help message if show_choices=False is specified.
|
|
|
|
|
#2356
|
|
|
|
|
* Do not display default values in prompts when Option.show_default is
|
|
|
|
|
False. #2509
|
|
|
|
|
* Add get_help_extra method on Option to fetch the generated extra
|
|
|
|
|
items used in get_help_record to render help text. #2516
|
|
|
|
|
#2517
|
|
|
|
|
* Keep stdout and stderr streams independent in CliRunner. Always
|
|
|
|
|
collect stderr output and never raise an exception. Add a new
|
|
|
|
|
output stream to simulate what the user sees in its terminal. Removes
|
|
|
|
|
the mix_stderr parameter in CliRunner. #2522 #2523
|
|
|
|
|
* Option.show_envvar now also shows environment variable in error messages.
|
|
|
|
|
#2695 #2696
|
|
|
|
|
* Context.close will be called on exit. This results in all
|
|
|
|
|
Context.call_on_close callbacks and context managers added via
|
|
|
|
|
Context.with_resource to be closed on exit as well. #2680
|
|
|
|
|
* Add ProgressBar(hidden: bool) to allow hiding the progressbar. #2609
|
|
|
|
|
* A UserWarning will be shown when multiple parameters attempt to use the
|
|
|
|
|
same name. #2396
|
|
|
|
|
* When using Option.envvar with Option.flag_value, the flag_value
|
|
|
|
|
will always be used instead of the value of the environment variable.
|
|
|
|
|
#2746 #2788
|
|
|
|
|
* Add Choice.get_invalid_choice_message method for customizing the
|
|
|
|
|
invalid choice message. #2621 #2622
|
|
|
|
|
* If help is shown because no_args_is_help is enabled (defaults to True
|
|
|
|
|
for groups, False for commands), the exit code is 2 instead of 0.
|
|
|
|
|
#1489 #1489
|
|
|
|
|
* Contexts created during shell completion are closed properly, fixing
|
|
|
|
|
a ResourceWarning when using click.File. #2644 #2800
|
|
|
|
|
#2767
|
|
|
|
|
* click.edit(filename) now supports passing an iterable of filenames in
|
|
|
|
|
case the editor supports editing multiple files at once. Its return type
|
|
|
|
|
is now also typed: AnyStr if text is passed, otherwise None.
|
|
|
|
|
#2067 #2068
|
|
|
|
|
* Specialized typing of progressbar(length=...) as ProgressBar[int].
|
|
|
|
|
#2630
|
|
|
|
|
* Improve echo_via_pager behaviour in face of errors.
|
|
|
|
|
#2674
|
|
|
|
|
- Terminate the pager in case a generator passed to echo_via_pager
|
|
|
|
|
raises an exception.
|
|
|
|
|
- Ensure to always close the pipe to the pager process and wait for it
|
|
|
|
|
to terminate.
|
|
|
|
|
- echo_via_pager will not ignore KeyboardInterrupt anymore. This
|
|
|
|
|
allows the user to search for future output of the generator when
|
|
|
|
|
using less and then aborting the program using ctrl-c.
|
|
|
|
|
* deprecated: bool | str can now be used on options and arguments. This
|
|
|
|
|
previously was only available for Command. The message can now also be
|
|
|
|
|
customised by using a str instead of a bool. #2263 #2271
|
|
|
|
|
- Command.deprecated formatting in --help changed from
|
|
|
|
|
(Deprecated) help to help (DEPRECATED).
|
|
|
|
|
- Parameters cannot be required nor prompted or an error is raised.
|
|
|
|
|
- A warning will be printed when something deprecated is used.
|
|
|
|
|
* Add a catch_exceptions parameter to CliRunner. If
|
|
|
|
|
catch_exceptions is not passed to CliRunner.invoke, the value
|
|
|
|
|
from CliRunner is used. #2817 #2818
|
|
|
|
|
* Option.flag_value will no longer have a default value set based on
|
|
|
|
|
Option.default if Option.is_flag is False. This results in
|
|
|
|
|
Option.default not needing to implement __bool__. #2829
|
|
|
|
|
* Incorrect click.edit typing has been corrected. #2804
|
|
|
|
|
* Choice is now generic and supports any iterable value.
|
|
|
|
|
This allows you to use enums and other non-str values. #2796
|
|
|
|
|
#605
|
|
|
|
|
* Fix setup of help option's defaults when using a custom class on its
|
|
|
|
|
decorator. Removes HelpOption. #2832 #2840
|
|
|
|
|
|
2025-05-13 19:54:44 +02:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Jan 9 08:39:31 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update to 8.1.8
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix an issue with type hints for click.open_file(). :issue:2717
|
|
|
|
|
* Fix issue where error message for invalid click.Path displays on
|
|
|
|
|
multiple lines. :issue:2697
|
|
|
|
|
* Fixed issue that prevented a default value of "" from being displayed in
|
|
|
|
|
the help for an option. :issue:2500
|
2025-05-13 19:54:44 +02:00
|
|
|
|
* The test runner handles stripping color consistently on Windows.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
:issue:2705
|
|
|
|
|
* Show correct value for flag default when using default_map.
|
|
|
|
|
:issue:2632
|
|
|
|
|
* Fix click.echo(color=...) passing color to coloroma so it can be
|
|
|
|
|
forced on Windows. :issue:2606.
|
2025-05-13 19:54:44 +02:00
|
|
|
|
- Switch build system from setuptools to pyproject.toml
|
|
|
|
|
* Add python-pip and python-wheel to BuildRequires
|
|
|
|
|
* Replace %python_build with %pyproject_wheel
|
|
|
|
|
* Replace %python_install with %pyproject_install
|
|
|
|
|
* Update name for dist directory in %files section
|
|
|
|
|
- Update BuildRequires from pyproject.toml
|
|
|
|
|
|
2024-05-03 20:20:14 +02:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
- Update to 8.1.6
|
|
|
|
|
* Replace all typing.Dict occurrences to typing.MutableMapping for parameter
|
|
|
|
|
hints. #2255
|
|
|
|
|
* Improve type hinting for decorators and give all generic types parameters.
|
|
|
|
|
* 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 (<28>). #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
|
|
|
|
|
* Fix an issue with type hints for @click.command(), @click.option(), and
|
|
|
|
|
other decorators. Introduce typing tests. #2558
|
|
|
|
|
* Fix an issue with type hints for @click.group(). #2558
|
|
|
|
|
- Drop fix-tests.patch
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Fri May 5 13:41:09 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
|
|
|
|
|
|
|
|
|
- add fix-tests.patch to fix tests with new versions of python packages
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Fri Apr 21 12:23:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
- add sle15_python_module_pythons (jsc#PED-68)
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Apr 13 22:40:31 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
|
|
|
|
|
|
|
|
|
- Make calling of %{sle15modernpython} optional.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Fri Mar 24 12:48:15 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
|
|
|
|
|
|
|
|
|
- Remove not needed requirement python-setuptools
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Jun 5 14:19:36 UTC 2022 - Arun Persaud <arun@gmx.de>
|
|
|
|
|
|
|
|
|
|
- specfile
|
|
|
|
|
* require python >= 3.7
|
|
|
|
|
|
|
|
|
|
- update to version 8.1.3:
|
|
|
|
|
* Use verbose form of "typing.Callable" for "@command" and
|
2025-06-27 15:35:53 +02:00
|
|
|
|
"@group". :issue:2255
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Show error when attempting to create an option with
|
|
|
|
|
"multiple=True, is_flag=True". Use "count" instead.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
:issue:2246
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
- changes from version 8.1.2:
|
|
|
|
|
* Fix error message for readable path check that was mixed up with
|
2025-06-27 15:35:53 +02:00
|
|
|
|
the executable check. #2236
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Restore parameter order for "Path", placing the "executable"
|
|
|
|
|
parameter at the end. It is recommended to use keyword arguments
|
2025-06-27 15:35:53 +02:00
|
|
|
|
instead of positional arguments. :issue:2235
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
- changes from version 8.1.1:
|
|
|
|
|
* Fix an issue with decorator typing that caused type checking to
|
2025-06-27 15:35:53 +02:00
|
|
|
|
report that a command was not callable. :issue:2227
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
- changes from version 8.1.0:
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Drop support for Python 3.6. #2129
|
|
|
|
|
* Remove previously deprecated code. #2130
|
2024-05-03 20:20:14 +02:00
|
|
|
|
+ "Group.resultcallback" is renamed to "result_callback".
|
|
|
|
|
+ "autocompletion" parameter to "Command" is renamed to
|
|
|
|
|
"shell_complete".
|
|
|
|
|
+ "get_terminal_size" is removed, use "shutil.get_terminal_size"
|
|
|
|
|
instead.
|
|
|
|
|
+ "get_os_args" is removed, use "sys.argv[1:]" instead.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Rely on :pep:538 and :pep:540 to handle selecting UTF-8
|
2024-05-03 20:20:14 +02:00
|
|
|
|
encoding instead of ASCII. Click's locale encoding detection is
|
2025-06-27 15:35:53 +02:00
|
|
|
|
removed. :issue:2198
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Single options boolean flags with "show_default=True" only show
|
2025-06-27 15:35:53 +02:00
|
|
|
|
the default if it is "True". :issue:1971
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* The "command" and "group" decorators can be applied with or
|
2025-06-27 15:35:53 +02:00
|
|
|
|
without parentheses. :issue:1359
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* The "Path" type can check whether the target is executable.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
:issue:1961
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* "Command.show_default" overrides "Context.show_default", instead
|
2025-06-27 15:35:53 +02:00
|
|
|
|
of the other way around. :issue:1963
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Parameter decorators and "@group" handles "cls=None" the same as
|
|
|
|
|
not passing "cls". "@option" handles "help=None" the same as not
|
2025-06-27 15:35:53 +02:00
|
|
|
|
passing "help". :issue:#1959
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* A flag option with "required=True" requires that the flag is
|
|
|
|
|
passed instead of choosing the implicit default
|
2025-06-27 15:35:53 +02:00
|
|
|
|
value. :issue:1978
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Indentation in help text passed to "Option" and "Command" is
|
|
|
|
|
cleaned the same as using the "@option" and "@command"
|
|
|
|
|
decorators does. A command's "epilog" and "short_help" are also
|
2025-06-27 15:35:53 +02:00
|
|
|
|
processed. :issue:1985
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Store unprocessed "Command.help", "epilog" and "short_help"
|
|
|
|
|
strings. Processing is only done when formatting help text for
|
2025-06-27 15:35:53 +02:00
|
|
|
|
output. :issue:2149
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Allow empty str input for "prompt()" when
|
2025-06-27 15:35:53 +02:00
|
|
|
|
"confirmation_prompt=True" and "default=""". :issue:2157
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Windows glob pattern expansion doesn't fail if a value is an
|
2025-06-27 15:35:53 +02:00
|
|
|
|
invalid pattern. :issue:2195
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* It's possible to pass a list of "params" to "@command". Any params
|
|
|
|
|
defined with decorators are appended to the passed params.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
:issue:2131.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* "@command" decorator is annotated as returning the correct type if
|
2025-06-27 15:35:53 +02:00
|
|
|
|
a "cls" argument is used. :issue:2211
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* A "Group" with "invoke_without_command=True" and "chain=False"
|
|
|
|
|
will invoke its result callback with the group function's return
|
2025-06-27 15:35:53 +02:00
|
|
|
|
value. :issue:2124
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* "to_info_dict" will not fail if a "ParamType" doesn't define a
|
2025-06-27 15:35:53 +02:00
|
|
|
|
"name". :issue:2168
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Shell completion prioritizes option values with option prefixes
|
2025-06-27 15:35:53 +02:00
|
|
|
|
over new options. :issue:2040
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Options that get an environment variable value using
|
|
|
|
|
"autoenvvar_prefix" treat an empty value as "None", consistent
|
2025-06-27 15:35:53 +02:00
|
|
|
|
with a direct "envvar". :issue:2146
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sun Mar 27 11:02:05 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
- update to 8.0.4:
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* open_file recognizes Path("-") as a standard stream, the
|
|
|
|
|
same as the string "-". :issue:2106
|
|
|
|
|
* The option and argument decorators preserve the type
|
|
|
|
|
annotation of the decorated function. #2155
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* A callable default value can customize its help text by overriding
|
2025-06-27 15:35:53 +02:00
|
|
|
|
__str__ instead of always showing (dynamic). :issue:2099
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix a typo in the Bash completion script that affected file and
|
|
|
|
|
directory completion. If this script was generated by a previous
|
2025-06-27 15:35:53 +02:00
|
|
|
|
version, it should be regenerated. :issue:2163
|
|
|
|
|
* Fix typing for echo and secho file argument.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Oct 16 21:18:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
- update to 8.0.3:
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix issue with Path(resolve_path=True) type creating invalid
|
|
|
|
|
paths. :issue:2088
|
|
|
|
|
* Importing readline does not cause the confirm() prompt to
|
|
|
|
|
disappear when pressing backspace. :issue:2092
|
|
|
|
|
* Any default values injected by invoke() are cast to the
|
|
|
|
|
corresponding parameter's type. :issue:2089, 2090
|
|
|
|
|
* is_bool_flag is not set to True if is_flag is False.
|
|
|
|
|
* Bash version detection is locale independent. :issue:1940
|
|
|
|
|
* Empty default value is not shown for multiple=True.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix shell completion for arguments that start with a forward slash
|
2025-06-27 15:35:53 +02:00
|
|
|
|
such as absolute file paths. :issue:1929
|
|
|
|
|
* Path type with resolve_path=True resolves relative symlinks
|
|
|
|
|
to be relative to the containing directory. :issue:1921
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Completion does not skip Python's resource cleanup when exiting,
|
2025-06-27 15:35:53 +02:00
|
|
|
|
avoiding some unexpected warning output. :issue:1738, 2017
|
|
|
|
|
* Fix type annotation for type argument in prompt function.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix overline and italic styles, which were incorrectly added when
|
2025-06-27 15:35:53 +02:00
|
|
|
|
adding underline. #2058
|
|
|
|
|
* An option with count=True will not show "[x>=0]" in help text.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Default values are not cast to the parameter type twice during
|
|
|
|
|
processing.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Options with multiple and flag_value use the flag value
|
2024-05-03 20:20:14 +02:00
|
|
|
|
instead of leaving an internal placeholder.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon Aug 30 10:30:30 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
|
|
|
|
|
|
- Add runtime dependency on importlib-metadata on Python 3.6
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Jun 19 14:16:30 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
|
|
|
|
|
|
|
|
|
- update to 8.0.1:
|
|
|
|
|
way too many changes to be listed here, see:
|
|
|
|
|
https://click.palletsprojects.com/en/8.0.x/changes/#version-8-0-1
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Aug 20 23:45:47 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
|
|
|
|
|
|
- Add runtime dependency on setuptools
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Wed Jun 3 11:15:12 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
- update to 7.1.2:
|
2025-06-27 15:35:53 +02:00
|
|
|
|
Revert applying shell quoting to commands for echo_with_pager
|
|
|
|
|
and edit. This was intended to allows spaces in commands, but
|
2024-05-03 20:20:14 +02:00
|
|
|
|
caused issues if the string was actually a command and arguments, or
|
|
|
|
|
on Windows. Instead, the string must be quoted manually as it should
|
2025-06-27 15:35:53 +02:00
|
|
|
|
appear on the command line. :issue:1514
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Mar 31 11:57:08 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
|
|
|
|
|
|
|
|
|
- Update to 7.1.1
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix ClickException output going to stdout instead of stderr.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix PyPI package name, "click" is lowercase again.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix link in unicode_literals error message. #1151
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Add support for colored output on UNIX Jupyter notebooks.
|
|
|
|
|
* Operations that strip ANSI controls will strip the cursor hide/show
|
2025-06-27 15:35:53 +02:00
|
|
|
|
sequences. :issue:1216
|
|
|
|
|
* Remove unused compat shim for bytes. #1195
|
|
|
|
|
* Always return one of the passed choices for click.Choice
|
|
|
|
|
:issue:1277, #1318
|
|
|
|
|
* Handle env MYPATH='' as though the option were not passed.
|
|
|
|
|
:issue:1196
|
|
|
|
|
* It is once again possible to call next(bar) on an active
|
|
|
|
|
progress bar instance. :issue:1125
|
|
|
|
|
* open_file with atomic=True retains permissions of existing
|
|
|
|
|
files and respects the current umask for new files. :issue:1376
|
|
|
|
|
* Fix TypeError raised when using bool flags and specifying
|
|
|
|
|
type=bool. :issue:1287
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Newlines in option help text are replaced with spaces before
|
2025-06-27 15:35:53 +02:00
|
|
|
|
re-wrapping to avoid uneven line breaks. :issue:834
|
|
|
|
|
* MissingParameter exceptions are printable in the Python
|
|
|
|
|
interpreter. :issue:1139
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix how default values for file-type options are shown during
|
2025-06-27 15:35:53 +02:00
|
|
|
|
prompts. :issue:914
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Option help text that is wrapped adds an extra newline at the end to
|
2025-06-27 15:35:53 +02:00
|
|
|
|
distinguish it from the next option. :issue:1075
|
|
|
|
|
* Consider sensible-editor when determining the editor to use for
|
|
|
|
|
click.edit(). #1469
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Arguments to system calls such as the executable path passed to
|
2025-06-27 15:35:53 +02:00
|
|
|
|
click.edit can contains spaces. #1470
|
|
|
|
|
* Add ZSH completion autoloading and error handling. :issue:1348
|
|
|
|
|
* ZSH completion escapes special characters in values. #1418
|
|
|
|
|
* Add completion support for Fish shell. #1423
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Decoding bytes option values falls back to UTF-8 in more cases.
|
|
|
|
|
* 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
|
2025-06-27 15:35:53 +02:00
|
|
|
|
2.0. #1492
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon Oct 14 11:43:49 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
|
|
|
|
|
|
|
|
|
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Dec 22 16:12:12 UTC 2018 - marec@detebe.org
|
|
|
|
|
|
|
|
|
|
- update to version 7.0:
|
|
|
|
|
* Drop support for Python 2.6 and 3.3.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Wrap click.Choice's missing message.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Add native ZSH autocompletion support.
|
|
|
|
|
* Document that ANSI color info isn't parsed from bytearrays in
|
|
|
|
|
Python 2.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Document byte-stripping behavior of CliRunner.
|
|
|
|
|
* Usage errors now hint at the --help option.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Implement streaming pager.
|
|
|
|
|
* Extract bar formatting to its own method.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Add DateTime type for converting input in given date time
|
2024-05-03 20:20:14 +02:00
|
|
|
|
formats.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* secho's first argument can now be None, like in echo.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fixes a ZeroDivisionError in ProgressBar.make_step, when the
|
|
|
|
|
arg passed to the first call of ProgressBar.update is 0.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
* Show progressbar only if total execution time is visible.
|
|
|
|
|
* Added the ability to hide commands and options from help.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Document that options can be required=True.
|
|
|
|
|
* Non-standalone calls to Context.exit return the exit code,
|
|
|
|
|
rather than calling sys.exit.
|
|
|
|
|
* click.getchar() returns Unicode in Python 3 on Windows,
|
2024-05-03 20:20:14 +02:00
|
|
|
|
consistent with other platforms.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Added FloatRange type.
|
|
|
|
|
* Added support for bash completion of type=click.Choice for
|
|
|
|
|
Options and Arguments.
|
|
|
|
|
* Only allow one positional arg for Argument parameter
|
2024-05-03 20:20:14 +02:00
|
|
|
|
declaration.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Add case_sensitive=False as an option to Choice.
|
|
|
|
|
* click.getchar() correctly raises KeyboardInterrupt on "^C"
|
|
|
|
|
and EOFError on "^D" on Linux.
|
|
|
|
|
* Fix encoding issue with click.getchar(echo=True) on Linux.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* param_hint in errors now derived from param itself.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Add a test that ensures that when an argument is formatted into a
|
|
|
|
|
usage error, its metavar is used, not its name.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Allow setting prog_name as extra in CliRunner.invoke.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Help text taken from docstrings truncates at the \f form feed
|
2024-05-03 20:20:14 +02:00
|
|
|
|
character, useful for hiding Sphinx-style parameter documentation.
|
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* launch now works properly under Cygwin.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Update progress after iteration.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* CliRunner.invoke now may receive args as a string
|
2024-05-03 20:20:14 +02:00
|
|
|
|
representing a Unix shell command.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Make Argument.make_metavar() default to type metavar.
|
|
|
|
|
* Add documentation for ignore_unknown_options.
|
|
|
|
|
* 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.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Avoid BrokenPipeError during interpreter shutdown when stdout or
|
2024-05-03 20:20:14 +02:00
|
|
|
|
stderr is a closed pipe.
|
|
|
|
|
* Document customizing option names.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Disable sys._getframes() on Python interpreters that don't
|
2024-05-03 20:20:14 +02:00
|
|
|
|
support it.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix bug in test runner when calling sys.exit with None.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
* Clarify documentation on command line options.
|
|
|
|
|
* Fix crash on Windows console.
|
|
|
|
|
* Fix bug that caused bash completion to give improper completions on
|
|
|
|
|
chained commands.
|
|
|
|
|
* Added support for dynamic bash completion from a user-supplied
|
|
|
|
|
callback.
|
|
|
|
|
* Added support for bash completions containing spaces.
|
|
|
|
|
* Allow autocompletion function to determine whether or not to return
|
|
|
|
|
completions that start with the incomplete argument.
|
|
|
|
|
* Fix option naming routine to match documentation and be
|
|
|
|
|
deterministic.
|
|
|
|
|
* Fix path validation bug.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Add test and documentation for Option naming: functionality.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Update doc to match arg name for path_type.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Raw strings added so correct escaping occurs.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix 16k character limit of click.echo on Windows.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Overcome 64k character limit when writing to binary stream on
|
|
|
|
|
Windows 7.
|
|
|
|
|
* Add bool conversion for "t" and "f".
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* NoSuchOption errors take ctx so that --help hint gets
|
2024-05-03 20:20:14 +02:00
|
|
|
|
printed in error output.
|
|
|
|
|
* Fixed the behavior of Click error messages with regards to Unicode
|
|
|
|
|
on 2.x and 3.x. Message is now always Unicode and the str and
|
|
|
|
|
Unicode special methods work as you expect on that platform.
|
|
|
|
|
|
|
|
|
|
* Progress bar now uses stderr by default.
|
|
|
|
|
* Add support for auto-completion documentation.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Allow CliRunner to separate stdout and stderr.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix variable precedence.
|
|
|
|
|
* Fix invalid escape sequences.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix ResourceWarning that occurs during some tests.
|
|
|
|
|
* When detecting a misconfigured locale, don't fail if the locale
|
2024-05-03 20:20:14 +02:00
|
|
|
|
command fails.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Add case_sensitive=False as an option to Choice types.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
* 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
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* _AtomicFile now uses the realpath of the original filename
|
2024-05-03 20:20:14 +02:00
|
|
|
|
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.
|
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* "x" and "a" file modes now use stdout when file is "-".
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix missing comma in __all__ list.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Clarify how parameters are named.
|
|
|
|
|
* Stdout is now automatically set to non blocking.
|
|
|
|
|
* Do not set options twice.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Move fcntl import.
|
|
|
|
|
* Fix Google App Engine ImportError.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Better handling of help text for dynamic default option values.
|
|
|
|
|
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix get_winter_size() so it correctly returns (0,0).
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
* Add test case checking for custom param type.
|
|
|
|
|
* Allow short width to address cmd formatting.
|
|
|
|
|
* Add details about Python version support.
|
|
|
|
|
* Added deprecation flag to commands.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fixed issues where fd was undefined.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix formatting for short help.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Document how auto_envvar_prefix works with command groups.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
* 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
|
2025-06-27 15:35:53 +02:00
|
|
|
|
named my_command it becomes my-command in the command line
|
2024-05-03 20:20:14 +02:00
|
|
|
|
interface.
|
|
|
|
|
* Hide hidden commands and options from completion.
|
|
|
|
|
* Fix absolute import blocking Click from being vendored into a
|
|
|
|
|
project on Windows.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix issue where a lowercase auto_envvar_prefix would not be
|
2024-05-03 20:20:14 +02:00
|
|
|
|
converted to uppercase.
|
|
|
|
|
- Drop patch merged upstream python-click-test_compat.py.patch
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Wed Dec 5 01:18:27 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
|
|
|
|
|
|
|
|
|
- Trim bias and future aims from description.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Dec 4 12:46:39 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
|
|
|
|
|
|
|
|
|
- Remove superfluous devel dependency for noarch package
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Sep 12 06:39:01 UTC 2017 - thomas.schraitle@suse.com
|
|
|
|
|
|
|
|
|
|
- Added python-click-test_compat.py.patch to let %check section
|
|
|
|
|
run successfully
|
|
|
|
|
Disabled test_legacy_callbacks() for the time being
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Apr 4 15:50:59 UTC 2017 - jmatejek@suse.com
|
|
|
|
|
|
|
|
|
|
- better test runner that works with pypy
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Wed Mar 22 15:44:17 UTC 2017 - aloisio@gmx.com
|
|
|
|
|
|
|
|
|
|
- Converted to single-spec
|
|
|
|
|
- Changed source URL to pypi.io
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Mar 16 12:41:06 UTC 2017 - michael@stroeder.com
|
|
|
|
|
|
|
|
|
|
- update to version 6.7:
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Make click.progressbar work with codecs.open files. See #637.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Fix bug in bash completion with nested subcommands. See #639.
|
|
|
|
|
* Fix test runner not saving caller env correctly. See #644.
|
|
|
|
|
* Fix handling of SIGPIPE. See #626
|
|
|
|
|
* Deal with broken Windows environments such as Google App
|
|
|
|
|
Engine's. See #711.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Nov 17 13:49:50 UTC 2016 - rjschwei@suse.com
|
|
|
|
|
|
|
|
|
|
- Include in SLE 12 (FATE#320818, bsc#979331)
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Sep 15 22:54:59 UTC 2016 - toddrme2178@gmail.com
|
|
|
|
|
|
|
|
|
|
- update to version 6.6:
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix bug in click.Path where it would crash when passed a
|
|
|
|
|
-. See #551.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
- update to version 6.4:
|
|
|
|
|
* Fix bug in bash completion where click would discard one or more
|
|
|
|
|
trailing arguments. See #471.
|
|
|
|
|
- update to version 6.3:
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix argument checks for interpreter invoke with -m and -c on
|
2024-05-03 20:20:14 +02:00
|
|
|
|
Windows.
|
|
|
|
|
* Fixed a bug that cased locale detection to error out on Python 3.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Thu Dec 3 13:21:05 UTC 2015 - ronisbr@gmail.com
|
|
|
|
|
|
|
|
|
|
- Update to version 6.2
|
|
|
|
|
* Correct fix for hidden progress bars.
|
|
|
|
|
- Changes from version 6.1
|
|
|
|
|
* Resolved an issue with invisible progress bars no longer
|
|
|
|
|
rendering.
|
|
|
|
|
* Disable chain commands with subcommands as they were
|
|
|
|
|
inherently broken.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix MissingParameter not working without parameters passed.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
- Changes from version 6.0
|
|
|
|
|
* Optimized the progressbar rendering to not render when it did
|
|
|
|
|
not actually change.
|
|
|
|
|
* Explicitly disallow nargs=-1 with a set default.
|
|
|
|
|
* The context is now closed before it's popped from the stack.
|
|
|
|
|
* Added support for short aliases for the false flag on
|
|
|
|
|
toggles.
|
|
|
|
|
* Click will now attempt to aid you with debugging locale
|
|
|
|
|
errors better by listing with the help of the OS what locales
|
|
|
|
|
are available.
|
|
|
|
|
* Click used to return byte strings on Python 2 in some
|
|
|
|
|
unit-testing situations. This has been fixed to correctly
|
|
|
|
|
return unicode strings now.
|
|
|
|
|
* For Windows users on Python 2, Click will now handle Unicode
|
|
|
|
|
more correctly handle Unicode coming in from the system.
|
|
|
|
|
This also has the disappointing side effect that filenames
|
2025-06-27 15:35:53 +02:00
|
|
|
|
will now be always unicode by default in the Path type
|
2024-05-03 20:20:14 +02:00
|
|
|
|
which means that this can introduce small bugs for code not
|
|
|
|
|
aware of this.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Added a type parameter to Path to force a specific string
|
2024-05-03 20:20:14 +02:00
|
|
|
|
type on the value.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* For users running Python on Windows the echo) and prompt
|
2024-05-03 20:20:14 +02:00
|
|
|
|
functions now work with full unicode functionality in the
|
|
|
|
|
Python windows console by emulating an output stream. This
|
|
|
|
|
also applies to getting the virtual output and input streams
|
2025-06-27 15:35:53 +02:00
|
|
|
|
via click.get_text_stream(...).
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Unittests now always force a certain virtual terminal width.
|
|
|
|
|
* Added support for allowing dashes to indicate standard
|
2025-06-27 15:35:53 +02:00
|
|
|
|
streams to the Path type.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Multi commands in chain mode no longer propagate arguments
|
|
|
|
|
left over from parsing to the callbacks. It's also now
|
|
|
|
|
disallowed through an exception when optional arguments are
|
|
|
|
|
attached to multi commands if chain mode is enabled.
|
|
|
|
|
* Relaxed restriction that disallowed chained commands to have
|
|
|
|
|
other chained commands as child commands.
|
|
|
|
|
* Arguments with positive nargs can now have defaults
|
|
|
|
|
implemented. Previously this configuration would often
|
|
|
|
|
result in slightly unexpected values be returned.
|
|
|
|
|
- Changes from version 5.1
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Fix a bug in pass_obj that would accidentally pass the
|
2024-05-03 20:20:14 +02:00
|
|
|
|
context too.
|
|
|
|
|
- Changes from version 5.0
|
|
|
|
|
* Removed various deprecated functionality.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* Atomic files now only accept the w mode.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
* Change the usage part of help output for very long commands
|
|
|
|
|
to wrap their arguments onto the next line, indented by 4
|
|
|
|
|
spaces.
|
|
|
|
|
* Fix a bug where return code and error messages were incorrect
|
2025-06-27 15:35:53 +02:00
|
|
|
|
when using CliRunner.
|
|
|
|
|
* added get_current_context.
|
|
|
|
|
* added a meta dictionary to the context which is shared
|
2024-05-03 20:20:14 +02:00
|
|
|
|
across the linked list of contexts to allow click utilities
|
|
|
|
|
to place state there.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* introduced Context.scope.
|
|
|
|
|
* The echo function is now threadsafe: It calls the write
|
2024-05-03 20:20:14 +02:00
|
|
|
|
method of the underlying object only once.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* prompt(hide_input=True) now prints a newline on ^C.
|
|
|
|
|
* Click will now warn if users are using unicode_literals.
|
|
|
|
|
* Click will now ignore the PAGER environment variable if
|
2024-05-03 20:20:14 +02:00
|
|
|
|
it is empty or contains only whitespace.
|
2025-06-27 15:35:53 +02:00
|
|
|
|
* The click-contrib GitHub organization was created.
|
2024-05-03 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Jul 18 17:17:10 UTC 2015 - aloisio@gmx.com
|
|
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
trailing newlines.
|
|
|
|
|
Version 4.0:
|
|
|
|
|
* Added color parameters to lots of interfaces that directly
|
|
|
|
|
or indirectly call into echoing. This previously was always
|
|
|
|
|
autodetection (with the exception of the echo_via_pager
|
|
|
|
|
function). Now you can forcefully enable or disable it,
|
|
|
|
|
overriding the auto detection of Click.
|
|
|
|
|
* Added an UNPROCESSED type which does not perform any type
|
|
|
|
|
changes which simplifies text handling on 2.x / 3.x in
|
|
|
|
|
some special advanced usecases.
|
|
|
|
|
* Added NoSuchOption and BadOptionUsage exceptions for more
|
|
|
|
|
generic handling of errors.
|
|
|
|
|
* Added support for handling of unprocessed options which
|
|
|
|
|
can be useful in situations where arguments are forwarded
|
|
|
|
|
to underlying tools.
|
|
|
|
|
* Added max_content_width parameter to the context which
|
|
|
|
|
can be used to change the maximum width of help output.
|
|
|
|
|
By default Click will not format content for more than
|
|
|
|
|
80 characters width.
|
|
|
|
|
* Added support for writing prompts to stderr.
|
|
|
|
|
* Fix a bug when showing the default for multiple arguments.
|
|
|
|
|
* Added support for custom subclasses to option and argument.
|
|
|
|
|
* Fix bug in clear() on Windows when colorama is installed.
|
|
|
|
|
* Reject nargs=-1 for options properly. Options cannot be
|
|
|
|
|
variadic.
|
|
|
|
|
* Fixed an issue with bash completion not working properly
|
|
|
|
|
for commands with non ASCII characters or dashes.
|
|
|
|
|
* Added a way to manually update the progressbar.
|
|
|
|
|
* Changed the formatting of missing arguments. Previously
|
|
|
|
|
the internal argument name was shown in error messages,
|
|
|
|
|
now the metavar is shown if passed. In case an automated
|
|
|
|
|
metavar is selected, it’s stripped of extra formatting first.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Aug 26 11:22:44 UTC 2014 - p.drouand@gmail.com
|
|
|
|
|
|
|
|
|
|
- Fix %description
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Aug 26 02:37:06 UTC 2014 - lowks@lowkster.com
|
|
|
|
|
|
|
|
|
|
- Initial package of python-click
|
|
|
|
|
|