496239661a
Accepting request 1191240 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1191240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=23
2024-08-03 18:04:49 +00:00
f03bc30d8e
Accepting request 1191183 from home:glaubitz:branches:devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/1191183
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=46
2024-08-02 15:48:42 +00:00
77c814c263
Accepting request 1155833 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1155833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=22
2024-03-07 17:30:03 +00:00
0b59c90873
Accepting request 1155588 from home:glaubitz:branches:devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/1155588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=44
2024-03-07 08:51:20 +00:00
c3c6253490
Accepting request 1103927 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1103927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=21
2023-08-14 20:36:29 +00:00
1c5bbdf643
Accepting request 1103869 from home:glaubitz:branches:devel:languages:python
...
- 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 )
OBS-URL: https://build.opensuse.org/request/show/1103869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=42
2023-08-14 18:47:28 +00:00
3f53a0c3c6
Accepting request 1040746 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1040746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=20
2022-12-07 16:34:55 +00:00
4777336969
Accepting request 1040529 from home:glaubitz:branches:devel:languages:python
...
- Update to version 0.10.1
* Support bytearray serialization (#268 )
OBS-URL: https://build.opensuse.org/request/show/1040529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=40
2022-12-06 16:01:57 +00:00
8ef86d91e8
Accepting request 998562 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/998562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=19
2022-08-22 09:05:02 +00:00
32159b289b
Accepting request 998418 from home:glaubitz:branches:devel:languages:python
...
- 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 )
OBS-URL: https://build.opensuse.org/request/show/998418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=38
2022-08-22 06:36:39 +00:00
ea3fd9729f
Accepting request 965312 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/965312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=18
2022-03-28 15:01:01 +00:00
807f8bef72
Accepting request 964244 from home:pgajdos:python
...
- python-mock is not required for build
OBS-URL: https://build.opensuse.org/request/show/964244
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=36
2022-03-28 07:39:11 +00:00
b288a05607
Accepting request 936174 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/936174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=17
2021-12-07 22:59:55 +00:00
52f3197d95
Accepting request 936170 from home:glaubitz:branches:devel:languages:python
...
- Update to version 0.9.0
* Support Python 3.10 (#250 )
* Only install colorama on Windows (#249 )
- Update BuildRequires and Requires from setup.py
OBS-URL: https://build.opensuse.org/request/show/936170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=35
2021-12-07 08:47:31 +00:00
9f70069282
Accepting request 892151 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/892151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=16
2021-05-11 21:04:04 +00:00
bad30a08e8
Accepting request 891993 from home:glaubitz:branches:devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/891993
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=33
2021-05-11 05:55:25 +00:00
Richard Brown
74d81abd01
Accepting request 882002 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/882002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=15
2021-04-01 12:17:06 +00:00
5034665f43
Accepting request 881846 from home:glaubitz:branches:devel:languages:python
...
- New upstream release
+ Version 0.8.0
+ For detailed information about changes see the
CHANGELOG.md file provided with this package
- 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
OBS-URL: https://build.opensuse.org/request/show/881846
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=31
2021-03-29 15:03:04 +00:00
7a42e25871
Accepting request 865464 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/865464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=14
2021-01-22 20:51:48 +00:00
e82f11fa95
Accepting request 864624 from home:glaubitz:branches:devel:languages:python
...
- 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 )
OBS-URL: https://build.opensuse.org/request/show/864624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=29
2021-01-21 15:16:20 +00:00
e958a6f69a
Accepting request 827650 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/827650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=13
2020-08-19 16:51:48 +00:00
5f6f921e8f
Accepting request 827584 from home:glaubitz:branches:devel:languages:python
...
- Update to version 0.7.2
* [Config] Support listing sections (#217 )
OBS-URL: https://build.opensuse.org/request/show/827584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=27
2020-08-18 16:40:09 +00:00
8f2f491e84
Accepting request 815749 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/815749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=12
2020-06-19 15:23:40 +00:00
9fbd138567
Accepting request 815237 from home:glaubitz:branches:devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/815237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=25
2020-06-18 13:51:38 +00:00
482f92e27d
Accepting request 801309 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/801309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=11
2020-05-08 21:06:27 +00:00
93f9d88f2b
Accepting request 801162 from home:glaubitz:branches:devel:languages:python:azure
...
- Update Azure SDK components to latest upstream version
OBS-URL: https://build.opensuse.org/request/show/801162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=23
2020-05-07 15:56:39 +00:00
4275563e42
Accepting request 791098 from devel:languages:python
...
- Remove patch as the test fail properly as the pkg does not support
python2:
* k_skip-broken-tests.patch
- Fix the version field
- 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
OBS-URL: https://build.opensuse.org/request/show/791098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=10
2020-05-03 20:45:51 +00:00
Tomáš Chvátal
f1efb70c23
- Remove patch as the test fail properly as the pkg does not support
...
python2:
* k_skip-broken-tests.patch
- Fix the version field
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=21
2020-04-03 06:35:21 +00:00
0f67e1d19a
Accepting request 790954 from home:glaubitz:branches:devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/790954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=20
2020-04-02 21:04:12 +00:00
4f98ad1372
Accepting request 718123 from devel:languages:python
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/718123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=9
2019-07-24 18:36:02 +00:00
Tomáš Chvátal
ce45fd914a
- 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=18
2019-07-24 08:25:20 +00:00
88106b9e6f
Accepting request 705262 from devel:languages:python
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/705262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=8
2019-05-27 06:38:23 +00:00
Tomáš Chvátal
dcdd3e0338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=16
2019-05-24 13:56:07 +00:00
Tomáš Chvátal
8d1053e29b
Accepting request 705248 from home:pgajdos
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/705248
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=15
2019-05-24 13:38:20 +00:00
986d72e0dd
Accepting request 704423 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/704423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=7
2019-05-22 09:16:33 +00:00
b6252098f4
Accepting request 704404 from home:glaubitz:branches:devel:languages:python
...
- Update to 0.6.1:
* Always read from local for configured_default
- from version 0.6.0
* Support local context chained config file
OBS-URL: https://build.opensuse.org/request/show/704404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=13
2019-05-21 10:58:36 +00:00
265d406761
Accepting request 694216 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/694216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=6
2019-05-06 11:25:08 +00:00
Tomáš Chvátal
e7f848a022
Accepting request 693717 from home:pgajdos
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/693717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=11
2019-04-15 09:54:31 +00:00
07ae40ab3b
Accepting request 689399 from devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/689399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=5
2019-03-28 21:50:14 +00:00
Tomáš Chvátal
5ad6a803e8
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=9
2019-03-28 15:22:02 +00:00
f3e7c928b0
Accepting request 659467 from devel:languages:python
...
Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/request/show/659467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=4
2018-12-24 10:39:04 +00:00
8ce8110ac4
Remove superfluous devel dependency for noarch package
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=7
2018-12-04 13:37:26 +00:00
0620da1c1b
Accepting request 639951 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/639951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=3
2018-10-04 17:03:18 +00:00
Tomáš Chvátal
f28594a411
Accepting request 639938 from home:glaubitz:branches:devel:languages:python
...
- 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 )
OBS-URL: https://build.opensuse.org/request/show/639938
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=5
2018-10-04 11:27:11 +00:00
2a359c1cbe
Accepting request 603138 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/603138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=2
2018-05-13 14:04:33 +00:00
Tomáš Chvátal
7abd6137c7
Accepting request 603136 from home:glaubitz:branches:devel:languages:python
...
- 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
OBS-URL: https://build.opensuse.org/request/show/603136
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=3
2018-05-02 14:02:08 +00:00
a07452b2e7
Accepting request 575921 from devel:languages:python
...
- Needed by Azure SDK
OBS-URL: https://build.opensuse.org/request/show/575921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-knack?expand=0&rev=1
2018-02-13 09:32:03 +00:00
Tomáš Chvátal
27c11c5631
Accepting request 574549 from home:glaubitz:branches:devel:languages:python
...
Initial release, required for Azure CLI
OBS-URL: https://build.opensuse.org/request/show/574549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=1
2018-02-09 12:01:09 +00:00