Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump python>=3.10 for 0.6.0 #3956

Merged
merged 12 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,31 +81,19 @@ jobs:
matrix:
# Show OS combos first in GUI
os: [ubuntu-latest, windows-latest, macos-12]
python-version: ['3.8.18', '3.9.18', '3.10.13', '3.11.5', '3.12.0']
python-version: ['3.10.13', '3.11.5', '3.12.0']
exclude:
- os: windows-latest
python-version: '3.10.13'
- os: windows-latest
python-version: '3.9.18'
- os: windows-latest
python-version: '3.8.18'
# keep only one python version for MacOS
- os: macos-latest
python-version: '3.8.18'
- os: macos-latest
python-version: '3.9.18'
- os: macos-latest
python-version: '3.10.13'
- os: macos-12
python-version: '3.12.0'
include:
- os: windows-latest
python-version: '3.10.11'
- os: windows-latest
python-version: '3.9.13'
- os: windows-latest
python-version: '3.8.10'


runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_app_harness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
state_manager: ['redis', 'memory']
python-version: ['3.8.18', '3.11.5', '3.12.0']
python-version: ['3.11.5', '3.12.0']
runs-on: ubuntu-latest
services:
# Label used to access the service container
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,14 @@ jobs:
matrix:
# Show OS combos first in GUI
os: [ubuntu-latest, windows-latest, macos-12]
python-version: ['3.8.18', '3.9.18', '3.10.13', '3.11.5', '3.12.0']
python-version: ['3.10.13', '3.11.5', '3.12.0']
exclude:
- os: windows-latest
python-version: '3.10.13'
- os: windows-latest
python-version: '3.9.18'
- os: windows-latest
python-version: '3.8.18'
include:
- os: windows-latest
python-version: '3.10.11'
- os: windows-latest
python-version: '3.9.13'
- os: windows-latest
python-version: '3.8.10'


runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integration_tests_wsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ jobs:
path: reflex-examples

- uses: Vampire/setup-wsl@v3
with:
distribution: Ubuntu-24.04

- name: Install Python
shell: wsl-bash {0}
run: |
apt update
apt install -y python3 python3-pip curl dos2unix zip unzip

- name: Install Poetry
shell: wsl-bash {0}
run: |
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-12]
python-version: ['3.8.18', '3.9.18', '3.10.13', '3.11.5', '3.12.0']
python-version: ['3.10.13', '3.11.5', '3.12.0']
# Windows is a bit behind on Python version availability in Github
exclude:
- os: windows-latest
python-version: '3.10.13'
- os: windows-latest
python-version: '3.9.18'
- os: windows-latest
python-version: '3.8.18'
include:
- os: windows-latest
python-version: '3.10.11'
- os: windows-latest
python-version: '3.9.13'
- os: windows-latest
python-version: '3.8.10'
runs-on: ${{ matrix.os }}
# Service containers to run with `runner-job`
services:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Here is a quick guide on how to run Reflex repo locally so you can start contrib

**Prerequisites:**

- Python >= 3.8
- Python >= 3.10
- Poetry version >= 1.4.0 and add it to your path (see [Poetry Docs](https://python-poetry.org/docs/#installation) for more info).

**1. Fork this repository:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ See our [architecture page](https://reflex.dev/blog/2024-03-21-reflex-architectu

## ⚙️ Installation

Open a terminal and run (Requires Python 3.8+):
Open a terminal and run (Requires Python 3.10+):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/de/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Auf unserer [Architektur-Seite](https://reflex.dev/blog/2024-03-21-reflex-archit

## ⚙️ Installation

Öffne ein Terminal und führe den folgenden Befehl aus (benötigt Python 3.8+):
Öffne ein Terminal und führe den folgenden Befehl aus (benötigt Python 3.10+):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Consulta nuestra [página de arquitectura](https://reflex.dev/blog/2024-03-21-re

## ⚙️ Instalación

Abra un terminal y ejecute (Requiere Python 3.8+):
Abra un terminal y ejecute (Requiere Python 3.10+):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/in/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Reflex के अंदर के कामकाज को जानने क

## ⚙️ इंस्टॉलेशन (Installation)

एक टर्मिनल खोलें और चलाएं (Python 3.8+ की आवश्यकता है):
एक टर्मिनल खोलें और चलाएं (Python 3.10+ की आवश्यकता है):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/it/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

## ⚙️ Installazione

Apri un terminale ed esegui (Richiede Python 3.8+):
Apri un terminale ed esegui (Richiede Python 3.10+):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/kr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
---
## ⚙️ 설치

터미널을 열고 실행하세요. (Python 3.8+ 필요):
터미널을 열고 실행하세요. (Python 3.10+ 필요):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/pe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

## ⚙️ Installation - نصب و راه اندازی

یک ترمینال را باز کنید و اجرا کنید (نیازمند Python 3.8+):
یک ترمینال را باز کنید و اجرا کنید (نیازمند Python 3.10+):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/pt/pt_br/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
---
## ⚙️ Instalação

Abra um terminal e execute (Requer Python 3.8+):
Abra um terminal e execute (Requer Python 3.10+):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/tr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

## ⚙️ Kurulum

Bir terminal açın ve çalıştırın (Python 3.8+ gerekir):
Bir terminal açın ve çalıştırın (Python 3.10+ gerekir):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/zh_tw/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Reflex 是一個可以用純 Python 構建全端網頁應用程式的函式庫

## ⚙️ 安裝

開啟一個終端機並且執行 (需要 Python 3.8+):
開啟一個終端機並且執行 (需要 Python 3.10+):

```bash
pip install reflex
Expand Down
2 changes: 1 addition & 1 deletion integration/init-test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10

ARG USERNAME=kerrigan
RUN useradd -m $USERNAME
Expand Down
Loading
Loading