Skip to content

[v2] Upgrade prompt-toolkit to 3.0.51 #9552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: v2
Choose a base branch
from
Draft

[v2] Upgrade prompt-toolkit to 3.0.51 #9552

wants to merge 7 commits into from

Conversation

hssyoo
Copy link
Contributor

@hssyoo hssyoo commented Jun 17, 2025

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.

@hssyoo
Copy link
Contributor Author

hssyoo commented Jun 17, 2025

Okay so prompt-toolkit began identifying its version using importlib.metadata.version [source]. There are 2 issues here..

  1. 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.
  2. 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].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant