[devscripts] update_requirements: Preserve cffi dependencies on PyPy (#17716)

Authored by: doe1080
This commit is contained in:
doe1080
2026-09-27 18:34:03 +02:00
committed by GitHub
parent c7fb478d21
commit 8a49065e18
+2 -2
View File
@@ -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