diff --git a/.github/workflows/stubsabot.yml b/.github/workflows/stubsabot.yml index 495477e89..01ee92ad3 100644 --- a/.github/workflows/stubsabot.yml +++ b/.github/workflows/stubsabot.yml @@ -26,7 +26,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: pip cache-dependency-path: requirements-tests.txt - name: git config diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 584595b9e..6cf229d8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: pip cache-dependency-path: requirements-tests.txt - run: pip install -r requirements-tests.txt @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - run: ./tests/check_new_syntax.py flake8: @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: pip cache-dependency-path: requirements-tests.txt - run: pip install -r requirements-tests.txt @@ -124,7 +124,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: pip cache-dependency-path: requirements-tests.txt - run: pip install -r requirements-tests.txt @@ -142,7 +142,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: pip cache-dependency-path: requirements-tests.txt - name: Install typeshed test-suite requirements @@ -174,7 +174,7 @@ jobs: version: ${{ steps.pyright_version.outputs.value }} python-platform: ${{ matrix.python-platform }} python-version: ${{ matrix.python-version }} - no-comments: ${{ matrix.python-version != '3.10' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy. + no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy. venv-path: . - name: Run pyright with stricter settings on some of the stubs uses: jakebailey/pyright-action@v1 @@ -182,7 +182,7 @@ jobs: version: ${{ steps.pyright_version.outputs.value }} python-platform: ${{ matrix.python-platform }} python-version: ${{ matrix.python-version }} - no-comments: ${{ matrix.python-version != '3.10' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy. + no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy. venv-path: . project: ./pyrightconfig.stricter.json - name: Run pyright on the test cases @@ -191,7 +191,7 @@ jobs: version: ${{ steps.pyright_version.outputs.value }} python-platform: ${{ matrix.python-platform }} python-version: ${{ matrix.python-version }} - no-comments: ${{ matrix.python-version != '3.10' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy. + no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy. venv-path: . project: ./pyrightconfig.testcases.json @@ -211,7 +211,7 @@ jobs: path: stub_uploader - uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: pip cache-dependency-path: stub_uploader/requirements.txt - name: Run tests