@vercel/python 2.1.1 → 2.1.2-canary.3
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 -0
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -3797,6 +3797,10 @@ async function installRequirement({ pythonPath, pipPath, dependency, version, wo
|
|
|
3797
3797
|
}
|
|
3798
3798
|
exports.installRequirement = installRequirement;
|
|
3799
3799
|
async function installRequirementsFile({ pythonPath, pipPath, filePath, workPath, meta, args = [], }) {
|
|
3800
|
+
// The Vercel platform already handles `requirements.txt` for frontend projects,
|
|
3801
|
+
// but the installation logic there is different, because it seems to install all
|
|
3802
|
+
// of the dependencies globally, whereas, for this Runtime, we want it to happen only
|
|
3803
|
+
// locally, so we'll run a separate installation.
|
|
3800
3804
|
if (meta.isDev &&
|
|
3801
3805
|
(await areRequirementsInstalled(pythonPath, filePath, workPath))) {
|
|
3802
3806
|
build_utils_1.debug(`Skipping requirements file installation, already installed`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2-canary.3",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/execa": "^0.9.0",
|
|
23
|
+
"@vercel/build-utils": "2.13.1-canary.0",
|
|
23
24
|
"@vercel/ncc": "0.24.0",
|
|
24
25
|
"execa": "^1.0.0",
|
|
25
26
|
"typescript": "4.3.4"
|
|
26
27
|
},
|
|
27
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "9bbb2cdcbd39846f4a7c97c3cf8838eee130eec4"
|
|
28
29
|
}
|