Skip to content

Commit 8285adf

Browse files
committed
update dev dependencies
1 parent 1d49747 commit 8285adf

9 files changed

Lines changed: 1003 additions & 661 deletions

File tree

.github/workflows/lock.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
name: Lock inactive closed issues
2-
# Lock closed issues that have not received any further activity for two weeks.
3-
# This does not close open issues, only humans may do that. It is easier to
4-
# respond to new issues with fresh examples rather than continuing discussions
5-
# on old issues.
6-
7-
on:
8-
schedule:
9-
- cron: '0 0 * * *'
10-
permissions: {}
11-
concurrency:
12-
group: lock
13-
cancel-in-progress: true
14-
jobs:
15-
lock:
16-
runs-on: ubuntu-latest
17-
permissions:
18-
issues: write
19-
pull-requests: write
20-
discussions: write
21-
steps:
22-
- uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0
23-
with:
24-
issue-inactive-days: 14
25-
pr-inactive-days: 14
26-
discussion-inactive-days: 14
1+
name: Lock inactive closed issues
2+
# Lock closed issues that have not received any further activity for two weeks.
3+
# This does not close open issues, only humans may do that. It is easier to
4+
# respond to new issues with fresh examples rather than continuing discussions
5+
# on old issues.
6+
7+
on:
8+
schedule:
9+
- cron: '0 0 * * *'
10+
permissions: {}
11+
concurrency:
12+
group: lock
13+
cancel-in-progress: true
14+
jobs:
15+
lock:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
issues: write
19+
pull-requests: write
20+
discussions: write
21+
steps:
22+
- uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2
23+
with:
24+
issue-inactive-days: 14
25+
pr-inactive-days: 14
26+
discussion-inactive-days: 14

.github/workflows/pre-commit.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
name: pre-commit
2-
on:
3-
pull_request:
4-
push:
5-
branches: [main, stable]
6-
permissions: {}
7-
concurrency:
8-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9-
cancel-in-progress: true
10-
jobs:
11-
main:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15-
with:
16-
persist-credentials: false
17-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
18-
with:
19-
enable-cache: true
20-
prune-cache: false
21-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
22-
id: setup-python
23-
with:
24-
python-version-file: pyproject.toml
25-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
26-
with:
27-
path: ~/.cache/pre-commit
28-
key: pre-commit|${{ hashFiles('pyproject.toml', '.pre-commit-config.yaml') }}
29-
- run: uv run --locked --no-default-groups --group pre-commit pre-commit run --show-diff-on-failure --color=always --all-files
1+
name: pre-commit
2+
on:
3+
pull_request:
4+
push:
5+
branches: [main, stable]
6+
permissions: {}
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
jobs:
11+
main:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
15+
with:
16+
persist-credentials: false
17+
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
18+
with:
19+
enable-cache: true
20+
prune-cache: false
21+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
22+
id: setup-python
23+
with:
24+
python-version-file: pyproject.toml
25+
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
26+
with:
27+
path: ~/.cache/pre-commit
28+
key: pre-commit|${{ hashFiles('pyproject.toml', '.pre-commit-config.yaml') }}
29+
- run: uv run --locked --no-default-groups --group pre-commit pre-commit run --show-diff-on-failure --color=always --all-files

.github/workflows/publish.yaml

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
name: Publish
2-
on:
3-
push:
4-
tags: ['*']
5-
permissions: {}
6-
concurrency:
7-
group: publish-${{ github.event.push.ref }}
8-
cancel-in-progress: true
9-
jobs:
10-
build:
11-
runs-on: ubuntu-latest
12-
outputs:
13-
artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}
14-
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16-
with:
17-
persist-credentials: false
18-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
19-
with:
20-
enable-cache: false
21-
prune-cache: false
22-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
23-
with:
24-
python-version-file: pyproject.toml
25-
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
26-
- run: uv build
27-
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
28-
id: upload-artifact
29-
with:
30-
name: dist
31-
path: dist/
32-
if-no-files-found: error
33-
create-release:
34-
needs: [build]
35-
runs-on: ubuntu-latest
36-
permissions:
37-
contents: write
38-
steps:
39-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
40-
with:
41-
artifact-ids: ${{ needs.build.outputs.artifact-id }}
42-
path: dist/
43-
- name: create release
44-
run: gh release create --draft --repo ${GITHUB_REPOSITORY} ${GITHUB_REF_NAME} dist/*
45-
env:
46-
GH_TOKEN: ${{ github.token }}
47-
publish-pypi:
48-
needs: [build]
49-
environment:
50-
name: publish
51-
url: https://pypi.org/project/Flask/${{ github.ref_name }}
52-
runs-on: ubuntu-latest
53-
permissions:
54-
id-token: write
55-
steps:
56-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
57-
with:
58-
artifact-ids: ${{ needs.build.outputs.artifact-id }}
59-
path: dist/
60-
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
61-
with:
62-
packages-dir: "dist/"
1+
name: Publish
2+
on:
3+
push:
4+
tags: ['*']
5+
permissions: {}
6+
concurrency:
7+
group: publish-${{ github.event.push.ref }}
8+
cancel-in-progress: true
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
outputs:
13+
artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}
14+
steps:
15+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
16+
with:
17+
persist-credentials: false
18+
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
19+
with:
20+
enable-cache: false
21+
prune-cache: false
22+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
23+
with:
24+
python-version-file: pyproject.toml
25+
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
26+
- run: uv build
27+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
28+
id: upload-artifact
29+
with:
30+
name: dist
31+
path: dist/
32+
if-no-files-found: error
33+
create-release:
34+
needs: [build]
35+
runs-on: ubuntu-latest
36+
permissions:
37+
contents: write
38+
steps:
39+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
40+
with:
41+
artifact-ids: ${{ needs.build.outputs.artifact-id }}
42+
path: dist/
43+
- name: create release
44+
run: gh release create --draft --repo ${GITHUB_REPOSITORY} ${GITHUB_REF_NAME} dist/*
45+
env:
46+
GH_TOKEN: ${{ github.token }}
47+
publish-pypi:
48+
needs: [build]
49+
environment:
50+
name: publish
51+
url: https://pypi.org/project/Flask/${{ github.ref_name }}
52+
runs-on: ubuntu-latest
53+
permissions:
54+
id-token: write
55+
steps:
56+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
57+
with:
58+
artifact-ids: ${{ needs.build.outputs.artifact-id }}
59+
path: dist/
60+
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
61+
with:
62+
packages-dir: "dist/"

.github/workflows/tests.yaml

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
1-
name: Tests
2-
on:
3-
pull_request:
4-
paths-ignore: ['docs/**', 'README.md']
5-
push:
6-
branches: [main, stable]
7-
paths-ignore: ['docs/**', 'README.md']
8-
permissions: {}
9-
concurrency:
10-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11-
cancel-in-progress: true
12-
jobs:
13-
tests:
14-
name: ${{ matrix.name || matrix.python }}
15-
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
16-
strategy:
17-
fail-fast: false
18-
matrix:
19-
include:
20-
- {python: '3.14'}
21-
- {python: '3.14t'}
22-
- {name: Windows, python: '3.14', os: windows-latest}
23-
- {name: Mac, python: '3.14', os: macos-latest}
24-
- {python: '3.13'}
25-
- {python: '3.12'}
26-
- {python: '3.11'}
27-
- {python: '3.10'}
28-
- {python: '3.9'}
29-
- {name: PyPy, python: 'pypy-3.11', tox: pypy3.11}
30-
- {name: Minimum Versions, python: '3.14', tox: tests-min}
31-
- {name: Development Versions, python: '3.10', tox: tests-dev}
32-
steps:
33-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34-
with:
35-
persist-credentials: false
36-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
37-
with:
38-
enable-cache: true
39-
prune-cache: false
40-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
41-
with:
42-
python-version: ${{ matrix.python }}
43-
- run: uv run --locked --no-default-groups --group dev tox run
44-
env:
45-
TOX_ENV: ${{ matrix.tox || format('py{0}', matrix.python) }}
46-
typing:
47-
runs-on: ubuntu-latest
48-
steps:
49-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
50-
with:
51-
persist-credentials: false
52-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
53-
with:
54-
enable-cache: true
55-
prune-cache: false
56-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
57-
with:
58-
python-version-file: pyproject.toml
59-
- name: cache mypy
60-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
61-
with:
62-
path: ./.mypy_cache
63-
key: mypy|${{ hashFiles('pyproject.toml') }}
64-
- run: uv run --locked --no-default-groups --group dev tox run -e typing
1+
name: Tests
2+
on:
3+
pull_request:
4+
paths-ignore: ['docs/**', 'README.md']
5+
push:
6+
branches: [main, stable]
7+
paths-ignore: ['docs/**', 'README.md']
8+
permissions: {}
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
jobs:
13+
tests:
14+
name: ${{ matrix.name || matrix.python }}
15+
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
include:
20+
- {python: '3.14'}
21+
- {python: '3.14t'}
22+
- {name: Windows, python: '3.14', os: windows-latest}
23+
- {name: Mac, python: '3.14', os: macos-latest}
24+
- {python: '3.13'}
25+
- {python: '3.12'}
26+
- {python: '3.11'}
27+
- {python: '3.10'}
28+
- {python: '3.9'}
29+
- {name: PyPy, python: 'pypy-3.11', tox: pypy3.11}
30+
- {name: Minimum Versions, python: '3.14', tox: tests-min}
31+
- {name: Development Versions, python: '3.10', tox: tests-dev}
32+
steps:
33+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
34+
with:
35+
persist-credentials: false
36+
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
37+
with:
38+
enable-cache: true
39+
prune-cache: false
40+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
41+
with:
42+
python-version: ${{ matrix.python }}
43+
- run: uv run --locked --no-default-groups --group dev tox run
44+
env:
45+
TOX_ENV: ${{ matrix.tox || format('py{0}', matrix.python) }}
46+
typing:
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
50+
with:
51+
persist-credentials: false
52+
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
53+
with:
54+
enable-cache: true
55+
prune-cache: false
56+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
57+
with:
58+
python-version-file: pyproject.toml
59+
- name: cache mypy
60+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
61+
with:
62+
path: ./.mypy_cache
63+
key: mypy|${{ hashFiles('pyproject.toml') }}
64+
- run: uv run --locked --no-default-groups --group dev tox run -e typing

0 commit comments

Comments
 (0)