mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-09 06:46:18 +08:00
Remove support for pytype (#14463)
This commit is contained in:
@@ -24,15 +24,15 @@
|
||||
{
|
||||
groupName: "most test/lint dependencies",
|
||||
matchManagers: ["pip_requirements", "pre-commit"],
|
||||
matchPackageNames: ["!pytype", "!pyright"],
|
||||
matchPackageNames: ["!pyright"],
|
||||
description: "Quarterly update of most test dependencies",
|
||||
schedule: ["every 3 months on the first day of the month"]
|
||||
},
|
||||
{
|
||||
"groupName": "pytype and pyright",
|
||||
"groupName": "pyright",
|
||||
"matchManagers": ["pip_requirements"],
|
||||
"matchPackageNames": ["pytype", "pyright"],
|
||||
"description": "Daily update of pyright and pytype",
|
||||
"matchPackageNames": ["pyright"],
|
||||
"description": "Daily update of pyright",
|
||||
"schedule": ["before 4am"]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -34,29 +34,6 @@ jobs:
|
||||
- run: uv pip install -r requirements-tests.txt --system
|
||||
- run: python ./tests/check_typeshed_structure.py
|
||||
|
||||
pytype:
|
||||
name: "pytype: Check stubs"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
# Max supported Python version as of pytype 2024.10.11
|
||||
python-version: "3.12"
|
||||
- uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
version-file: "requirements-tests.txt"
|
||||
- run: uv pip install -r requirements-tests.txt --system
|
||||
- name: Install external dependencies for 3rd-party stubs
|
||||
run: |
|
||||
DEPENDENCIES=$( python tests/get_external_stub_requirements.py )
|
||||
if [ -n "$DEPENDENCIES" ]; then
|
||||
printf "Installing packages:\n $(echo $DEPENDENCIES | sed 's/ /\n /g')\n"
|
||||
uv pip install --system $DEPENDENCIES
|
||||
fi
|
||||
- run: uv pip freeze
|
||||
- run: ./tests/pytype_test.py --print-stderr
|
||||
|
||||
mypy:
|
||||
name: "mypy: Check stubs"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user