mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Drop support for Python 3.6, part 1 (#8250)
* Document that typeshed support 3.7+. * Don't run tests on Python 3.6. * Remove Python 3.6 allow lists. * Merge common allowlist items. Part of #6189
This commit is contained in:
4
.github/workflows/daily.yml
vendored
4
.github/workflows/daily.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
matrix:
|
||||
# macos-11 does not have tcl/tk installed, needed for stubtesting tkinter
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-10.15"]
|
||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: pip install $(grep tomli== requirements-tests.txt) termcolor
|
||||
- name: Install apt packages
|
||||
|
||||
2
.github/workflows/stubtest_stdlib.yml
vendored
2
.github/workflows/stubtest_stdlib.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
matrix:
|
||||
# macos-11 does not have tcl/tk installed, needed for stubtesting tkinter
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-10.15"]
|
||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
||||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -66,7 +66,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: ["linux", "win32", "darwin"]
|
||||
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python-platform: ["Linux", "Windows", "Darwin"]
|
||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||
fail-fast: false
|
||||
env:
|
||||
PYRIGHT_VERSION: 1.1.255 # Must match pyright_test.py.
|
||||
@@ -112,7 +112,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: pip install $(grep tomli== requirements-tests.txt) termcolor
|
||||
- name: Run stubtest
|
||||
|
||||
Reference in New Issue
Block a user