Skip to content

Commit bea224d

Browse files
Merge branch 'main' into add-get-app-name-from-pyproject
2 parents 8c1d999 + dbeacda commit bea224d

45 files changed

Lines changed: 3160 additions & 1072 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/issue-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
GITHUB_CONTEXT: ${{ toJson(github) }}
2929
run: echo "$GITHUB_CONTEXT"
30-
- uses: tiangolo/issue-manager@0.5.1
30+
- uses: tiangolo/issue-manager@0.6.0
3131
with:
3232
token: ${{ secrets.GITHUB_TOKEN }}
3333
config: >

.github/workflows/latest-changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
GITHUB_CONTEXT: ${{ toJson(github) }}
2626
run: echo "$GITHUB_CONTEXT"
27-
- uses: actions/checkout@v5
27+
- uses: actions/checkout@v6
2828
with:
2929
# To allow latest-changes to commit to the main branch
3030
token: ${{ secrets.LATEST_CHANGES }}
@@ -34,7 +34,7 @@ jobs:
3434
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
3535
with:
3636
limit-access-to-actor: true
37-
- uses: tiangolo/latest-changes@0.4.0
37+
- uses: tiangolo/latest-changes@0.4.1
3838
with:
3939
token: ${{ secrets.GITHUB_TOKEN }}
4040
latest_changes_file: release-notes.md

.github/workflows/lint.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
env:
1919
GITHUB_CONTEXT: ${{ toJson(github) }}
2020
run: echo "$GITHUB_CONTEXT"
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6
2222
name: Checkout PR for own repo
2323
if: env.HAS_SECRETS == 'true'
2424
with:
@@ -30,7 +30,7 @@ jobs:
3030
# A token other than the default GITHUB_TOKEN is needed to be able to trigger CI
3131
token: ${{ secrets.PRE_COMMIT }}
3232
# pre-commit lite ci needs the default checkout configs to work
33-
- uses: actions/checkout@v5
33+
- uses: actions/checkout@v6
3434
name: Checkout PR for fork
3535
if: env.HAS_SECRETS == 'false'
3636
with:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
env:
1717
GITHUB_CONTEXT: ${{ toJson(github) }}
1818
run: echo "$GITHUB_CONTEXT"
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@v6
2020
- name: Set up Python
2121
uses: actions/setup-python@v6
2222
with:

.github/workflows/smokeshow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
env:
1818
GITHUB_CONTEXT: ${{ toJson(github) }}
1919
run: echo "$GITHUB_CONTEXT"
20-
- uses: actions/setup-python@v5
20+
- uses: actions/setup-python@v6
2121
with:
2222
python-version: '3.13'
2323

2424
- run: pip install smokeshow
2525

26-
- uses: actions/download-artifact@v5
26+
- uses: actions/download-artifact@v8
2727
with:
2828
name: coverage-html
2929
path: htmlcov

.github/workflows/test-redistribute.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
env:
1818
GITHUB_CONTEXT: ${{ toJson(github) }}
1919
run: echo "$GITHUB_CONTEXT"
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v6
2121
- name: Set up Python
2222
uses: actions/setup-python@v6
2323
with:

.github/workflows/test.yml

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,34 @@ jobs:
2525
test:
2626
strategy:
2727
matrix:
28-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
28+
os: [ ubuntu-latest, macos-latest, windows-latest ]
29+
python-version: ["3.14"]
30+
uv-resolution:
31+
- highest
32+
include:
33+
- python-version: "3.10"
34+
os: ubuntu-latest
35+
uv-resolution: lowest-direct
36+
- python-version: "3.11"
37+
os: macos-latest
38+
uv-resolution: lowest-direct
39+
- python-version: "3.12"
40+
os: windows-latest
41+
uv-resolution: highest
42+
- python-version: "3.13"
43+
os: macos-latest
44+
uv-resolution: lowest-direct
2945
fail-fast: false
30-
runs-on: ubuntu-latest
46+
runs-on: ${{ matrix.os }}
3147
env:
3248
UV_PYTHON: ${{ matrix.python-version }}
49+
UV_RESOLUTION: ${{ matrix.uv-resolution }}
3350
steps:
3451
- name: Dump GitHub context
3552
env:
3653
GITHUB_CONTEXT: ${{ toJson(github) }}
3754
run: echo "$GITHUB_CONTEXT"
38-
- uses: actions/checkout@v5
55+
- uses: actions/checkout@v6
3956
- name: Set up Python
4057
uses: actions/setup-python@v6
4158
with:
@@ -52,17 +69,17 @@ jobs:
5269
with:
5370
limit-access-to-actor: true
5471
- name: Install Dependencies
55-
run: uv sync --locked --all-extras --dev
72+
run: uv sync --all-extras --dev
5673
- run: mkdir coverage
5774
- name: Test
58-
run: uv run --no-sync scripts/test.sh
75+
run: uv run --no-sync bash scripts/test.sh
5976
env:
6077
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
6178
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
6279
- name: Store coverage files
63-
uses: actions/upload-artifact@v4
80+
uses: actions/upload-artifact@v7
6481
with:
65-
name: coverage-${{ matrix.python-version }}
82+
name: coverage-${{ runner.os }}-${{ matrix.python-version }}
6683
path: coverage
6784
include-hidden-files: true
6885

@@ -74,7 +91,7 @@ jobs:
7491
env:
7592
GITHUB_CONTEXT: ${{ toJson(github) }}
7693
run: echo "$GITHUB_CONTEXT"
77-
- uses: actions/checkout@v5
94+
- uses: actions/checkout@v6
7895
- uses: actions/setup-python@v6
7996
with:
8097
python-version-file: "pyproject.toml"
@@ -84,7 +101,7 @@ jobs:
84101
- name: Install uv
85102
uses: astral-sh/setup-uv@v7
86103
- name: Get coverage files
87-
uses: actions/download-artifact@v5
104+
uses: actions/download-artifact@v8
88105
with:
89106
pattern: coverage-*
90107
path: coverage
@@ -94,7 +111,7 @@ jobs:
94111
- run: uv run coverage combine coverage
95112
- run: uv run coverage html --title "Coverage for ${{ github.sha }}"
96113
- name: Store coverage HTML
97-
uses: actions/upload-artifact@v4
114+
uses: actions/upload-artifact@v7
98115
with:
99116
name: coverage-html
100117
path: htmlcov

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,17 @@ repos:
2626
require_serial: true
2727
language: unsupported
2828
types: [python]
29+
30+
- id: local-mypy
31+
name: mypy check
32+
entry: uv run mypy src tests
33+
require_serial: true
34+
language: unsupported
35+
pass_filenames: false
36+
37+
- id: local-ty
38+
name: ty check
39+
entry: uv run ty check src tests
40+
require_serial: true
41+
language: unsupported
42+
pass_filenames: false

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.9
1+
3.10

0 commit comments

Comments
 (0)