mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-16 13:38:07 -07:00
[devscripts] update_requirements: Preserve cffi dependencies on PyPy (#17716)
Authored by: doe1080
This commit is contained in:
@@ -77,7 +77,7 @@ BUNDLE_TARGETS = {
|
|||||||
'default': Target(
|
'default': Target(
|
||||||
extras=['default'],
|
extras=['default'],
|
||||||
# PyPy bundles cffi, which is a transitive dep of brotlicffi, which is only required for PyPy
|
# PyPy bundles cffi, which is a transitive dep of brotlicffi, which is only required for PyPy
|
||||||
prune_packages=['cffi'],
|
omit_packages=['cffi'],
|
||||||
),
|
),
|
||||||
'curl-cffi': Target(
|
'curl-cffi': Target(
|
||||||
extras=['default', 'curl-cffi'],
|
extras=['default', 'curl-cffi'],
|
||||||
@@ -643,7 +643,7 @@ def update_requirements(
|
|||||||
extras=[extra_name],
|
extras=[extra_name],
|
||||||
bare=True,
|
bare=True,
|
||||||
# PyPy bundles cffi, which is a transitive dep of brotlicffi, which is only required for PyPy
|
# PyPy bundles cffi, which is a transitive dep of brotlicffi, which is only required for PyPy
|
||||||
prune_packages=['cffi'] if extra_name == 'default' else [],
|
omit_packages=['cffi'] if extra_name == 'default' else [],
|
||||||
).splitlines()
|
).splitlines()
|
||||||
|
|
||||||
# Write the finalized pyproject.toml
|
# Write the finalized pyproject.toml
|
||||||
|
|||||||
Reference in New Issue
Block a user