Textualize / frogmouth

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

xdg is deprecated, renamed to xdg-base-dirs #100

Closed jonathan-berezin closed 3 months ago

jonathan-berezin commented 3 months ago

The PyPI project description for xdg says the following:

"""xdg has been renamed to xdg-base-dirs due to an import collision with PyXDG. Therefore the xdg package is deprecated. Install xdg-base-dirs instead. """

The PyPI project description for xdg-base-dirs makes a corresponding warning.

References: https://pypi.org/project/xdg/ https://pypi.org/project/xdg-base-dirs/

davep commented 3 months ago

xdg-base-dirs is Python>=3.10; Frogmouth supports Python 3.8 and above. There are no substantial changes in xdg-base-dirs vs xdg and pinning to xdg is recommended by the maintainer themselves.

If/when Frogmouth becomes Python>=3.10 it will likely swap to xdg-base-dirs.

jonathan-berezin commented 3 months ago

Awesome! The more you know. I was browsing/admiring the codebase here, hadn't encountered xdg before, looked it up, and thought it was the right thing to do to raise a flag! I'm glad there's no issue.

davep commented 3 months ago

No worries: much better to raise the issue and be sure, so very much appreciated.