mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-04 00:55:15 +00:00
[dependencies] Handle deprecation of sqlite3.version
(#8167)
Closes #8152 Authored by: bashonly
This commit is contained in:
@ -15,7 +15,7 @@ def get_package_info(module):
|
||||
name=getattr(module, '_yt_dlp__identifier', module.__name__),
|
||||
version=str(next(filter(None, (
|
||||
getattr(module, attr, None)
|
||||
for attr in ('__version__', 'version_string', 'version')
|
||||
for attr in ('_yt_dlp__version', '__version__', 'version_string', 'version')
|
||||
)), None)))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user