tokern / lakecli

A CLI to manage and monitor permissions in AWS Lake Formation
Apache License 2.0
25 stars 8 forks source link

Bump up prompt-toolkit and sqlparse deps? #25

Open brainstorm opened 2 years ago

brainstorm commented 2 years ago

Otherwise it conflicts with other packages, I'd prefer not having to create yet another environment for this CLI :_/

Installing collected packages: tabulate, configobj, cli-helpers, sqlparse, prompt-toolkit, peewee, click, lakecli
  Attempting uninstall: prompt-toolkit
    Found existing installation: prompt-toolkit 3.0.20
    Uninstalling prompt-toolkit-3.0.20:
      Successfully uninstalled prompt-toolkit-3.0.20
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 7.27.0 requires prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you have prompt-toolkit 1.0.18 which is incompatible.

Same goes for athenacli but with other deps?:

Collecting tenacity>=4.1.0
  Downloading tenacity-8.0.1-py3-none-any.whl (24 kB)
Installing collected packages: tenacity, sqlparse, PyAthena, prompt-toolkit, athenacli
  Attempting uninstall: sqlparse
    Found existing installation: sqlparse 0.2.4
    Uninstalling sqlparse-0.2.4:
      Successfully uninstalled sqlparse-0.2.4
  Attempting uninstall: prompt-toolkit
    Found existing installation: prompt-toolkit 1.0.18
    Uninstalling prompt-toolkit-1.0.18:
      Successfully uninstalled prompt-toolkit-1.0.18
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.
lakecli 0.2.0 requires prompt-toolkit<1.1.0,>=1.0.10, but you have prompt-toolkit 2.0.10 which is incompatible.
lakecli 0.2.0 requires sqlparse<0.3.0,>=0.2.2, but you have sqlparse 0.3.1 which is incompatible.

Nice writeup over https://tokern.io/blog/lake-formation-permissions/ regardless ;)