From 3f6ef87fc31581215cb00d56462b35e07b7a1f28 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 16 Jun 2025 15:32:28 +0200 Subject: fix(yt_dlp/): Include the frozen python stdlib This avoids the dependency on a real std-library (i.e., python3) at runtime. --- Cargo.lock | 2 ++ crates/yt_dlp/Cargo.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 2e7b2cc..6aa53ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2890,6 +2890,8 @@ version = "0.4.0" source = "git+https://github.com/RustPython/RustPython.git#c968fe0fd9d7466dc9d5d97e973b82ba35e516d8" dependencies = [ "glob", + "rustpython-compiler-core", + "rustpython-derive", ] [[package]] diff --git a/crates/yt_dlp/Cargo.toml b/crates/yt_dlp/Cargo.toml index 81e1412..3eff9a2 100644 --- a/crates/yt_dlp/Cargo.toml +++ b/crates/yt_dlp/Cargo.toml @@ -29,6 +29,7 @@ rustpython = { git = "https://github.com/RustPython/RustPython.git", features = "threading", "stdlib", "stdio", + "freeze-stdlib", "importlib", "ssl", ], default-features = false } -- cgit 1.4.1