aws-cli
aws-cli copied to clipboard
[v2] Upgrade prompt-toolkit to 3.0.51
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Okay so prompt-toolkit began identifying its version using importlib.metadata.version [source]. There are 2 issues here..
- The AWS CLI looks for certain path finders and wraps them inside a custom path finder [source]. This prevents prompt-toolkit's metadata from being found at build time and runtime.
- PyInstaller doesn't copy package metadata by default when building the frozen executable. This prevents prompt-toolkit's metadata from being found at runtime. There's a way to configure this, but I haven't gotten it to work yet [docs].