We have some news to share for the request index beta feature. We’ve added more options to sort your requests, counters to the individual filters and documentation for the search functionality. Checkout the blog post for more details.

File python-knack.changes of Package python-knack

-------------------------------------------------------------------
Mon Nov  3 14:38:11 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.13.0
  * Declare support for Python 3.13 (#290)
  * Drop Python 3.8 support (#289)

-------------------------------------------------------------------
Fri Aug  2 11:56:05 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.12.0
  * Declare support for Python 3.12 (#279)
- 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
- Limit Python files matched in %files section

-------------------------------------------------------------------
Wed Mar  6 14:07:45 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Switch package to modern Python Stack on SLE-15
  + Add %{?sle15_python_module_pythons}
  + Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}}
  + Drop %define skip_python2 1

-------------------------------------------------------------------
Mon Aug 14 13:08:03 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.11.0
  * Declare support for Python 3.11 and drop support for Python 3.7 (#275)
  * Stop converting argument's `bool` default value to `DefaultInt` (#273)

-------------------------------------------------------------------
Tue Dec  6 08:22:09 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.10.1
  * Support bytearray serialization (#268)

-------------------------------------------------------------------
Sat Aug 20 08:15:46 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.10.0
  * Enable Virtual Terminal mode on legacy Windows terminal
    to support ANSI escape sequences (#265)
  * Drop Python 3.6 support (#259)

-------------------------------------------------------------------
Wed Mar 23 10:46:06 UTC 2022 - pgajdos@suse.com

- python-mock is not required for build

-------------------------------------------------------------------
Tue Dec  7 08:24:18 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.9.0
  * Support Python 3.10 (#250)
  * Only install colorama on Windows (#249)
- Update BuildRequires and Requires from setup.py

-------------------------------------------------------------------
Mon May 10 08:39:40 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.8.2
  * Always use UTF-8 for log file encoding (#247)
- from version 0.8.1
  * Add error message for invalid argument value (#244)
- Remove temporary version override

-------------------------------------------------------------------
Mon Mar 29 11:18:30 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.8.0
  * Make colors customizable (#242)
  * Init colorama only in Windows legacy terminal (#238)
  * Add `raw_result` to `CommandResultItem` (#235)
  * Refine code style to comply with Python 3 (#232, #233)
  * CI: Support Python 3.9 (#229)
  * Logging: `CLILogging.configure` returns as early as possible (#228)
- Override upstream version with 0.8.0.0 to ensure
  proper upgrade from previous version 0.8.0rc2
- Update BuildRequires and Requires from setup.py

-------------------------------------------------------------------
Thu Jan 14 10:54:49 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.8.0rc2
  * Support multiple cli loggers by adding more logger names to
    `knack.log.cli_logger_names` list (#227)
- from version 0.8.0rc1
  * Make config item names case-insensitive (#220)
  * `get_logger` uses `module_name` directly and no
    longer adds `cli` prefix (#221)
  * `CLILogging` accepts a custom `cli_logger_name` (#221)
  * Support ppc64le arch in Travis CI (#222)
  * Allow customizing tag message (#223)
  * Add `EVENT_CLI_SUCCESSFUL_EXECUTE` (#224)

-------------------------------------------------------------------
Tue Aug 18 12:22:19 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.7.2
  * [Config] Support listing sections (#217)

-------------------------------------------------------------------
Tue Jun 16 12:19:05 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to version 0.7.1
  * Rollback `get_config_parser` in `config.py` (#205)
- from version 0.7.0
  * Add a `default_value_source` property in `HelpParameter` (#202)
  * Support removing option/section from config file (#201)
  * Support writing comment to config file (#201)
  * Import `configparser` directly instead of from `six` (#201)
  * Drop `get_config_parser` function from `config.py` (#201)
- Remove workaround for version number in spec file

-------------------------------------------------------------------
Thu May  7 08:01:03 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to 0.7.0rc4
  * Change the timing to raise `EVENT_CLI_POST_EXECUTE` event (#199)
  * Make `CLI.invoke` catch `SystemExit` (#199)
- from version 0.7.0rc3
  * Change experimental tag color to cyan (#196)

-------------------------------------------------------------------
Fri Apr  3 06:30:50 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

- Remove patch as the test fail properly as the pkg does not support
  python2:
  * k_skip-broken-tests.patch
- Fix the version field

-------------------------------------------------------------------
Thu Apr  2 15:48:46 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to 0.7.0rc1
  * Allow disabling color (#171)
  * Support yaml and yamlc output (#173)
  * Drop support for python 2 and 3.5 (#174)
  * Support --only-show-errors to disable warnings (#179)
  * Add experimental tag (#180)
- Add patch to skip two tests that currently fail on openSUSE
  * k_skip-broken-tests.patch

-------------------------------------------------------------------
Wed Jul 24 08:22:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

- Update to 0.6.3:
  * Fixes issue where argument marked is_preview=True would not always be handled correctly.
  * Fixes issue where ensuring a directory exists could cause a race condition.

-------------------------------------------------------------------
Fri May 24 12:36:58 UTC 2019 - pgajdos@suse.com

- version update to 0.6.2
 * Adds ability to declare that command groups, commands, and arguments
   are in a preview status and therefore might change or be removed.
   This is done by passing the kwarg `is_preview=True`.
 * Adds a generic `StatusTag` class to `knack.util` that allows you
   to create your own colorized tags like `[Preview]` and `[Deprecated]`.
 * When an incorrect command name is entered, Knack will now attempt
   to suggest the closest alternative.

-------------------------------------------------------------------
Tue May 21 09:51:57 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to 0.6.1:
  * Always read from local for configured_default
- from version 0.6.0
  * Support local context chained config file

-------------------------------------------------------------------
Fri Apr 12 12:24:44 UTC 2019 - pgajdos@suse.com

- version update to 0.5.4
  * Allows the loading of text files using @filename syntax.
  * Adds the argument kwarg configured_default to support setting
    argument defaults via the config file's [defaults] section or
    an environment variable.

-------------------------------------------------------------------
Thu Mar 28 15:07:06 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

- Update to 0.5.3:
  * Removes an incorrect check when adding arguments.
  * Updates usages of yaml.load to use yaml.safe_load.
  * Fix issue with some scenarios (no args and --version)
  * Adds support for positional arguments with the .positional helper method on ArgumentsContext.
  * Removes the necessity for the type field in help.py. This information can be inferred from the class, so specifying it causes unnecessary crashes.
  * Adds support for examining the result of a command after a call to invoke. The raw object, error (if any) an exit code are accessible.
  * Fixes an issue with the default config directory. It use to be .cli and is now based on the CLI name.
  * Adds ability to specify line width for help text display.
  * Preserves logging verbosity and output format on the namespace for use by validators.
  * Adds ability to set config file name.
  * Fixes bug with argument deprecations.
- Switch to github archive to run tests

-------------------------------------------------------------------
Tue Dec  4 12:49:51 UTC 2018 - Matej Cepl <mcepl@suse.com>

- Remove superfluous devel dependency for noarch package

-------------------------------------------------------------------
Thu Oct  4 10:28:24 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- New upstream release
  + Version 0.4.3
  + Fixes issue where values were sometimes ignored when using
    deprecated options regardless of which option was given.
- from version 0.4.2
  + Bug fixes: [output]: disable number parse on table mode PR #88
- from version 0.4.1
  + Version 0.4.0 introduced deprecation to Knack. This
    release fixes a bug related to that.
    * Ensures that the action kwarg is only set if the item is
      deprecated. Previously it would set it to "None" which
      would then override a pre-existing action like store_true.
  + Version 0.4.0 also added the concept of the command group table
    to the CommandsLoader class. This release corrects an issue
    related to that:
    * The command group table would only be filled by calls to create
      CommandGroup classes. This resulted in some gaps in the command
      group table.
- from version 0.4.0
  + Add mechanism to deprecate commands, command groups,
    arguments and argument options.
  + Improve help display support for Unicode.
- from version 0.3.3
  + expose a callback to let client side perform extra logics (#80)
  + output: don't skip false value on auto-tabulating (#83)

-------------------------------------------------------------------
Wed May  2 13:54:59 UTC 2018 - adrian.glaubitz@suse.com

- New upstream release
  + Version 0.3.2
  + ArgumentsContext.ignore() should use hidden options_list (#76)
  + Consolidate exception handling (#66)
- Fix bogus comment in spec file

-------------------------------------------------------------------
Thu Feb  8 22:50:26 UTC 2018 - adrian.glaubitz@suse.com

- Initial release
  + Version 0.3.1
openSUSE Build Service is sponsored by