Add warning for python 2.7 on release/v2 (#675)
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.7-v7.x) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.7-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Failing after 8s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.7-v7.x) (push) Failing after 1s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 48s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 5m7s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 2s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.7-v7.x) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.7-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Waiting to run
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Failing after 8s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.7-v7.x) (push) Failing after 1s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 48s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 5m7s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 2s
* add warning * remove ubuntu-18.04 * remove macos-10.15 * fix pypy3
This commit is contained in:
Vendored
+3
@@ -7010,6 +7010,9 @@ function run() {
|
||||
try {
|
||||
const version = core.getInput('python-version');
|
||||
if (version) {
|
||||
if (version.trim().startsWith('2')) {
|
||||
core.warning('The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672');
|
||||
}
|
||||
let pythonVersion;
|
||||
const arch = core.getInput('architecture') || os.arch();
|
||||
if (isPyPyVersion(version)) {
|
||||
|
||||
Reference in New Issue
Block a user