Textualize / frogmouth

A Markdown browser for your terminal
https://www.textualize.io/
MIT License
2.35k stars 42 forks source link

update textual dependence #47

Closed liudonghua123 closed 1 year ago

liudonghua123 commented 1 year ago

Hi, I tried to install frogmouth on my local windows.

C:\Users\Liu.D.H>pip install -i https://pypi.org/simple -U frogmouth
Collecting frogmouth
  Downloading frogmouth-0.5.0-py3-none-any.whl (39 kB)
Requirement already satisfied: httpx<0.24.0,>=0.23.3 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from frogmouth) (0.23.3)
Collecting textual<0.25.0,>=0.24.0 (from frogmouth)
  Downloading textual-0.24.1-py3-none-any.whl (392 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 392.8/392.8 kB 1.3 MB/s eta 0:00:00
Collecting typing-extensions<5.0.0,>=4.5.0 (from frogmouth)
  Downloading typing_extensions-4.6.1-py3-none-any.whl (31 kB)
Collecting xdg<7.0.0,>=6.0.0 (from frogmouth)
  Downloading xdg-6.0.0-py3-none-any.whl (3.9 kB)
Requirement already satisfied: certifi in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from httpx<0.24.0,>=0.23.3->frogmouth) (2023.5.7)
Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from httpx<0.24.0,>=0.23.3->frogmouth) (0.16.3)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from httpx<0.24.0,>=0.23.3->frogmouth) (1.5.0)
Requirement already satisfied: sniffio in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from httpx<0.24.0,>=0.23.3->frogmouth) (1.3.0)
Requirement already satisfied: importlib-metadata>=4.11.3 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from textual<0.25.0,>=0.24.0->frogmouth) (4.13.0)
Requirement already satisfied: markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from textual<0.25.0,>=0.24.0->frogmouth) (2.2.0)
Requirement already satisfied: rich>=13.3.3 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from textual<0.25.0,>=0.24.0->frogmouth) (13.3.5)
Requirement already satisfied: h11<0.15,>=0.13 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from httpcore<0.17.0,>=0.15.0->httpx<0.24.0,>=0.23.3->frogmouth) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from httpcore<0.17.0,>=0.15.0->httpx<0.24.0,>=0.23.3->frogmouth) (3.6.2)
Requirement already satisfied: zipp>=0.5 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from importlib-metadata>=4.11.3->textual<0.25.0,>=0.24.0->frogmouth) (3.13.0)
Requirement already satisfied: mdurl~=0.1 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0->textual<0.25.0,>=0.24.0->frogmouth) (0.1.2)
Requirement already satisfied: linkify-it-py<3,>=1 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0->textual<0.25.0,>=0.24.0->frogmouth) (1.0.3)
Requirement already satisfied: mdit-py-plugins in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0->textual<0.25.0,>=0.24.0->frogmouth) (0.3.3)
Requirement already satisfied: idna in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from rfc3986[idna2008]<2,>=1.3->httpx<0.24.0,>=0.23.3->frogmouth) (3.4)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from rich>=13.3.3->textual<0.25.0,>=0.24.0->frogmouth) (2.14.0)
Requirement already satisfied: uc-micro-py in c:\users\liu.d.h\appdata\local\programs\python\python311\lib\site-packages (from linkify-it-py<3,>=1->markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0->textual<0.25.0,>=0.24.0->frogmouth) (1.0.1)
Installing collected packages: xdg, typing-extensions, textual, frogmouth
  Attempting uninstall: typing-extensions
    Found existing installation: typing_extensions 4.4.0
    Uninstalling typing_extensions-4.4.0:
      Successfully uninstalled typing_extensions-4.4.0
  Attempting uninstall: textual
    Found existing installation: textual 0.26.0
    Uninstalling textual-0.26.0:
      Successfully uninstalled textual-0.26.0
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.
tensorflow-intel 2.12.0 requires numpy<1.24,>=1.22, but you have numpy 1.24.3 which is incompatible.
trogon 0.2.1 requires textual>=0.26.0, but you have textual 0.24.1 which is incompatible.
Successfully installed frogmouth-0.5.0 textual-0.24.1 typing-extensions-4.6.1 xdg-6.0.0

C:\Users\Liu.D.H>

And I noticed that textual is downgraded to old versions, so maybe it's conflict with trogon and may not work together.

How about update this dependence?

davep commented 1 year ago

Good call, I suspect Frogmouth can be a bit more relaxed about the Textual version to depend on.

As a slight aside: I suspect this is a good reason for installing actual applications with pipx, then this sort of clash shouldn't happen.

liudonghua123 commented 1 year ago

Nice work, I updated frogmouth-0.6.0. It's so quickly.

davep commented 1 year ago

Most welcome. Glad you're enjoying it! 😁