mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-17 21:56:34 +09:00
[devscripts] update_requirements: Preserve cffi dependencies on PyPy (#17716)
Authored by: doe1080
This commit is contained in:
1 parent
c7fb478d21
commit
8a49065e18
1 file changed
+2
-2
@@ -77,7 +77,7 @@ BUNDLE_TARGETS = {
|
||||
'default': Target(
|
||||
extras=['default'],
|
||||
# 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(
|
||||
extras=['default', 'curl-cffi'],
|
||||
@@ -643,7 +643,7 @@ def update_requirements(
|
||||
extras=[extra_name],
|
||||
bare=True,
|
||||
# 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()
|
||||
|
||||
# Write the finalized pyproject.toml
|
||||
|
||||
Reference in new issue
Block a user