Skip to content

Commit db92c2b

Browse files
committed
Merge branch 'main' into allow-memo-components-to-be-passed-to-props
2 parents 497ea54 + 817b8b4 commit db92c2b

File tree

400 files changed

+21909
-15555
lines changed

Some content is hidden

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

400 files changed

+21909
-15555
lines changed

.coveragerc

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

.github/actions/setup_build_env/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,18 @@ runs:
2727
using: "composite"
2828
steps:
2929
- name: Install UV
30-
uses: astral-sh/setup-uv@v5
30+
uses: astral-sh/setup-uv@v6
3131
with:
3232
python-version: ${{ inputs.python-version }}
3333
enable-cache: true
3434
prune-cache: false
35+
activate-environment: true
3536
cache-dependency-glob: "uv.lock"
37+
- name: Setup Node
38+
uses: actions/setup-node@v4
39+
with:
40+
node-version: 22
41+
- name: Install Dependencies
42+
if: inputs.run-uv-sync == 'true'
43+
run: uv sync
44+
shell: bash

.github/workflows/benchmarks.yml

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

.github/workflows/check_node_latest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- main
1212

1313
env:
14-
TELEMETRY_ENABLED: false
14+
REFLEX_TELEMETRY_ENABLED: false
1515

1616
jobs:
1717
check_latest_node:
@@ -34,5 +34,5 @@ jobs:
3434
node-version: ${{ matrix.node-version }}
3535
- run: uv run playwright install --with-deps
3636
- run: |
37-
uv run pytest tests/test_node_version.py
38-
uv run pytest tests/integration --splits 2 --group ${{matrix.split_index}}
37+
uv run pytest tests/test_node_version.py -v
38+
uv run pytest tests/integration --splits 2 -v --group ${{matrix.split_index}}

.github/workflows/check_outdated_dependencies.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,14 @@ jobs:
5454
repository: reflex-dev/reflex-web
5555
ref: main
5656
path: reflex-web
57+
- name: Compile pyproject.toml into requirements.txt
58+
working-directory: ./reflex-web
59+
run: |
60+
uv pip compile pyproject.toml --no-annotate --no-header --no-deps --output-file requirements.txt
61+
grep -ivE "reflex " requirements.txt > requirements.txt.tmp && mv requirements.txt.tmp requirements.txt
5762
- name: Install Requirements for reflex-web
5863
working-directory: ./reflex-web
59-
run: uv pip install $(grep -ivE "reflex " requirements.txt)
64+
run: uv pip install -r requirements.txt
6065
- name: Init Website for reflex-web
6166
working-directory: ./reflex-web
6267
run: uv run reflex init

.github/workflows/integration_app_harness.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- "**/*.md"
1616
env:
1717
APP_HARNESS_HEADLESS: 1
18+
PYTHONUNBUFFERED: 1
1819

1920
permissions:
2021
contents: read
@@ -49,9 +50,10 @@ jobs:
4950
python-version: ${{ matrix.python-version }}
5051
run-uv-sync: true
5152

53+
- name: Install playwright
54+
run: uv run playwright install chromium --only-shell
55+
5256
- name: Run app harness tests
5357
env:
54-
REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
55-
run: |
56-
uv run playwright install chromium
57-
uv run pytest tests/integration --retries 3 --maxfail=5 --splits 2 --group ${{matrix.split_index}}
58+
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}}

.github/workflows/integration_tests.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828
# - Catch encoding errors when printing logs
2929
# - Best effort print lines that contain illegal chars (map to some default char, etc.)
3030
PYTHONIOENCODING: "utf8"
31-
TELEMETRY_ENABLED: false
31+
REFLEX_TELEMETRY_ENABLED: false
3232
NODE_OPTIONS: "--max_old_space_size=8192"
3333
PR_TITLE: ${{ github.event.pull_request.title }}
3434

@@ -123,17 +123,22 @@ jobs:
123123
ref: main
124124
path: reflex-web
125125

126+
- name: Compile pyproject.toml into requirements.txt
127+
working-directory: ./reflex-web
128+
run: |
129+
uv pip compile pyproject.toml --no-annotate --no-header --no-deps --output-file requirements.txt
130+
grep -ivE "reflex " requirements.txt > requirements.txt.tmp && mv requirements.txt.tmp requirements.txt
126131
- name: Install Requirements for reflex-web
127132
working-directory: ./reflex-web
128-
run: uv pip install $(grep -ivE "reflex " requirements.txt)
133+
run: uv pip install -r requirements.txt
129134
- name: Init Website for reflex-web
130135
working-directory: ./reflex-web
131-
run: uv run reflex init
136+
run: uv run --active --no-sync reflex init
132137
- name: Run Website and Check for errors
133138
run: |
134139
# Check that npm is home
135140
npm -v
136-
uv run bash scripts/integration.sh ./reflex-web prod
141+
uv run --active --no-sync bash scripts/integration.sh ./reflex-web prod
137142
138143
rx-shout-from-template:
139144
strategy:
@@ -184,14 +189,19 @@ jobs:
184189
repository: reflex-dev/reflex-web
185190
ref: main
186191
path: reflex-web
192+
- name: Compile pyproject.toml into requirements.txt
193+
working-directory: ./reflex-web
194+
run: |
195+
uv pip compile pyproject.toml --no-annotate --no-header --no-deps --output-file requirements.txt
196+
grep -ivE "reflex " requirements.txt > requirements.txt.tmp && mv requirements.txt.tmp requirements.txt
187197
- name: Install Requirements for reflex-web
188198
working-directory: ./reflex-web
189199
run: uv pip install -r requirements.txt
190200
- name: Init Website for reflex-web
191201
working-directory: ./reflex-web
192-
run: uv run reflex init
202+
run: uv run --active --no-sync reflex init
193203
- name: Run Website and Check for errors
194204
run: |
195205
# Check that npm is home
196206
npm -v
197-
uv run bash scripts/integration.sh ./reflex-web prod
207+
uv run --active --no-sync bash scripts/integration.sh ./reflex-web prod

.github/workflows/integration_tests_wsl.yml

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

0 commit comments

Comments
 (0)