Update tools versions in stubtest workflow (#13582)

This commit is contained in:
sobolevn
2025-03-05 16:24:56 +03:00
committed by GitHub
parent e951ca9760
commit 3ac6c388c6
7 changed files with 13 additions and 25 deletions
+3 -9
View File
@@ -34,9 +34,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which can can cause problems with os module constants.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
@@ -61,18 +59,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which causes problems when testing gdb.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
shard-index: [0, 1, 2, 3]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
# TODO: Use Python 3.12. As of 2024-03-08, several third-party
# packages fail to install with Python 3.12.
python-version: "3.11"
python-version: "3.12"
cache: pip
cache-dependency-path: |
requirements-tests.txt
+1 -3
View File
@@ -30,9 +30,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which can can cause problems with os module constants.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
+2 -6
View File
@@ -32,9 +32,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
# which causes problems when testing gdb.
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
fail-fast: false
steps:
@@ -43,9 +41,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
# TODO: Use Python 3.12. As of 2024-03-08, several third-party
# packages fail to install with Python 3.12.
python-version: "3.11"
python-version: "3.12"
cache: pip
cache-dependency-path: |
requirements-tests.txt
+4
View File
@@ -4,3 +4,7 @@ partial_stub = true
[tool.stubtest]
ignore_missing_stub = true
# TODO (2025-03-05): unskip once `atheris` can be installed on `ubuntu-24.04`,
# see https://github.com/python/typeshed/pull/13582 and
# https://github.com/google/atheris/issues/82
skip = true
+3
View File
@@ -13,3 +13,6 @@ extra_description = """\
[tool.stubtest]
platforms = ["linux"]
apt_dependencies = ["gdb"]
# TODO (2025-03-05): unskip once `gdb` can be installed on `ubuntu-24.04`,
# see https://github.com/python/typeshed/pull/13582
skip = true
@@ -195,7 +195,3 @@ openpyxl.worksheet.smart_tag.CellSmartTagPr.__init__
openpyxl.worksheet.smart_tag.CellSmartTags.__init__
openpyxl.worksheet.table.TableColumn.__init__
openpyxl.worksheet.table.XMLColumnProps.__init__
# Inherited from the stdlib, where we lie about the presence
# of this method in order to mark it as deprecated.
openpyxl.xml.functions.Element.__bool__
@@ -2,6 +2,3 @@
requests.packages.mod
requests.packages.package
requests.packages.target
# Alias for builtins.bytes
requests.compat.bytes.__buffer__