Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-click-8.2.1-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python311-click Distribution: openSUSE Tumbleweed
Version: 8.2.1 Vendor: openSUSE
Release: 1.1 Build date: Wed May 21 09:16:31 2025
Group: Unspecified Build host: reproducible
Size: 1201765 Source RPM: python-click-8.2.1-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/pallets/click
Summary: A wrapper around optparse for command line utilities
Click is a Python package for creating command line interfaces
in a composable way with as little code as necessary.  It's the "Command
Line Interface Creation Kit". It is configurable, and comes with
defaults out of the box.

Provides

Requires

License

BSD-3-Clause

Changelog

* Wed May 21 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 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
* Thu Jan 09 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
  - Update to 8.1.8
    * 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
    * The test runner handles stripping color consistently on Windows.
      :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.
  - 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
* Thu Sep 07 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 01 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 (�). #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 05 2023 Markéta Machová <mmachova@suse.com>
  - add fix-tests.patch to fix tests with new versions of python packages
* Fri Apr 21 2023 Dirk Müller <dmueller@suse.com>
  - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl <mcepl@suse.com>
  - Make calling of %{sle15modernpython} optional.
* Fri Mar 24 2023 Daniel Garcia <daniel.garcia@suse.com>
  - Remove not needed requirement python-setuptools
* Sun Jun 05 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
      "@group". :issue:2255
    * Show error when attempting to create an option with
      "multiple=True, is_flag=True". Use "count" instead.
      :issue:2246
  - changes from version 8.1.2:
    * Fix error message for readable path check that was mixed up with
      the executable check. #2236
    * Restore parameter order for "Path", placing the "executable"
      parameter at the end. It is recommended to use keyword arguments
      instead of positional arguments. :issue:2235
  - changes from version 8.1.1:
    * Fix an issue with decorator typing that caused type checking to
      report that a command was not callable. :issue:2227
  - changes from version 8.1.0:
    * Drop support for Python 3.6. #2129
    * Remove previously deprecated code. #2130
      + "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.
    * Rely on :pep:538 and :pep:540 to handle selecting UTF-8
      encoding instead of ASCII. Click's locale encoding detection is
      removed.  :issue:2198
    * Single options boolean flags with "show_default=True" only show
      the default if it is "True". :issue:1971
    * The "command" and "group" decorators can be applied with or
      without parentheses. :issue:1359
    * The "Path" type can check whether the target is executable.
      :issue:1961
    * "Command.show_default" overrides "Context.show_default", instead
      of the other way around. :issue:1963
    * Parameter decorators and "@group" handles "cls=None" the same as
      not passing "cls". "@option" handles "help=None" the same as not
      passing "help". :issue:#1959
    * A flag option with "required=True" requires that the flag is
      passed instead of choosing the implicit default
      value. :issue:1978
    * 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
      processed. :issue:1985
    * Store unprocessed "Command.help", "epilog" and "short_help"
      strings. Processing is only done when formatting help text for
      output. :issue:2149
    * Allow empty str input for "prompt()" when
      "confirmation_prompt=True" and "default=""". :issue:2157
    * Windows glob pattern expansion doesn't fail if a value is an
      invalid pattern. :issue:2195
    * It's possible to pass a list of "params" to "@command". Any params
      defined with decorators are appended to the passed params.
      :issue:2131.
    * "@command" decorator is annotated as returning the correct type if
      a "cls" argument is used. :issue:2211
    * A "Group" with "invoke_without_command=True" and "chain=False"
      will invoke its result callback with the group function's return
      value. :issue:2124
    * "to_info_dict" will not fail if a "ParamType" doesn't define a
      "name". :issue:2168
    * Shell completion prioritizes option values with option prefixes
      over new options. :issue:2040
    * Options that get an environment variable value using
      "autoenvvar_prefix" treat an empty value as "None", consistent
      with a direct "envvar". :issue:2146
* Sun Mar 27 2022 Dirk Müller <dmueller@suse.com>
  - update to 8.0.4:
    * 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
    * A callable default value can customize its help text by overriding
      __str__ instead of always showing (dynamic). :issue:2099
    * Fix a typo in the Bash completion script that affected file and
      directory completion. If this script was generated by a previous
      version, it should be regenerated. :issue:2163
    * Fix typing for echo and secho file argument.

Files

/usr/lib/python3.11/site-packages/click
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info/METADATA
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info/RECORD
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info/WHEEL
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info/licenses
/usr/lib/python3.11/site-packages/click-8.2.1.dist-info/licenses/LICENSE.txt
/usr/lib/python3.11/site-packages/click/__init__.py
/usr/lib/python3.11/site-packages/click/__pycache__
/usr/lib/python3.11/site-packages/click/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_compat.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_compat.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_termui_impl.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_termui_impl.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_textwrap.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_textwrap.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_winconsole.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/_winconsole.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/core.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/core.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/decorators.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/decorators.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/exceptions.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/exceptions.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/formatting.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/formatting.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/globals.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/globals.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/parser.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/parser.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/shell_completion.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/shell_completion.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/termui.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/termui.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/testing.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/testing.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/types.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/types.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/utils.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/click/__pycache__/utils.cpython-311.pyc
/usr/lib/python3.11/site-packages/click/_compat.py
/usr/lib/python3.11/site-packages/click/_termui_impl.py
/usr/lib/python3.11/site-packages/click/_textwrap.py
/usr/lib/python3.11/site-packages/click/_winconsole.py
/usr/lib/python3.11/site-packages/click/core.py
/usr/lib/python3.11/site-packages/click/decorators.py
/usr/lib/python3.11/site-packages/click/exceptions.py
/usr/lib/python3.11/site-packages/click/formatting.py
/usr/lib/python3.11/site-packages/click/globals.py
/usr/lib/python3.11/site-packages/click/parser.py
/usr/lib/python3.11/site-packages/click/py.typed
/usr/lib/python3.11/site-packages/click/shell_completion.py
/usr/lib/python3.11/site-packages/click/termui.py
/usr/lib/python3.11/site-packages/click/testing.py
/usr/lib/python3.11/site-packages/click/types.py
/usr/lib/python3.11/site-packages/click/utils.py
/usr/share/doc/packages/python311-click
/usr/share/doc/packages/python311-click/CHANGES.rst
/usr/share/doc/packages/python311-click/README.md
/usr/share/licenses/python311-click
/usr/share/licenses/python311-click/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Jun 8 23:24:32 2025