fix(python): deploy the runtime from the workspace lockfile

(cherry picked from commit c2e5f4828ecf698ba17c6b2eab67ff7b3a914d49)
This commit is contained in:
fz authored and imccyu committed 2026-11-02 16:07:28 +08:00
1 parent d9ed1e4e28
commit 125fabd8d0
11 files changed
+89 -38

No files matched your search

@@ -0,0 +1,15 @@
/** Workspace settings relevant to exact local build approvals. */
export interface RuntimeDeployConfig {
readonly allowBuilds?: Readonly<Record<string, boolean | string>>
readonly [setting: string]: unknown
}
/** Pnpm configuration hooks scoped to Python runtime deployment. */
export const hooks: {
/**
* Translate local build identities without changing their approval status.
* @param config - Source workspace configuration.
* @returns Deployment configuration with exact file URL approvals.
*/
updateConfig(config: RuntimeDeployConfig): RuntimeDeployConfig
}