Skip to content

Commit

Permalink
chore: drop python 3.8 support (sparckles#1079)
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox authored Dec 11, 2024
1 parent 3da7c3b commit 5bfc37a
Show file tree
Hide file tree
Showing 9 changed files with 124 additions and 96 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

10 changes: 5 additions & 5 deletions .github/workflows/preview-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: macos-12
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,5 @@ 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
7 changes: 3 additions & 4 deletions .github/workflows/release-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: macos-12
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: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
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 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
181 changes: 106 additions & 75 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ classifiers = [
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -54,7 +53,7 @@ authors = ["Sanskar Jethi <sansyrox@gmail.com>"]


[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
inquirerpy = "0.3.4"
maturin = "0.14.12"
watchdog = "4.0.1"
Expand Down

0 comments on commit 5bfc37a

Please sign in to comment.