Skip to content

Commit

Permalink
Merge branch 'sparckles:main' into lazy-openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
dave42w authored Dec 19, 2024
2 parents 2d261e0 + 7495342 commit f9bf080
Show file tree
Hide file tree
Showing 11 changed files with 130 additions and 101 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ body:
attributes:
label: Your Python version (`python --version`)
options:
- 3.8
- 3.9
- 3.10
- 3.11
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v3

- uses: actions/setup-python@v5
with:
python-version: "3.8"

python-version: "3.9"

- name: Install dependencies with uv
run: |
Expand All @@ -43,4 +42,5 @@ jobs:
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest integration_tests --codspeed
run: pytest integration_tests --codspeed

11 changes: 5 additions & 6 deletions .github/workflows/preview-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ env:

jobs:
macos:
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
target: [x64, x86]
steps:
- uses: actions/checkout@v4
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
target: [x86_64, i686]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -107,7 +107,6 @@ jobs:
matrix:
python:
[
{ version: "3.8", abi: "cp38-cp38" },
{ version: "3.9", abi: "cp39-cp39" },
{ version: "3.10", abi: "cp310-cp310" },
{ version: "3.11", abi: "cp311-cp311" },
Expand Down Expand Up @@ -149,4 +148,4 @@ jobs:
source venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install --force-reinstall dist/robyn*.whl
cd ~ && python -c 'import robyn'
cd ~ && python -c 'import robyn'
2 changes: 1 addition & 1 deletion .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
os: ["windows", "ubuntu", "macos"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
name: ${{ matrix.os }} tests with python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
steps:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ env:
UV_SYSTEM_PYTHON: 1
jobs:
macos:
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Install uv
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
target: [x64, x86]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
target: [x86_64, i686]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -110,7 +110,6 @@ jobs:
matrix:
python:
[
{ version: "3.8", abi: "cp38-cp38" },
{ version: "3.9", abi: "cp39-cp39" },
{ version: "3.10", abi: "cp310-cp310" },
{ version: "3.11", abi: "cp311-cp311" },
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rust-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy -- -D warnings
- run: cargo clippy
# -- -D warnings

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Downloads](https://static.pepy.tech/personalized-badge/Robyn?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/Robyn)
[![GitHub tag](https://img.shields.io/github/tag/sparckles/Robyn?include_prereleases=&sort=semver&color=black)](https://github.com/sparckles/Robyn/releases/)
[![License](https://img.shields.io/badge/License-BSD_2.0-black)](https://github.com/sparckles/Robyn/blob/main/LICENSE)
![Python](https://img.shields.io/badge/Support-Version%20%E2%89%A5%203.8-brightgreen)
![Python](https://img.shields.io/badge/Support-Version%20%E2%89%A5%203.9-brightgreen)

[![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://robyn.tech/documentation)
[![Discord](https://img.shields.io/discord/999782964143603713?label=discord&logo=discord&logoColor=white&style=for-the-badge&color=blue)](https://discord.gg/rkERZ5eNU8)
Expand Down Expand Up @@ -102,7 +102,7 @@ You can add more routes to your API. Check out the routes in [this file](https:/

Robyn is compatible with the following Python versions:

> Python >= 3.8
> Python >= 3.9
It is recommended to use the latest version of Python for the best performances.

Expand Down Expand Up @@ -149,7 +149,7 @@ If you still need help to get started, feel free to reach out on our [community
#### Prerequisites

Before starting, ensure you have the following installed:
- Python >= 3.8, < 3.12 , Support for Python 3.13 is coming soon!
- Python >= 3.9, <= 3.12 , Support for Python 3.13 is coming soon!
- Rust (latest stable)
- C compiler (gcc/clang)

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/base_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def message(ws: WebSocketConnector, msg: str, global_dependencies) -> str:
elif state == 3:
ws.close()
# TODO temporary fix to avoid CI failure
resp = "Connection Closed"
resp = "Connection closed"

websocket_state[websocket_id] = (state + 1) % 4
return resp
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import nox


@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
@nox.session(python=["3.9", "3.10", "3.11", "3.12"])
def tests(session):
session.run("pip", "install", "poetry==1.3.0")
session.run(
Expand Down
Loading

0 comments on commit f9bf080

Please sign in to comment.