Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["schedule:monthly", "helpers:pinGitHubActionDigestsToSemver"],
"dependencyDashboard": true,
"enabledManagers": ["github-actions", "custom.regex", "pre-commit", "pep621"],
"pre-commit": {
"enabled": true
},
"minimumReleaseAge": "7 days",
"packageRules": [
{
// Pin versions already in use without waiting for the upgrade cooldown.
"matchUpdateTypes": ["pinDigest"],
"minimumReleaseAge": null
},
{
// Preserve Python versions, runners, and containers. The custom manager
// handles tool inputs so uv's version and checksum are updated together.
"matchManagers": ["github-actions"],
"matchDepTypes": ["uses-with", "github-runner", "docker", "container", "service"],
"enabled": false
},
{
// Only manage build requirements; preserve Python support and library dependencies.
"matchManagers": ["pep621"],
"matchDepTypes": ["!build-system.requires"],
"enabled": false
},
{
"matchManagers": ["github-actions", "custom.regex", "pre-commit", "pep621"],
"groupName": "CI dependencies"
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^\\.github/workflows/(ci|third_party)\\.yml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+version: \"(?<currentValue>[^\"\\r\\n]+)\"(?:\\s+checksum: \"(?<currentDigest>[a-f0-9]{64})\")?"
],
"versioningTemplate": "semver"
}
]
}
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ jobs:
with:
persist-credentials: false

- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: "3.14"

- name: Build docs in nitpicky mode
Expand Down Expand Up @@ -119,6 +122,8 @@ jobs:
github.repository == 'python/typing_extensions'
&& (github.event_name == 'push' || github.event_name == 'pull_request')
with:
# renovate: datasource=github-releases depName=codecov/codecov-cli
version: "v11.3.1"
use_oidc: true
flags: ${{ matrix.python-version }}
directory: src
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ jobs:
- name: Ensure exactly one sdist and one wheel have been downloaded
run: test "$(find dist/*.tar.gz | wc -l | xargs)" = 1 && test "$(find dist/*.whl | wc -l | xargs)" = 1
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
45 changes: 36 additions & 9 deletions .github/workflows/third_party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Checkout pydantic
run: git clone --depth=1 https://github.com/pydantic/pydantic.git || git clone --depth=1 https://github.com/pydantic/pydantic.git
Expand Down Expand Up @@ -84,9 +87,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Checkout typing_inspect
run: git clone --depth=1 https://github.com/ilevkivskyi/typing_inspect.git || git clone --depth=1 https://github.com/ilevkivskyi/typing_inspect.git
Expand Down Expand Up @@ -119,9 +125,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Check out pycroscope
run: git clone --depth=1 https://github.com/JelleZijlstra/pycroscope.git || git clone --depth=1 https://github.com/JelleZijlstra/pycroscope.git
Expand Down Expand Up @@ -154,9 +163,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Check out typeguard
run: git clone --depth=1 https://github.com/agronholm/typeguard.git || git clone --depth=1 https://github.com/agronholm/typeguard.git
Expand Down Expand Up @@ -192,9 +204,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Check out typed-argument-parser
run: git clone --depth=1 https://github.com/swansonk14/typed-argument-parser.git || git clone --depth=1 https://github.com/swansonk14/typed-argument-parser.git
Expand Down Expand Up @@ -235,9 +250,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Checkout mypy for stubtest and mypyc tests
run: git clone --depth=1 https://github.com/python/mypy.git || git clone --depth=1 https://github.com/python/mypy.git
Expand Down Expand Up @@ -271,9 +289,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Checkout cattrs
run: git clone --depth=1 https://github.com/python-attrs/cattrs.git || git clone --depth=1 https://github.com/python-attrs/cattrs.git
Expand Down Expand Up @@ -309,9 +330,12 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Checkout sqlalchemy
run: git clone -b ${{ matrix.checkout-ref }} --depth=1 https://github.com/sqlalchemy/sqlalchemy.git || git clone -b ${{ matrix.checkout-ref }} --depth=1 https://github.com/sqlalchemy/sqlalchemy.git
Expand Down Expand Up @@ -341,9 +365,12 @@ jobs:
# As of 2 November 2025 a dependency is missing 3.14 wheels
python-version: [ "3.11", "3.12", "3.13" ]
steps:
- name: Install the latest version of uv
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.12.7"
checksum: "788f18abea7c5f55d6216e4f5613fd89d4d59b631efeec117b2b07fe72f1da21"
python-version: ${{ matrix.python-version }}
- name: Checkout litestar
run: git clone --depth=1 https://github.com/litestar-org/litestar.git || git clone --depth=1 https://github.com/litestar-org/litestar.git
Expand Down
11 changes: 9 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,25 @@ repos:
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 6b63472e72e1a91ed8a2f6d483790dfb644fa1d3 # frozen: 0.37.4
hooks:
- id: check-dependabot
- id: check-renovate
# Renovate needs an explicit language to update additional_dependencies.
language: python
additional_dependencies: ["json5==0.15.0"]
- id: check-github-workflows
- id: check-readthedocs
- repo: https://github.com/abravalheri/validate-pyproject
rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # frozen: v0.25
hooks:
- id: validate-pyproject
additional_dependencies: ["validate-pyproject-schema-store[all]"]
# Renovate needs an explicit language to update additional_dependencies.
language: python
additional_dependencies: ["validate-pyproject-schema-store[all]==2026.8.15"]
- repo: https://github.com/rhysd/actionlint
rev: 914e7df21a07ef503a81201c76d2b11c789d3fca # frozen: v1.7.12
hooks:
- id: actionlint
# Renovate needs an explicit language to update additional_dependencies.
language: golang
additional_dependencies:
# actionlint has a shellcheck integration which extracts shell scripts in `run:` steps from GitHub Actions
# and checks these with shellcheck. This is arguably its most useful feature,
Expand Down
Loading