@vercel/python 6.33.1 → 6.33.2
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 +8 -10
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4375,13 +4375,11 @@ var PythonDependencyExternalizer = class {
|
|
|
4375
4375
|
code: "LAMBDA_SIZE_EXCEEDED",
|
|
4376
4376
|
message: shouldShowFunctionsBetaHint() ? `Total bundle size (${totalBundleSizeMB} MB) exceeds the size limit (${limitMB} MB).
|
|
4377
4377
|
|
|
4378
|
-
` + FUNCTIONS_BETA_CTA : `Total bundle size (${totalBundleSizeMB} MB) exceeds the
|
|
4378
|
+
` + FUNCTIONS_BETA_CTA : `Total bundle size (${totalBundleSizeMB} MB) exceeds the size limit (${limitMB} MB).
|
|
4379
4379
|
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
1. Remove the custom build/install command and let Vercel manage dependencies automatically
|
|
4384
|
-
2. Reduce your dependency footprint to fit within the ${limitMB} MB limit`,
|
|
4380
|
+
When using a custom install command, Vercel cannot automatically optimize dependency bundling. To reduce the size of your dependencies, you can:
|
|
4381
|
+
1. Remove unused dependencies from your project
|
|
4382
|
+
2. Remove the custom install command to allow Vercel to manage and optimize dependencies automatically`,
|
|
4385
4383
|
link: "https://vercel.com/docs/functions/runtimes/python#controlling-what-gets-bundled",
|
|
4386
4384
|
action: "Learn More"
|
|
4387
4385
|
});
|
|
@@ -4427,9 +4425,9 @@ To resolve this, either:
|
|
|
4427
4425
|
const ephemeralLimitMB = (LAMBDA_EPHEMERAL_STORAGE_BYTES / (1024 * 1024)).toFixed(0);
|
|
4428
4426
|
throw new import_build_utils5.NowBuildError({
|
|
4429
4427
|
code: "LAMBDA_SIZE_EXCEEDED",
|
|
4430
|
-
message: shouldShowFunctionsBetaHint() ? `Total
|
|
4428
|
+
message: shouldShowFunctionsBetaHint() ? `Total bundle size (${totalBundleSizeMB} MB) exceeds the ephemeral storage limit (${ephemeralLimitMB} MB).
|
|
4431
4429
|
|
|
4432
|
-
` + FUNCTIONS_BETA_CTA : `Total
|
|
4430
|
+
` + FUNCTIONS_BETA_CTA : `Total bundle size (${totalBundleSizeMB} MB) exceeds Lambda ephemeral storage limit (${ephemeralLimitMB} MB). Even with runtime dependency installation, all packages must fit within the ${ephemeralLimitMB} MB ephemeral storage available to Lambda functions. Consider removing unused dependencies or splitting your application into smaller functions.`,
|
|
4433
4431
|
link: "https://vercel.com/docs/functions/runtimes/python#controlling-what-gets-bundled",
|
|
4434
4432
|
action: "Learn More"
|
|
4435
4433
|
});
|
|
@@ -4623,9 +4621,9 @@ To fix this, either:
|
|
|
4623
4621
|
const limitMB = (LAMBDA_SIZE_THRESHOLD_BYTES / (1024 * 1024)).toFixed(0);
|
|
4624
4622
|
throw new import_build_utils5.NowBuildError({
|
|
4625
4623
|
code: "LAMBDA_SIZE_EXCEEDED",
|
|
4626
|
-
message: shouldShowFunctionsBetaHint() ? `
|
|
4624
|
+
message: shouldShowFunctionsBetaHint() ? `Total bundle size (${finalSizeMB} MB) exceeds the size limit (${limitMB} MB).
|
|
4627
4625
|
|
|
4628
|
-
` + FUNCTIONS_BETA_CTA : `
|
|
4626
|
+
` + FUNCTIONS_BETA_CTA : `Total bundle size (${finalSizeMB} MB) exceeds Lambda limit (${limitMB} MB) even after deferring public packages to runtime installation. This usually means your private packages or source code are too large. Consider reducing the size of private dependencies or splitting your application.`,
|
|
4629
4627
|
link: "https://vercel.com/docs/functions/runtimes/python#controlling-what-gets-bundled",
|
|
4630
4628
|
action: "Learn More"
|
|
4631
4629
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "6.33.
|
|
3
|
+
"version": "6.33.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"smol-toml": "1.5.2",
|
|
37
37
|
"vitest": "2.1.4",
|
|
38
38
|
"which": "3.0.0",
|
|
39
|
-
"@vercel/build-utils": "13.17.
|
|
39
|
+
"@vercel/build-utils": "13.17.1",
|
|
40
40
|
"@vercel/error-utils": "2.0.3",
|
|
41
41
|
"@vercel/python-runtime": "0.13.0"
|
|
42
42
|
},
|