torchbox / heroku-audit

Command-line tool for reporting on specific attributes of a Heroku environment.
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

TypeError: _print_commands_panel() missing 1 required keyword-only argument: 'cmd_len' #5

Open kbayliss opened 1 hour ago

kbayliss commented 1 hour ago

While updating https://github.com/torchbox/homebrew-tap/pull/7/files to support python3.12+, I noticed this error:

TypeError: _print_commands_panel() missing 1 required keyword-only argument: 
'cmd_len'

When running: heroku-audit --list

I'm not sure why this is happening, as it looks like we're passing a cmd_len kwarg: https://github.com/torchbox/heroku-audit/blob/main/heroku_audit/cli/__init__.py#L53

Should we pin typer to a specific version to avoid breaking changes when new versions of typer are released?

RealOrangeOne commented 1 hour ago

This should be fixed in https://github.com/torchbox/heroku-audit/commit/ba4d3c52440af26a3613827f6eb40cc6fcc87304, but yes probably pinning dependencies might be the way forward here.

kbayliss commented 1 hour ago

@RealOrangeOne Oh ffs :). I forgot to check the changes in main were actually released 🤦 . That's why I was so confused. Thanks!

kbayliss commented 58 minutes ago

This should be fixed in ba4d3c5, but yes probably pinning dependencies might be the way forward here.

@RealOrangeOne Any idea when these changes will be released?