@vercel/python 6.58.0 → 7.0.0
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 +5 -3
- package/package.json +6 -3
package/dist/index.js
CHANGED
|
@@ -5032,7 +5032,7 @@ var import_fs20 = __toESM(require("fs"));
|
|
|
5032
5032
|
var import_path21 = require("path");
|
|
5033
5033
|
|
|
5034
5034
|
// src/package-versions.ts
|
|
5035
|
-
var VERCEL_RUNTIME_VERSION = "0.21.
|
|
5035
|
+
var VERCEL_RUNTIME_VERSION = "0.21.1";
|
|
5036
5036
|
var VERCEL_WORKERS_VERSION = "0.0.25";
|
|
5037
5037
|
|
|
5038
5038
|
// src/conditional-vendoring.ts
|
|
@@ -8512,7 +8512,7 @@ function createQueueHandlerModule(declaration, integrations) {
|
|
|
8512
8512
|
return [
|
|
8513
8513
|
"import importlib",
|
|
8514
8514
|
"import os",
|
|
8515
|
-
"import
|
|
8515
|
+
"from vercel_runtime.workers import create_queue_service_app",
|
|
8516
8516
|
"",
|
|
8517
8517
|
`os.environ[${JSON.stringify(SUBSCRIBER_ID_ENV)}] = ${JSON.stringify(declaration.name)}`,
|
|
8518
8518
|
...createIntegrationInstallLines(integrations, {
|
|
@@ -8524,7 +8524,7 @@ function createQueueHandlerModule(declaration, integrations) {
|
|
|
8524
8524
|
serving: true,
|
|
8525
8525
|
beforeImport: false
|
|
8526
8526
|
}),
|
|
8527
|
-
"app =
|
|
8527
|
+
"app = create_queue_service_app()",
|
|
8528
8528
|
""
|
|
8529
8529
|
].join("\n");
|
|
8530
8530
|
}
|
|
@@ -11767,12 +11767,14 @@ var build = async ({
|
|
|
11767
11767
|
cliType,
|
|
11768
11768
|
lockfileVersion,
|
|
11769
11769
|
packageJsonPackageManager,
|
|
11770
|
+
packageJsonDevEngines,
|
|
11770
11771
|
turboSupportsCorepackHome
|
|
11771
11772
|
} = await (0, import_build_utils24.scanParentDirs)(workPath, true);
|
|
11772
11773
|
spawnEnv = (0, import_build_utils24.getEnvForPackageManager)({
|
|
11773
11774
|
cliType,
|
|
11774
11775
|
lockfileVersion,
|
|
11775
11776
|
packageJsonPackageManager,
|
|
11777
|
+
packageJsonDevEngines,
|
|
11776
11778
|
env: process.env,
|
|
11777
11779
|
turboSupportsCorepackHome,
|
|
11778
11780
|
projectCreatedAt: config?.projectSettings?.createdAt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@vercel/python-analysis": "0.14.0"
|
|
18
18
|
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"@vercel/build-utils": "14.3.0"
|
|
21
|
+
},
|
|
19
22
|
"devDependencies": {
|
|
20
23
|
"@renovatebot/pep440": "4.2.1",
|
|
21
24
|
"@types/execa": "^0.9.0",
|
|
@@ -35,9 +38,9 @@
|
|
|
35
38
|
"smol-toml": "1.5.2",
|
|
36
39
|
"vitest": "4.1.10",
|
|
37
40
|
"which": "3.0.0",
|
|
38
|
-
"@vercel/build-utils": "14.
|
|
41
|
+
"@vercel/build-utils": "14.3.0",
|
|
39
42
|
"@vercel/error-utils": "2.2.1",
|
|
40
|
-
"@vercel/python-runtime": "0.21.
|
|
43
|
+
"@vercel/python-runtime": "0.21.1"
|
|
41
44
|
},
|
|
42
45
|
"scripts": {
|
|
43
46
|
"build": "node ../../utils/build-builder.mjs",
|