Skip to content

Commit

Permalink
Merge pull request #5 from inngest/py-3.12
Browse files Browse the repository at this point in the history
Add Python 3.12 to CI
  • Loading branch information
amh4r authored Nov 1, 2023
2 parents 0e7d161 + ce31ec9 commit 9fbae79
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: "actions/checkout@v2"
- name: "Set up Python ${{ matrix.python-version }}"
Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: "actions/checkout@v2"
- name: "Set up Python ${{ matrix.python-version }}"
Expand All @@ -51,7 +51,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: "actions/checkout@v2"
- name: "Set up Python ${{ matrix.python-version }}"
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: "actions/checkout@v2"
- name: "Set up Python ${{ matrix.python-version }}"
Expand All @@ -113,7 +113,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: "actions/checkout@v2"
- name: "Set up Python ${{ matrix.python-version }}"
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 @@ make install
## Start example servers

```sh
# Fast API
# FastAPI
(cd examples/fast_api && make dev)

# Flask
Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,28 @@ Our Python SDK is nearing feature parity with our [TypeScript SDK](https://githu

We currently support the following frameworks (but adding a new framework is easy!):

- Fast API
- FastAPI
- Flask
- Tornado

## Installation
## Getting started

```
Install `inngest` in your project:

```sh
pip install inngest
```

Write a basic function and serve it (see the [basic](#basic-no-steps) example for guidance).

Start the Dev Server (the local version of our cloud platform):

```sh
npx inngest-cli@latest dev
```

Browse to http://127.0.0.1:8288 and you should see your app! Visit our docs to read more about the https://www.inngest.com/docs/local-development.

## Examples

> 💡 You can mix `async` and non-`async` functions in the same app!
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ version = "0.1.2"
description = "Python SDK for Inngest"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Framework :: FastAPI",
"Framework :: Flask",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.10"

Expand Down

0 comments on commit 9fbae79

Please sign in to comment.