fix(python): preserve deployed dependency validation

(cherry picked from commit e18abca88589347975a5866925c590a16f1b2aed)
This commit is contained in:
fz authored and imccyu committed 2026-11-02 16:07:29 +08:00
1 parent 125fabd8d0
commit 67e2d1e506
13 files changed
+145 -21

No files matched your search

+2 -1
View File
@@ -9,7 +9,7 @@
import { createHash } from 'node:crypto'
import { build as bundle } from 'tsdown'
import { spawn } from 'node:child_process'
import { pnpmInvocation } from './executable-packaging.ts'
import { pnpmInvocation, verifyStagedDependencies } from './executable-packaging.ts'
import { existsSync, statSync } from 'node:fs'
import { chmod, copyFile, cp, glob, mkdir, readFile, readdir, rm, writeFile } from 'node:fs/promises'
import { basename, dirname, join, resolve, sep } from 'node:path'
@@ -334,6 +334,7 @@ class SingleExeBuild {
}
await materializeStagedLinks(this.staging)
await deduplicateStagedWorkspacePackages(this.staging, this.staging)
await verifyStagedDependencies(this.staging)
}
/** Add the executable entry and pkg assets to the staged manifest. */