chapmanjacobd / library

80+ CLI tools to build, browse, and blend your media library: an index for your archive.
BSD 3-Clause "New" or "Revised" License
355 stars 9 forks source link

Is there a safe/recommended way to upgrade yt-dlp before xklb has quite caught up? #20

Closed holta closed 10 months ago

holta commented 10 months ago

Or is that unwise?

(Many thanks @chapmanjacobd for your suggestions and/or recommendation here!)

Related:

chapmanjacobd commented 10 months ago

hey Adam,

You should be fine doing:

pip install --upgrade xklb

And then months later:

pip install --upgrade yt-dlp

Things should just work. Even though library and yt-dlp depend on having a common interface in one or two places--it is unlikely to break. If things break, open a specific issue for it and I'll try to get things back on track ASAP :-)

Personally, I update yt-dlp each week as a cron-job but if there is a platform change then sometimes I will do the above pip install --upgrade yt-dlp.

You can also try yt-dlp --update-to master and I think it should be fine assuming it uses the same python environment that xklb is installed in (I haven't tried this yet).

The pdm.lock file is mostly aspirational (it helps with CI and testing different environments). So don't take it too seriously :)