Rework dependencies for RTD

This commit is contained in:
Alex Root Junior 2021-01-12 23:37:06 +02:00
parent 9b2e39ead3
commit df69322839
3 changed files with 279 additions and 281 deletions

View file

@ -7,7 +7,5 @@ formats: all
python:
version: 3.8
install:
- method: pip
path: .
- requirements: docs2/requirements.txt
extra_requirements:
- docs

489
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -9,26 +9,26 @@ homepage = "https://aiogram.dev/"
documentation = "https://docs.aiogram.dev/"
repository = "https://github.com/aiogram/aiogram/"
keywords = [
"telegram",
"bot",
"api",
"framework",
"wrapper",
"asyncio",
"telegram",
"bot",
"api",
"framework",
"wrapper",
"asyncio",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Framework :: AsyncIO",
"Typing :: Typed",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Framework :: AsyncIO",
"Typing :: Typed",
]
[tool.poetry.dependencies]
@ -37,14 +37,21 @@ aiohttp = "^3.6"
pydantic = "^1.5"
Babel = "^2.7"
aiofiles = "^0.6.0"
uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true}
uvloop = { version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true }
async_lru = "^1.0"
aiohttp-socks = {version = "^0.5.5", optional = true}
typing-extensions = {version = "^3.7.4", python = "<3.8"}
aiohttp-socks = { version = "^0.5.5", optional = true }
typing-extensions = { version = "^3.7.4", python = "<3.8" }
magic-filter = "^0.1.2"
sphinx = { version = "^3.1.0", optional = true }
sphinx-intl = { version = "^2.0.1", optional = true }
sphinx-autobuild = { version = "^2020.9.1", optional = true }
sphinx-copybutton = { version = "^0.3.1", optional = true }
furo = { version = "^2020.11.15-beta.17", optional = true }
sphinx-prompt = { version = "^1.3.0", optional = true }
Sphinx-Substitution-Extensions = { version = "^2020.9.30", optional = true }
[tool.poetry.dev-dependencies]
uvloop = {version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'"}
uvloop = { version = "^0.14.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'" }
pytest = "^6.1"
pytest-html = "^3.1"
pytest-asyncio = "^0.14.0"
@ -52,7 +59,7 @@ pytest-mypy = "^0.8"
pytest-mock = "^3.3"
pytest-cov = "^2.8"
aresponses = "^2.0"
asynctest = {version = "^0.13.0", python = "<3.8"}
asynctest = { version = "^0.13.0", python = "<3.8" }
isort = "^5.6"
flake8 = "^3.7"
flake8-html = "^0.4.0"
@ -74,13 +81,23 @@ sphinx-intl = "^2.0.1"
sphinx-autobuild = "^2020.9.1"
sphinx-copybutton = "^0.3.1"
furo = "^2020.11.15-beta.17"
black = "^20.8b1"
sphinx-prompt = "^1.3.0"
Sphinx-Substitution-Extensions = "^2020.9.30"
black = "^20.8b1"
[tool.poetry.extras]
fast = ["uvloop"]
proxy = ["aiohttp-socks"]
docs = [
"sphinx",
"sphinx-intl",
"sphinx-autobuild",
"sphinx-copybutton",
"furo",
"black",
"sphinx-prompt",
"Sphinx-Substitution-Extensions",
]
[tool.black]
line-length = 99