-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
I request a re-publish of the latest version for pip, or just increase the version number and publish. #32686
Comments
Review #30839. The version in pypi is the same as the official last release, ie 2021.12.17. You can install the nightly release use pip or pip3. Suitable command lines are shown in the discussion of #31530, as linked from #32069. Otherwise duplicate of #31585. |
@dirkf First of all, thank you for being patiently maintaining such a great repo, most of the repos I proposed issues/merge requests they don't respond at all. |
As a workaround you can install latest git version using pip.
OR if you don't have git
You can also put that in a requirements.txt file if needed. git+https://github.com/ytdl-org/youtube-dl.git But FYI, the version will be the "same" because it comes from here: youtube-dl/youtube_dl/version.py Line 3 in be008e6
|
Or, as I suggested, install from the nightly repo, which will give you an accurate version display. |
Get it, thanks folks. The workaround works. If we can republish to have the latest accurate binary that'll solve issues like mine. For version is reflected by the code mentioned before, there're still possibilities that the code that turns error to warning were not merged before 2021.12.17 being published to pip. |
Homebrew applies their own patch to youtube-dl resulting in the warning |
Indeed, the issue from #31530 is only fixed in nightly versions, in the main repo or builds derived from it (such as the nightly versions), or where some other packager, such as Homebrew, has patched the 2021.12.17 version. Some older versions may not have the bug, but will fail in other ways, with YT or other sites. |
Developers should add this to the README. Only instalation method that worked. |
As mentioned several times before:
Just change the URLs appropriately. The linked "suitable command lines" to change were later reposted above. Then this
is not a problem. |
Verbose log
Provided in the follow section.
Description
I think the source code is not aligned between binaries from homebrew(MacOS) and pip3.
Test command is as following:
Check the behavior:
Check the versions and envs:
Check verbose logs:
Verbose logs
Docker pip installed version:
root@help-desk-dev:/usr/local/bin# youtube-dl -v [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v'] [debug] Encodings: locale utf-8, fs utf-8, out utf-8, pref utf-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.11.2 (CPython) - Linux-5.15.0-1047-aws-x86_64-with-glibc2.36 [debug] exe versions: none [debug] Proxy map: {} Usage: youtube-dl [OPTIONS] URL [URL...] youtube-dl: error: You must provide at least one URL. Type youtube-dl --help to see a list of all options.
MacOS homebrew version:
The text was updated successfully, but these errors were encountered: