Skip to content

Commit 1e76998

Browse files
Merge remote-tracking branch 'upstream' into hybrid-properties
2 parents 21fa0bc + 56f8f97 commit 1e76998

231 files changed

Lines changed: 15566 additions & 7871 deletions

File tree

Some content is hidden

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

.github/codeql-config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
paths:
2+
- .github
3+
- reflex
4+
- reflex/.templates
15
paths-ignore:
26
- "**/tests/**"

.github/workflows/check_outdated_dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
echo "$outdated"
7878
7979
# Ignore 3rd party dependencies that are not updated.
80-
filtered_outdated=$(echo "$outdated" | grep -vE 'Package|@chakra-ui|lucide-react|@splinetool/runtime|ag-grid-react|framer-motion|react-markdown|remark-math|remark-gfm|rehype-katex|rehype-raw|remark-unwrap-images|ag-grid' || true)
80+
filtered_outdated=$(echo "$outdated" | grep -vE 'Package|@chakra-ui|lucide-react|@splinetool/runtime|ag-grid-react|framer-motion|ag-grid' || true)
8181
no_extra=$(echo "$filtered_outdated" | grep -vE '\|\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-' || true)
8282
8383

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
# Initializes the CodeQL tools for scanning.
7171
- name: Initialize CodeQL
72-
uses: github/codeql-action/init@v3
72+
uses: github/codeql-action/init@v4
7373
with:
7474
languages: ${{ matrix.language }}
7575
config-file: .github/codeql-config.yml
@@ -98,6 +98,6 @@ jobs:
9898
exit 1
9999
100100
- name: Perform CodeQL Analysis
101-
uses: github/codeql-action/analyze@v3
101+
uses: github/codeql-action/analyze@v4
102102
with:
103103
category: "/language:${{matrix.language}}"

.github/workflows/integration_app_harness.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
state_manager: ["redis", "memory"]
29-
python-version: ["3.11", "3.12", "3.13"]
29+
python-version: ["3.11", "3.12", "3.13", "3.14"]
3030
split_index: [1, 2]
3131
fail-fast: false
3232
runs-on: ubuntu-22.04
@@ -56,4 +56,4 @@ jobs:
5656
- name: Run app harness tests
5757
env:
5858
REFLEX_REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
59-
run: uv run pytest tests/integration --retries 3 -v --maxfail=5 --splits 2 --group ${{matrix.split_index}}
59+
run: uv run pytest tests/integration --reruns 3 -v --maxfail=5 --splits 2 --group ${{matrix.split_index}}

.github/workflows/integration_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
repository: reflex-dev/reflex-web
123123
ref: main
124124
path: reflex-web
125+
submodules: recursive
125126

126127
- name: Compile pyproject.toml into requirements.txt
127128
working-directory: ./reflex-web
@@ -148,7 +149,7 @@ jobs:
148149
- uses: actions/checkout@v4
149150
- uses: ./.github/actions/setup_build_env
150151
with:
151-
python-version: 3.13
152+
python-version: 3.14
152153
run-uv-sync: true
153154

154155
- name: Create app directory
@@ -189,6 +190,7 @@ jobs:
189190
repository: reflex-dev/reflex-web
190191
ref: main
191192
path: reflex-web
193+
submodules: recursive
192194
- name: Compile pyproject.toml into requirements.txt
193195
working-directory: ./reflex-web
194196
run: |

.github/workflows/performance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
- name: Set up Python
3232
uses: actions/setup-python@v5
3333
with:
34-
python-version: "3.13"
34+
python-version: "3.14"
3535

3636
- name: Install dependencies
3737
run: uv sync --all-extras --dev
3838

3939
- name: Run benchmarks
40-
uses: CodSpeedHQ/action@v3
40+
uses: CodSpeedHQ/action@v4
4141
with:
42-
token: ${{ secrets.CODSPEED_TOKEN }}
42+
mode: instrumentation
4343
run: uv run pytest -v tests/benchmarks --codspeed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: ./.github/actions/setup_build_env
2525
with:
26-
python-version: 3.13
26+
python-version: 3.14
2727
run-uv-sync: true
2828
- uses: actions/checkout@v4
2929
with:

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
environment:
10+
name: pypi
11+
permissions:
12+
id-token: write
13+
contents: read
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v6
17+
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v7
20+
21+
- name: Build
22+
run: uv build
23+
24+
- name: Verify .pyi files in wheel
25+
run: |
26+
if unzip -l dist/*.whl | grep '\.pyi$'; then
27+
echo "✓ .pyi files found in distribution"
28+
else
29+
echo "Error: No .pyi files found in wheel"
30+
exit 1
31+
fi
32+
33+
- name: Publish
34+
run: uv publish

.github/workflows/unit_tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
os: [ubuntu-latest, windows-latest]
31-
python-version: ["3.10", "3.11", "3.12", "3.13"]
31+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3232
runs-on: ${{ matrix.os }}
3333

3434
# Service containers to run with `runner-job`
@@ -62,6 +62,13 @@ jobs:
6262
export PYTHONUNBUFFERED=1
6363
export REFLEX_REDIS_URL=redis://localhost:6379
6464
uv run pytest tests/units --cov --no-cov-on-fail --cov-report=
65+
- name: Run unit tests w/ redis and OPLOCK_ENABLED
66+
if: ${{ matrix.os == 'ubuntu-latest' }}
67+
run: |
68+
export PYTHONUNBUFFERED=1
69+
export REFLEX_REDIS_URL=redis://localhost:6379
70+
export REFLEX_OPLOCK_ENABLED=true
71+
uv run pytest tests/units --cov --no-cov-on-fail --cov-report=
6572
# Change to explicitly install v1 when reflex-hosting-cli is compatible with v2
6673
- name: Run unit tests w/ pydantic v1
6774
run: |
@@ -77,7 +84,7 @@ jobs:
7784
strategy:
7885
fail-fast: false
7986
matrix:
80-
python-version: ["3.10", "3.11", "3.12", "3.13"]
87+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
8188
runs-on: macos-latest
8289
steps:
8390
- uses: actions/checkout@v4

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13
1+
3.14

0 commit comments

Comments
 (0)