Skip to content
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

'prompt_toolkit' version dependency update needed to 3.0.48 for radian package compatibility #404

Open
1 task done
jwoolfolk opened this issue Oct 16, 2024 · 3 comments
Labels
Bug Something isn't working

Comments

@jwoolfolk
Copy link

jwoolfolk commented Oct 16, 2024

Describe the bug

Upon installing questionary, I lose functionality in my terminal to my radian package for r development due to conflicting dependencies on differing versions of prompt_toolkit. Can this requirement be updated to allow for prompt_toolkit version 3.0.48 be used?

Error:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
questionary 2.0.1 requires prompt_toolkit<=3.0.36,>=2.0, but you have prompt-toolkit 3.0.48 which is incompatible.

Upon running 'pip install --upgrade questionary':

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ipython 8.28.0 requires prompt-toolkit<3.1.0,>=3.0.41, but you have prompt-toolkit 3.0.36 which is incompatible.
radian 0.6.13 requires prompt-toolkit<3.1,>=3.0.41, but you have prompt-toolkit 3.0.36 which is incompatible.

Example

pip install radian
pip install questionary
pip install --upgrade radian
pip install --upgrade questionary

Steps to reproduce

  1. Install radian package via cmd prompt
  2. Install questionary package via cmd prompt
  3. Load VSCode Terminal
  4. Error within integrated terminal regarding radian package.
  5. Return to cmd prompt and 'pip install --upgrade radian'
  6. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    questionary 2.0.1 requires prompt_toolkit<=3.0.36,>=2.0, but you have prompt-toolkit 3.0.48 which is incompatible.
  7. Return to cmd prompt and 'pip install --upgrade questionary'
  8. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    ipython 8.28.0 requires prompt-toolkit<3.1.0,>=3.0.41, but you have prompt-toolkit 3.0.36 which is incompatible.
    radian 0.6.13 requires prompt-toolkit<3.1,>=3.0.41, but you have prompt-toolkit 3.0.36 which is incompatible.

Expected behaviour

No error seen in regards to using either package.

Latest version

  • I have checked that this issue occurs on the latest version of questionary.

Questionary version

2.0.1

Prompt Toolkit version

3.0.48

Operating System

Windows

@sshishov
Copy link

Same issue here. Is this strict pin needed for prompt_toolkit?

@etsvetanov
Copy link

Can we do something to help fix this issue?

@riziles
Copy link

riziles commented Nov 27, 2024

This issue was resolved a while ago: #347 , but the maintainer has not created a new release. Somebody should fork this project. It's causing downstream issues for lots of people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants