Skip to content

Commit

Permalink
Remove starlite (#3609)
Browse files Browse the repository at this point in the history
* Remove starlite

* Fix typo

* Add release notes
  • Loading branch information
patrick91 authored Aug 30, 2024
1 parent 26fa597 commit 70c958c
Show file tree
Hide file tree
Showing 24 changed files with 14 additions and 1,659 deletions.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Release type: minor

This release removes the integration of Starlite, as it
has been deprecated since 11 May 2024.

If you are using Starlite, please consider migrating to Litestar (https://litestar.dev) or another alternative.
147 changes: 0 additions & 147 deletions docs/integrations/starlite.md

This file was deleted.

4 changes: 0 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"flask",
"quart",
"sanic",
"starlite",
"litestar",
"pydantic",
]
Expand Down Expand Up @@ -117,7 +116,6 @@ def tests_starlette(session: Session, starlette: str, gql_core: str) -> None:
"flask",
"quart",
"sanic",
"starlite",
"litestar",
],
)
Expand All @@ -131,8 +129,6 @@ def tests_integrations(session: Session, integration: str, gql_core: str) -> Non
elif integration == "channels":
session._session.install("pytest-django") # type: ignore
session._session.install("daphne") # type: ignore
elif integration == "starlite":
session._session.install("pydantic<2.0") # type: ignore

session.run("pytest", *COMMON_PYTEST_OPTIONS, "-m", integration)

Expand Down
123 changes: 4 additions & 119 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ python-multipart = {version = ">=0.0.7", optional = true}
sanic = {version = ">=20.12.2", optional = true}
aiohttp = {version = "^3.7.4.post0", optional = true}
fastapi = {version = ">=0.65.2", optional = true}
starlite = {version = ">=1.48.0", optional = true, python = ">=3.8"}
litestar = {version = ">=2", optional = true, python = ">=3.8"}
channels = {version = ">=3.0.5", optional = true}
astunparse = {version = "^1.6.3", python = "<3.9"}
Expand Down Expand Up @@ -120,7 +119,6 @@ pytest-aiohttp = "^1.0.3"
pytest-django = {version = "^4.5"}
sanic = ">=20.12.2"
starlette = ">=0.13.6"
starlite = {version = ">=1.48.0", optional = false, python = ">=3.8", extras = ["testing"]}
litestar = {version = ">=2", optional = false, python = ">=3.8"}
uvicorn = ">=0.11.6"
daphne = "^4.0.0"
Expand All @@ -140,7 +138,6 @@ sanic = ["sanic"]
fastapi = ["fastapi", "python-multipart"]
chalice = ["chalice"]
cli = ["typer", "pygments", "rich", "libcst", "graphlib_backport"]
starlite = ["starlite"]
litestar = ["litestar"]
pyinstrument = ["pyinstrument"]

Expand All @@ -166,7 +163,6 @@ markers = [
"relay",
"sanic",
"starlette",
"starlite",
]
asyncio_mode = "auto"
filterwarnings = [
Expand Down
3 changes: 0 additions & 3 deletions strawberry/starlite/__init__.py

This file was deleted.

Loading

0 comments on commit 70c958c

Please sign in to comment.