[python] Add discontinue date for Python 3.6 (#7709)

This PR does a few things:
- Changes the existing warning message for Python 3.6 to print a discontinue date
- Will automatically fail new Python 3.6 deployments created after that date
- Consolidates logic to make Python version selection work in a similar manner to Node.js version selection
- Changes tests from JS to TS
This commit is contained in:
Steven
2022-04-26 15:49:19 -04:00
committed by GitHub
parent 466135cf84
commit 9d67e0bc06
11 changed files with 205 additions and 41 deletions

View File

@@ -0,0 +1,5 @@
/** @type {import('@ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};