@vercel/python 32.0.0-snapshot-23cc3b13430e → 32.0.0-snapshot-579f9b2619d8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -6759,6 +6759,9 @@ function runtimeInstallDisabledByFlag() {
|
|
|
6759
6759
|
const flag = process.env.VERCEL_PYTHON_DISABLE_RUNTIME_INSTALL?.toLowerCase();
|
|
6760
6760
|
return flag === "1" || flag === "true";
|
|
6761
6761
|
}
|
|
6762
|
+
function isPythonOnHive() {
|
|
6763
|
+
return process.env.VERCEL_PYTHON_ON_HIVE === "1";
|
|
6764
|
+
}
|
|
6762
6765
|
var PythonDependencyExternalizer = class {
|
|
6763
6766
|
constructor(options) {
|
|
6764
6767
|
this.allVendorFiles = {};
|
|
@@ -6773,7 +6776,7 @@ var PythonDependencyExternalizer = class {
|
|
|
6773
6776
|
this.workspacePackage = options.workspacePackage;
|
|
6774
6777
|
this.pythonVersion = options.pythonVersion;
|
|
6775
6778
|
this.hasCustomCommand = options.hasCustomCommand;
|
|
6776
|
-
this.runtimeInstallDisabled = runtimeInstallDisabledByFlag();
|
|
6779
|
+
this.runtimeInstallDisabled = runtimeInstallDisabledByFlag() || isPythonOnHive();
|
|
6777
6780
|
this.alwaysBundlePackages = options.alwaysBundlePackages ?? [];
|
|
6778
6781
|
}
|
|
6779
6782
|
shouldEnableRuntimeInstall() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "32.0.0-snapshot-
|
|
3
|
+
"version": "32.0.0-snapshot-579f9b2619d8",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@vercel/python-analysis": "0.15.3"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@vercel/build-utils": "15.4.0-snapshot-
|
|
20
|
+
"@vercel/build-utils": "15.4.0-snapshot-579f9b2619d8"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@renovatebot/pep440": "4.2.1",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"vitest": "4.1.10",
|
|
39
39
|
"which": "3.0.0",
|
|
40
40
|
"@vercel/error-utils": "2.2.1",
|
|
41
|
-
"@vercel/
|
|
42
|
-
"@vercel/
|
|
41
|
+
"@vercel/python-runtime": "0.24.3",
|
|
42
|
+
"@vercel/build-utils": "15.4.0-snapshot-579f9b2619d8"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "node ../../utils/build-builder.mjs",
|