requirements: Uncap PrettyTable
PrettyTable was capped at a < 0.8, which meant we were getting the veritably ancient 0.7.2 release first release in April 2013 (!) [1]. The project is now being maintained as a Jazzband project [2], meaning we should switch to this new version. The only significant change required here is that we no longer set the 'min_width' attribute since that actually does something - the wrong thing - now. We want this attribute to set a lower bound on the wrap width as opposed to an absolute minimum we can use, which is what setting the 'min_width' attribute would do. While we're here, we also remove a now useless bit of Python 2 code and bump cmd2 to a slightly newer version. [1] https://pypi.org/project/prettytable/#history [2] https://github.com/jazzband/prettytable Change-Id: Iceac729e7a9429e8ab25c60524a48d0aaeebeb37 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-On: https://review.opendev.org/c/openstack/requirements/+/774917
Showing
- cliff/formatters/table.py 3 additions, 10 deletionscliff/formatters/table.py
- doc/source/user/list_commands.rst 1 addition, 1 deletiondoc/source/user/list_commands.rst
- doc/source/user/show_commands.rst 1 addition, 1 deletiondoc/source/user/show_commands.rst
- requirements.txt 2 additions, 2 deletionsrequirements.txt
... | ... | @@ -2,8 +2,8 @@ |
# of appearance. Changing the order has an impact on the overall integration | ||
# process, which may cause wedges in the gate later. | ||
pbr!=2.1.0,>=2.0.0 # Apache-2.0 | ||
cmd2>=0.8.0,!=0.8.3 # MIT | ||
PrettyTable<0.8,>=0.7.2 # BSD | ||
cmd2>=1.0.0 # MIT | ||
PrettyTable>=0.7.2 # BSD | ||
pyparsing>=2.1.0 # MIT | ||
stevedore>=2.0.1 # Apache-2.0 | ||
PyYAML>=3.12 # MIT |
Please register or sign in to comment