mirror of
https://github.com/fastapi/fastapi.git
synced 2026-01-23 21:42:16 -05:00
* Make compatible with pydantic v1 * Remove unused import * Remove unused ignores * Update pydantic version * Fix minor formatting issue * ⏪ Revert removing iterate_in_threadpool * ✨ Add backwards compatibility with Pydantic 0.32.2 with deprecation warnings * ✅ Update tests to not break when using Pydantic < 1.0.0 * 📝 Update docs for Pydantic version 1.0.0 * 📌 Update Pydantic range version to support from 0.32.2 * 🎨 Format test imports * ✨ Add support for Pydantic < 1.2 for populate_validators * ✨ Add backwards compatibility for Pydantic < 1.2.0 with required fields * 📌 Relax requirement for Pydantic to < 2.0.0 🎉 🚀 * 💚 Update pragma coverage for older Pydantic versions
69 lines
1.4 KiB
TOML
69 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["flit"]
|
|
build-backend = "flit.buildapi"
|
|
|
|
[tool.flit.metadata]
|
|
module = "fastapi"
|
|
author = "Sebastián Ramírez"
|
|
author-email = "tiangolo@gmail.com"
|
|
home-page = "https://github.com/tiangolo/fastapi"
|
|
classifiers = [
|
|
"License :: OSI Approved :: MIT License",
|
|
"Development Status :: 4 - Beta",
|
|
"Framework :: AsyncIO",
|
|
"Intended Audience :: Developers",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
]
|
|
requires = [
|
|
"starlette >=0.12.9,<=0.12.9",
|
|
"pydantic >=0.32.2,<2.0.0"
|
|
]
|
|
description-file = "README.md"
|
|
requires-python = ">=3.6"
|
|
|
|
[tool.flit.metadata.urls]
|
|
Documentation = "https://fastapi.tiangolo.com/"
|
|
|
|
[tool.flit.metadata.requires-extra]
|
|
test = [
|
|
"pytest >=4.0.0",
|
|
"pytest-cov",
|
|
"mypy",
|
|
"black",
|
|
"isort",
|
|
"requests",
|
|
"email_validator",
|
|
"sqlalchemy",
|
|
"databases[sqlite]",
|
|
"orjson",
|
|
"async_exit_stack",
|
|
"async_generator"
|
|
]
|
|
doc = [
|
|
"mkdocs",
|
|
"mkdocs-material",
|
|
"markdown-include"
|
|
]
|
|
dev = [
|
|
"pyjwt",
|
|
"passlib[bcrypt]"
|
|
]
|
|
all = [
|
|
"requests",
|
|
"aiofiles",
|
|
"jinja2",
|
|
"python-multipart",
|
|
"itsdangerous",
|
|
"pyyaml",
|
|
"graphene",
|
|
"ujson",
|
|
"email_validator",
|
|
"uvicorn",
|
|
"async_exit_stack",
|
|
"async_generator"
|
|
]
|