Skip to content

A feature-rich command-line audio/video downloader

[misc/requirements] Fix locking for `pycparser` (#17746)

Simon Sawickif45f14bd792b
diff --git a/bundle/requirements/default.txt b/bundle/requirements/default.txt
index 109cb57cc9..dd6d0cafa4 100644
--- a/bundle/requirements/default.txt
+++ b/bundle/requirements/default.txt
@@ -240,6 +240,10 @@ mutagen==1.48.1 \
--hash=sha256:4f077fe87d3fc7fba259aa63d8c026b18382ca6a42ef37c61e16f1b1b5b82fe7 \
--hash=sha256:8f95637ab9f6f305cec6bd1294e197debe207998e3e068596563c74f86b0a173
# via yt-dlp
+pycparser==3.0 ; implementation_name != 'PyPy' and implementation_name != 'cpython' \
+ --hash=sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29 \
+ --hash=sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992
+ # via cffi
pycryptodomex==3.23.0 \
--hash=sha256:02d87b80778c171445d67e23d1caef279bf4b25c3597050ccd2e13970b57fd51 \
--hash=sha256:06698f957fe1ab229a99ba2defeeae1c09af185baa909a31a5d1f9d42b1aaed6 \
diff --git a/pyproject.toml b/pyproject.toml
index e1ab47acaf..94ab19e82d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -74,6 +74,7 @@ pin = [
"charset-normalizer==3.5.0",
"idna==3.18",
"mutagen==1.48.1",
+ "pycparser==3.0 ; implementation_name != 'PyPy' and implementation_name != 'cpython'",
"pycryptodomex==3.23.0",
"requests==2.34.2",
"urllib3==2.7.0",
diff --git a/uv.lock b/uv.lock
index c9cac2ac38..859178ca90 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1447,6 +1447,7 @@ pin = [
{ name = "charset-normalizer" },
{ name = "idna" },
{ name = "mutagen" },
+ { name = "pycparser", marker = "implementation_name != 'PyPy' and implementation_name != 'cpython'" },
{ name = "pycryptodomex" },
{ name = "requests" },
{ name = "urllib3" },
@@ -1534,6 +1535,7 @@ requires-dist = [
{ name = "mutagen", marker = "extra == 'default'" },
{ name = "mutagen", marker = "extra == 'pin'", specifier = "==1.48.1" },
{ name = "pycparser", marker = "implementation_name != 'PyPy' and platform_python_implementation != 'PyPy' and extra == 'pin-secretstorage'", specifier = "==3.0" },
+ { name = "pycparser", marker = "implementation_name != 'PyPy' and implementation_name != 'cpython' and extra == 'pin'", specifier = "==3.0" },
{ name = "pycparser", marker = "implementation_name == 'cpython' and extra == 'pin-curl-cffi'", specifier = "==3.0" },
{ name = "pycryptodomex", marker = "extra == 'default'" },
{ name = "pycryptodomex", marker = "extra == 'pin'", specifier = "==3.23.0" },