mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-23 17:28:38 +08:00
Update tools versions in stubtest workflow (#13582)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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,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
|
||||
|
||||
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user