Skip to content

Commit 79a9dab

Browse files
committed
Merge remote-tracking branch 'upstream/main' into react-to-preact
2 parents a8a8f4a + a64456f commit 79a9dab

23 files changed

+107
-139
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@v2
49+
uses: github/codeql-action/init@v3
5050
with:
5151
languages: ${{ matrix.language }}
5252
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -59,7 +59,7 @@ jobs:
5959
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6060
# If this step fails, then you should remove it and run the build manually (see below)
6161
- name: Autobuild
62-
uses: github/codeql-action/autobuild@v2
62+
uses: github/codeql-action/autobuild@v3
6363

6464
# ℹ️ Command-line programs to run using the OS shell.
6565
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -72,6 +72,6 @@ jobs:
7272
# ./location_of_script_within_repo/buildscript.sh
7373

7474
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@v2
75+
uses: github/codeql-action/analyze@v3
7676
with:
7777
category: "/language:${{matrix.language}}"

.github/workflows/publish-develop-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
python-version: 3.x
2020
- name: Install dependencies
21-
run: pip install --upgrade pip hatch uv
21+
run: pip install hatch
2222
- name: Configure Git
2323
run: |
2424
git config user.name github-actions

.github/workflows/publish-latest-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
python-version: 3.x
2020
- name: Install dependencies
21-
run: pip install --upgrade pip hatch uv
21+
run: pip install hatch
2222
- name: Configure Git
2323
run: |
2424
git config user.name github-actions

.github/workflows/publish-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
python-version: "3.x"
1919
- name: Install dependencies
20-
run: pip install --upgrade pip hatch uv
20+
run: pip install hatch
2121
- name: Build Package
2222
run: hatch build --clean
2323
- name: Publish to PyPI

.github/workflows/test-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.x
2424
- name: Install Python Dependencies
25-
run: pip install --upgrade pip hatch uv
25+
run: pip install hatch
2626
# DISABLED DUE TO DJANGO DOCS CONSTANTLY THROWING 429 ERRORS
2727
# - name: Check documentation links
2828
# run: hatch run docs:linkcheck

.github/workflows/test-javascript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
with:
2121
python-version: 3.x
2222
- name: Install Python Dependencies
23-
run: pip install --upgrade pip hatch uv
23+
run: pip install hatch
2424
- name: Run Tests
2525
run: hatch run javascript:check

.github/workflows/test-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install Python Dependencies
31-
run: pip install --upgrade pip hatch uv
31+
run: pip install hatch
3232
- name: Run Single DB Tests
3333
run: hatch test --python ${{ matrix.python-version }} --ds=test_app.settings_${{matrix.settings-module}} -v
3434

@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
python-version: 3.x
4545
- name: Install Python Dependencies
46-
run: pip install --upgrade pip hatch uv
46+
run: pip install hatch
4747
- name: Check Python formatting
4848
run: hatch fmt src tests --check
4949

@@ -58,6 +58,6 @@ jobs:
5858
with:
5959
python-version: 3.x
6060
- name: Install Python Dependencies
61-
run: pip install --upgrade pip hatch uv
61+
run: pip install hatch
6262
- name: Run Python type checker
6363
run: hatch run python:type_check

docs/examples/python/django_router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ def my_component():
1515
route("/router/string/<str:value>/", html.div("Example 6")),
1616
route("/router/uuid/<uuid:value>/", html.div("Example 7")),
1717
route("/router/two_values/<int:value>/<str:value2>/", html.div("Example 8")),
18-
route("/router/*", html.div("Fallback")),
18+
route("/router/<any:value>", html.div("Fallback")),
1919
)

docs/examples/python/use_mutation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ def submit_event(event):
2525

2626
return html.div(
2727
html.label("Add an item:"),
28-
html.input({"type": "text", "on_key_down": submit_event}),
28+
html.input({"type": "text", "onKeyDown": submit_event}),
2929
mutation_status,
3030
)

docs/examples/python/use_mutation_query_refetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def submit_event(event):
3939

4040
return html.div(
4141
html.label("Add an item:"),
42-
html.input({"type": "text", "on_key_down": submit_event}),
42+
html.input({"type": "text", "onKeyDown": submit_event}),
4343
mutation_status,
4444
rendered_items,
4545
)

0 commit comments

Comments
 (0)