- Apr 03, 2024
-
-
Thomas Goirand authored
-
- Feb 24, 2024
-
-
Thomas Goirand authored
-
Thomas Goirand authored
cliff 4.6.0 release meta:version: 4.6.0 meta:diff-start: - meta:series: caracal meta:branch: master meta:release-type: release meta:pypi: yes meta:first: no meta:release:Author: Elod Illes <elod.illes@est.tech> meta:release:Commit: Elod Illes <elod.illes@est.tech> meta:release:Change-Id: I8b6b814d27df721658c912e6d6b8165cc7a23e6c meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org> meta:release:Code-Review+1: Artem Goncharov <artem.goncharov@gmail.com> meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech> meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
-
- Jan 11, 2024
-
-
Ghanshyam Mann authored
As per the current release tested runtime, we need to test python 3.8 to python 3.11 so using the generic python testing template which run the python versions jobs as per the current release runtime. Also, updating the same in python classifier in setup.cfg Change-Id: I8db58eb19a9e39067e8102df81a647450b2c1cf9
-
- Nov 29, 2023
-
-
Benjamin A. Beasley authored
Favor importlib.metadata.packages_distributions() over importlib_metadata.packages_distributions() where it is available, i.e., on Python 3.10 and later. Depend on PyPI importlib_metadata only on Python 3.9 and older: conditionalize the requirements.txt entry on Python version. Change-Id: I624fc0059057de05bb2bacd9c1238cba71ebad2a
-
- Oct 04, 2023
-
-
Thomas Goirand authored
-
- Sep 11, 2023
- Sep 05, 2023
-
-
Pavlo Shchelokovskyy authored
this patch adds special handling of objects that have either 'toDict' or 'to_dict' method, converting those to dictionary before passing them to pyYaml. The main immediate aim is to support instances of openstack.utils.Munch class in the YAML output. Story: 2010906 Task: 48728 Change-Id: If3718477533987b6b88b27ac639c6689a2e4b327
-
Stephen Finucane authored
We don't use hacking here, funnily enough. Change-Id: I30734bc140db9ccb4d019961466d668159ab3991 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-
Stephen Finucane authored
Mostly trailing spaces. Change-Id: I3cde0f4bc51bdeb3e82859a131f866728234c9ad Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-
- Aug 29, 2023
-
-
Pavlo Shchelokovskyy authored
nobody enjoys reading mangled tables in the terminal. Be smart and auto-enable "fit width" if the output is a tty, while still printing full lines when output is redirected (e.g. pipe) so that e.g. grep and friends continue to work as before. Unfortunately, tty detection is not reliable enough on Windows, so this feature is not enabled there. Change-Id: I46137d16ea3054a43de4a9f76477bda59ebacf10
-
Pavlo Shchelokovskyy authored
use isinstance for type check instead of type(..) == Change-Id: I062f9423f418caee33ab892b8b499ea22d4be38a
-
Thomas Goirand authored
-
Thomas Goirand authored
cliff 4.3.0 release meta:version: 4.3.0 meta:diff-start: - meta:series: bobcat meta:release-type: release meta:pypi: yes meta:first: yes meta:release:Author: Elod Illes <elod.illes@est.tech> meta:release:Commit: Elod Illes <elod.illes@est.tech> meta:release:Change-Id: Icac0f591e155281fd8cc1bac8b72dc8fa01f8d00 meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> meta:release:Code-Review+1: Artem Goncharov <artem.goncharov@gmail.com> meta:release:Workflow+1: Elod Illes <elod.illes@est.tech> meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
-
- Aug 21, 2023
-
-
Takashi Kajinami authored
Currently doc jobs are broken because the latest sphinx 7.2.0 is not compatible with the latest release of openstackdocstheme. This updates the docs/releasenotes target to use the global upper constraints to avoid that issue. Also, the following flake8 error is fixed by this change. cliff/tests/test_formatters_table.py:53:10: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()` Change-Id: Ia923ba1d0e2cf3327317e142cfa38470d9f053d2
-
- Jun 19, 2023
-
-
Thomas Goirand authored
-
- Mar 01, 2023
-
-
Jiri Podivin authored
Functions used for deriving terminal width are no longer necessary, as Python 3.3 introduced[0] built in solution. Remaining helper function `utils.terminal_width` received docstring explaining return parameters. Method `_assign_max_widths` of the `TableFormatter` class was refactored to no longer use the `stdout` argument. Uses of the method were adjusted accordingly. Method now also has minimal docstring. Minor adjustment was made to inline comments to more closely reflect functionality of the code. [0]https://docs.python.org/3.8/library/os.html?highlight=get_terminal_size#os.get_terminal_size Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I2898f099227e8c97aef6492c60f2f99038aa1357
-
- Feb 22, 2023
-
-
Thomas Goirand authored
-
Thomas Goirand authored
cliff 4.2.0 release meta:version: 4.2.0 meta:diff-start: - meta:series: antelope meta:release-type: release meta:pypi: yes meta:first: no meta:release:Author: Elod Illes <elod.illes@est.tech> meta:release:Commit: Elod Illes <elod.illes@est.tech> meta:release:Change-Id: I58d9d9533d3b57d8dac7d0111a864f85bfe5563d meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech> meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com> meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
-
- Dec 12, 2022
-
-
Stephen Finucane authored
This yields slightly prettier output. Change-Id: Ibec7cd861eacc3630182d6a782ffaf361f449aa6 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-
- Oct 27, 2022
-
-
Jiri Podivin authored
Link was pointing to a wrong wikipedia page, we are using Damerau-Levenshtein metric, which allows for additional "swap" operation. A subtle but important distinction. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I6cc2499c371b86aaf6636d7a46416bc947c11bb2
-
- Oct 04, 2022
-
-
Zuul authored
- Oct 03, 2022
-
-
Stephen Finucane authored
The default implementations for __str__ and __repr__ are rubbish. >>> from osc_lib.cli import format_columns >>> str(format_columns.DictColumn({'foo': 'bar'})) '<osc_lib.cli.format_columns.DictColumn object at 0x7f6e26771e40>' >>> repr(format_columns.DictColumn({'foo': 'bar'})) '<osc_lib.cli.format_columns.DictColumn object at 0x7f6e26b57ac0>' Make it useful. >>> from osc_lib.cli import format_columns >>> str(format_columns.DictColumn({'foo': 'bar'})) "foo='bar'" >>> repr(format_columns.DictColumn({'foo': 'bar'})) "DictColumn({'foo': 'bar'})" This helps when testing as the reason for mismatches will be more obvious. Change-Id: I8b8598875f896cb3dbf417515d377e7758b3b98b Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-
- Sep 23, 2022
-
-
Thomas Goirand authored
-
- Sep 09, 2022
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for antelope. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I96731db47eee8597bce78d69529695d76db998e4
-
- Aug 29, 2022
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
cliff 4.0.0 release meta:version: 4.0.0 meta:diff-start: - meta:series: zed meta:release-type: release meta:pypi: yes meta:first: yes meta:release:Author: Stephen Finucane <sfinucan@redhat.com> meta:release:Commit: Stephen Finucane <sfinucan@redhat.com> meta:release:Change-Id: Ifadc6ea66434988152b572b2216546bcb05f21bd meta:release:Code-Review+1: Artem Goncharov <artem.goncharov@gmail.com> meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org> meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech> meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
-
- Aug 04, 2022
-
-
Jiri Podivin authored
While permissible syntactically, using brackets to wrap tested conditional is unnecessary and potentially confusing. As without inserted whitspace the code may look as a function call, rather than a statement and expression. The construct is also considered erroneous by linters. Closes-Bug: 1983593 Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I0a086a8349e2a72cae024857e148fddc3556c319
-
ljhuang authored
Replace abc.abstractproperty with property and abc.abstractmethod, as abc.abstractproperty has been deprecated since python3.3[1] [1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc Change-Id: I5e86211323c5e08553a5c777c0b6d1d85f95e1a9
- Jul 18, 2022