@vercel/python 3.0.5-canary.0 → 3.0.7
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 +2 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3819,7 +3819,6 @@ const allOptions = [
|
|
|
3819
3819
|
discontinueDate: new Date('2022-07-18'),
|
|
3820
3820
|
},
|
|
3821
3821
|
];
|
|
3822
|
-
const upstreamProvider = 'This change is the result of a decision made by an upstream infrastructure provider (AWS)';
|
|
3823
3822
|
function getDevPythonVersion() {
|
|
3824
3823
|
// Use the system-installed version of `python3` when running `vercel dev`
|
|
3825
3824
|
return {
|
|
@@ -3854,12 +3853,12 @@ function getSupportedPythonVersion({ isDev, pipLockPythonVersion, }) {
|
|
|
3854
3853
|
throw new build_utils_1.NowBuildError({
|
|
3855
3854
|
code: 'BUILD_UTILS_PYTHON_VERSION_DISCONTINUED',
|
|
3856
3855
|
link: 'http://vercel.link/python-version',
|
|
3857
|
-
message: `Python version "${selection.version}" detected in Pipfile.lock is discontinued and must be upgraded
|
|
3856
|
+
message: `Python version "${selection.version}" detected in Pipfile.lock is discontinued and must be upgraded.`,
|
|
3858
3857
|
});
|
|
3859
3858
|
}
|
|
3860
3859
|
if (selection.discontinueDate) {
|
|
3861
3860
|
const d = selection.discontinueDate.toISOString().split('T')[0];
|
|
3862
|
-
console.warn(`Error: Python version "${selection.version}" detected in Pipfile.lock
|
|
3861
|
+
console.warn(`Error: Python version "${selection.version}" detected in Pipfile.lock has reached End-of-Life. Deployments created on or after ${d} will fail to build. http://vercel.link/python-version`);
|
|
3863
3862
|
}
|
|
3864
3863
|
return selection;
|
|
3865
3864
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/execa": "^0.9.0",
|
|
25
25
|
"@types/jest": "27.4.1",
|
|
26
|
-
"@vercel/build-utils": "5.0.
|
|
26
|
+
"@vercel/build-utils": "5.0.3",
|
|
27
27
|
"@vercel/ncc": "0.24.0",
|
|
28
28
|
"execa": "^1.0.0",
|
|
29
29
|
"typescript": "4.3.4"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "bef1aec76609ae661f084dcc391edd66f891f0b4"
|
|
32
32
|
}
|