Sort the list of dependencies in toot diag output

This commit is contained in:
Daniel Schwarz 2024-07-03 10:11:24 -04:00
parent abe17695ba
commit 62fa59cc06
1 changed files with 2 additions and 2 deletions

View File

@ -341,9 +341,9 @@ def print_diags(include_files: bool):
click.echo(f'{green(f"Python version:")} {platform.python_version()}')
click.echo(green("Dependency versions:"))
deps = ['beautifulsoup4', 'click', 'requests', 'tomlkit', 'urwid', 'wcwidth',
deps = sorted(['beautifulsoup4', 'click', 'requests', 'tomlkit', 'urwid', 'wcwidth',
'pillow', 'term-image', 'urwidgets', 'flake8', 'pytest', 'setuptools',
'vermin', 'typing-extensions']
'vermin', 'typing-extensions'])
for dep in deps:
try: