From bf09e42c5f3c8977274cd6b9d1861b45eaf1bc36 Mon Sep 17 00:00:00 2001 From: collerek Date: Sat, 9 Oct 2021 15:28:26 +0200 Subject: [PATCH] add types-dataclasses for python 3.6 --- pyproject.toml | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e7183fa..962577c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,32 +18,32 @@ keywords = [ "alembic", ] classifiers = [ - "Development Status :: 4 - Beta", - "Environment :: Web Environment", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Topic :: Internet :: WWW/HTTP", - "Framework :: AsyncIO", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3 :: Only", + "Development Status :: 4 - Beta", + "Environment :: Web Environment", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Topic :: Internet :: WWW/HTTP", + "Framework :: AsyncIO", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3 :: Only", ] - + [tool.poetry.dependencies] python = "^3.6.2" databases = ">=0.3.2,<0.5.3" pydantic = ">=1.6.1,!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<=1.8.2" SQLAlchemy = ">=1.3.18,<1.4.26" -asyncpg = {version = "^0.24.0", optional = true} -psycopg2-binary = {version = "^2.9.1", optional = true} -aiomysql = {version = "^0.0.21", optional = true} -aiosqlite = {version = "^0.17.0", optional = true} -cryptography = {version = "^35.0.0", optional = true} +asyncpg = { version = "^0.24.0", optional = true } +psycopg2-binary = { version = "^2.9.1", optional = true } +aiomysql = { version = "^0.0.21", optional = true } +aiosqlite = { version = "^0.17.0", optional = true } +cryptography = { version = "^35.0.0", optional = true } [tool.poetry.dependencies.orjson] version = "^3.6.4" @@ -100,13 +100,14 @@ types-aiofiles = "^0.1.9" types-pkg-resources = "^0.1.3" types-requests = "^2.25.9" types-toml = "^0.10.0" +types-dataclasses = { version = "^0.1.7", markers = "python_version < '3.7'" } # Documantation mkdocs = "^1.2.2" mkdocs-material = "^7.3.2" mkdocs-material-extensions = "^1.0.3" -pydoc-markdown = {version = "^4.3.2", markers = "python_version > '3.7'"} -dataclasses = {version = ">=0.6.0,<0.8 || >0.8,<1.0.0" } +pydoc-markdown = { version = "^4.3.2", markers = "python_version > '3.7'" } +dataclasses = { version = ">=0.6.0,<0.8 || >0.8,<1.0.0" } # Performance testing yappi = "^1.3.3" @@ -119,7 +120,7 @@ sqlite = ["sqlite"] orjson = ["orjson"] crypto = ["cryptography"] dev = [ - "asyncpg", + "asyncpg", "psycopg2-binary", "aiomysql", "sqlite",