-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test against 3.13 * updated version to v0.0.10 * upgraded python deps * migrated to uv * removed requirements.txt and pip-audit precommit hook * added --all-extras to 'uv sync' command in ci * added uvicorn as dev dependency * pin blacksheep to 2.0.6 * added uv config to pyproject.toml * replaced msgspec with pydantic and blacksheep with quart (#43) * replaced msgspec with pydantic and blacksheep with quart * updated type from BaseException -> Exception * Revert "updated type from BaseException -> Exception" This reverts commit d97c1b6. * added arbitrary_types_allowed=True to pydantic model config * updated test server response * removed arg
- Loading branch information
Showing
10 changed files
with
1,784 additions
and
2,605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,52 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "loamy" | ||
version = "0.0.9" | ||
version = "0.0.10" | ||
description = "This project allows you to execute a list of http operations asynchronously from within a synchronous context." | ||
authors = ["Zach Fuller <[email protected]>"] | ||
readme = "README.md" | ||
license = "MIT" | ||
repository = "https://github.com/fullerzz/loamy" | ||
packages = [{include = "loamy", from = "src"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
aiohttp = ">=3.9.5" | ||
aiodns = "~3.1.1" | ||
msgspec = "~0.18.6" | ||
uvloop = { version = "0.19.0", optional = true } | ||
loguru = "^0.7.2" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
ruff = "^0.4.0" | ||
pre-commit = "3.5.0" | ||
pytest = "^7.4.4" | ||
pytest-asyncio = "^0.21.1" | ||
blacksheep = "^2.0.7" | ||
uvicorn = "^0.24.0.post1" | ||
mypy = "^1.9.0" | ||
pip-audit = "^2.7.2" | ||
httpx = "^0.27.0" | ||
|
||
[tool.poetry.extras] | ||
uvloop = ["uvloop"] | ||
requires-python = ">=3.10" | ||
dependencies = [ | ||
"aiodns>=3.2.0", | ||
"aiohttp>=3.10.10", | ||
"loguru>=0.7.2", | ||
"pydantic>=2.9.2", | ||
] | ||
|
||
[project.optional-dependencies] | ||
uvloop = [ | ||
"uvloop>=0.21.0", | ||
] | ||
|
||
[dependency-groups] | ||
dev = [ | ||
"httpx>=0.27.2", | ||
"mypy>=1.13.0", | ||
"pip-audit>=2.7.3", | ||
"pre-commit>=4.0.1", | ||
"pytest>=8.3.3", | ||
"pytest-asyncio>=0.24.0", | ||
"ruff>=0.7.3", | ||
"uvicorn>=0.32.0", | ||
"quart>=0.19.8", | ||
] | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.uv] | ||
python-preference = "system" | ||
python-downloads = "manual" | ||
|
||
[tool.uv.pip] | ||
strict = true | ||
|
||
[tool.ruff] | ||
extend-exclude = ["tests"] | ||
line-length = 88 | ||
indent-width = 4 | ||
|
||
target-version = "py310" | ||
target-version = "py311" | ||
|
||
[tool.ruff.lint] | ||
select = ["E", "F", "W", "C90", "I", "N", "UP", "ASYNC", "S", "B", "ERA", "PLE", "PLW", "PERF", "RUF"] | ||
|
@@ -53,7 +64,3 @@ quote-style = "double" | |
indent-style = "space" | ||
skip-magic-trailing-comma = false | ||
line-ending = "auto" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
Oops, something went wrong.