Skip to content

Commit

Permalink
[chore] drop sanic support
Browse files Browse the repository at this point in the history
  • Loading branch information
Gr1N committed Dec 12, 2021
1 parent 1e8cd96 commit 7b77d3f
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 381 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ install-poetry:

.PHONY: install-deps
install-deps:
@$(POETRY) install -vv --extras "aiohttp sanic starlette"
@$(POETRY) install -vv --extras "aiohttp starlette"

.PHONY: install
install: install-poetry install-deps
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def main():
asyncio.run(main())
```

Please follow [documentation](https://gr1n.github.io/aiodogstatsd) or look at [`examples/`](https://github.com/Gr1N/aiodogstatsd/tree/master/examples) directory to find more examples of library usage, e.g. integration with [`AIOHTTP`](https://aiohttp.readthedocs.io/), [`Sanic`](https://sanicframework.org/) or [`Starlette`](https://www.starlette.io) frameworks.
Please follow [documentation](https://gr1n.github.io/aiodogstatsd) or look at [`examples/`](https://github.com/Gr1N/aiodogstatsd/tree/master/examples) directory to find more examples of library usage, e.g. integration with [`AIOHTTP`](https://aiohttp.readthedocs.io/) or [`Starlette`](https://www.starlette.io) frameworks.

## Contributing

Expand Down
110 changes: 0 additions & 110 deletions aiodogstatsd/contrib/sanic.py

This file was deleted.

46 changes: 0 additions & 46 deletions docs/frameworks/sanic.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Just type:
pip install aiodogstatsd
```

...or if you're interested in integration with [`AIOHTTP`](https://aiohttp.readthedocs.io/), [`Sanic`](https://sanicframework.org/) or [`Starlette`](https://www.starlette.io) frameworks specify corresponding extras:
...or if you're interested in integration with [`AIOHTTP`](https://aiohttp.readthedocs.io/) or [`Starlette`](https://www.starlette.io) frameworks specify corresponding extras:

```sh
pip install aiodogstatsd[aiohttp,sanic,starlette]
pip install aiodogstatsd[aiohttp,starlette]
```

## At a glance
Expand Down
53 changes: 0 additions & 53 deletions examples/app_sanic.py

This file was deleted.

1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ nav:
- Usage: usage.md
- Frameworks:
- AIOHTTP: frameworks/aiohttp.md
- Sanic: frameworks/sanic.md
- Starlette: frameworks/starlette.md
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ classifiers = [
python = ">=3.7,<4.0"

aiohttp = { version = ">=3.0", optional = true }
sanic = { version = ">=20.3", optional = true }
starlette = { version = ">=0.13", optional = true }

[tool.poetry.dev-dependencies]
Expand All @@ -92,9 +91,8 @@ yarl = ">=1.7"

[tool.poetry.extras]
aiohttp = ["aiohttp"]
sanic = ["sanic"]
starlette = ["starlette"]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
filterwarnings =
# aiofiles
ignore:"@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
# aiohttp, sanic
# aiohttp
ignore:The loop argument is deprecated since Python 3.8
# pytest-asyncio
ignore:direct construction of Function has been deprecated
Loading

0 comments on commit 7b77d3f

Please sign in to comment.