From 3fbfdf561c7d2149a82d80ed33a427c5a3dac74a Mon Sep 17 00:00:00 2001 From: p1c2u Date: Thu, 15 Jun 2023 14:25:36 +0100 Subject: [PATCH] Drop python 3.7 support --- .github/workflows/python-test.yml | 3 +- .travis.yml | 1 - openapi_core/contrib/requests/protocols.py | 10 +- openapi_core/protocols.py | 10 +- openapi_core/schema/protocols.py | 10 +- .../unmarshalling/request/protocols.py | 10 +- .../unmarshalling/response/protocols.py | 10 +- openapi_core/validation/request/protocols.py | 10 +- openapi_core/validation/response/protocols.py | 10 +- openapi_core/validation/schemas/validators.py | 7 +- openapi_core/validation/validators.py | 6 +- poetry.lock | 92 +------------------ pyproject.toml | 12 +-- 13 files changed, 21 insertions(+), 170 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index da6da0c2..69bbaa0a 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] fail-fast: false steps: - uses: actions/checkout@v2 @@ -58,7 +58,6 @@ jobs: - name: Check dependencies run: poetry run deptry . - if: ${{ matrix.python-version != '3.7' }} - name: Upload coverage uses: codecov/codecov-action@v1 diff --git a/.travis.yml b/.travis.yml index b165805d..e983224d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: python sudo: false matrix: include: - - python: 3.7 - python: 3.8 - python: 3.9 - python: 3.10 diff --git a/openapi_core/contrib/requests/protocols.py b/openapi_core/contrib/requests/protocols.py index 3c4ceaef..9e4137e8 100644 --- a/openapi_core/contrib/requests/protocols.py +++ b/openapi_core/contrib/requests/protocols.py @@ -1,11 +1,5 @@ -import sys - -if sys.version_info >= (3, 8): - from typing import Protocol - from typing import runtime_checkable -else: - from typing_extensions import Protocol - from typing_extensions import runtime_checkable +from typing import Protocol +from typing import runtime_checkable from requests.cookies import RequestsCookieJar diff --git a/openapi_core/protocols.py b/openapi_core/protocols.py index 98015762..07732ce9 100644 --- a/openapi_core/protocols.py +++ b/openapi_core/protocols.py @@ -1,15 +1,9 @@ """OpenAPI core protocols module""" -import sys from typing import Any from typing import Mapping from typing import Optional - -if sys.version_info >= (3, 8): - from typing import Protocol - from typing import runtime_checkable -else: - from typing_extensions import Protocol - from typing_extensions import runtime_checkable +from typing import Protocol +from typing import runtime_checkable from openapi_core.datatypes import RequestParameters diff --git a/openapi_core/schema/protocols.py b/openapi_core/schema/protocols.py index e315c416..6880754e 100644 --- a/openapi_core/schema/protocols.py +++ b/openapi_core/schema/protocols.py @@ -1,13 +1,7 @@ -import sys from typing import Any from typing import List - -if sys.version_info >= (3, 8): - from typing import Protocol - from typing import runtime_checkable -else: - from typing_extensions import Protocol - from typing_extensions import runtime_checkable +from typing import Protocol +from typing import runtime_checkable @runtime_checkable diff --git a/openapi_core/unmarshalling/request/protocols.py b/openapi_core/unmarshalling/request/protocols.py index 2fee6437..cb346828 100644 --- a/openapi_core/unmarshalling/request/protocols.py +++ b/openapi_core/unmarshalling/request/protocols.py @@ -1,13 +1,7 @@ """OpenAPI core validation request protocols module""" -import sys from typing import Optional - -if sys.version_info >= (3, 8): - from typing import Protocol - from typing import runtime_checkable -else: - from typing_extensions import Protocol - from typing_extensions import runtime_checkable +from typing import Protocol +from typing import runtime_checkable from openapi_core.protocols import Request from openapi_core.protocols import WebhookRequest diff --git a/openapi_core/unmarshalling/response/protocols.py b/openapi_core/unmarshalling/response/protocols.py index 6c382865..1262da19 100644 --- a/openapi_core/unmarshalling/response/protocols.py +++ b/openapi_core/unmarshalling/response/protocols.py @@ -1,15 +1,9 @@ """OpenAPI core validation response protocols module""" -import sys from typing import Any from typing import Mapping from typing import Optional - -if sys.version_info >= (3, 8): - from typing import Protocol - from typing import runtime_checkable -else: - from typing_extensions import Protocol - from typing_extensions import runtime_checkable +from typing import Protocol +from typing import runtime_checkable from openapi_core.protocols import Request from openapi_core.protocols import Response diff --git a/openapi_core/validation/request/protocols.py b/openapi_core/validation/request/protocols.py index 6e2677fd..c18060db 100644 --- a/openapi_core/validation/request/protocols.py +++ b/openapi_core/validation/request/protocols.py @@ -1,14 +1,8 @@ """OpenAPI core validation request protocols module""" -import sys from typing import Iterator from typing import Optional - -if sys.version_info >= (3, 8): - from typing import Protocol - from typing import runtime_checkable -else: - from typing_extensions import Protocol - from typing_extensions import runtime_checkable +from typing import Protocol +from typing import runtime_checkable from openapi_core.protocols import Request from openapi_core.protocols import WebhookRequest diff --git a/openapi_core/validation/response/protocols.py b/openapi_core/validation/response/protocols.py index d23b7a1a..a5f646bb 100644 --- a/openapi_core/validation/response/protocols.py +++ b/openapi_core/validation/response/protocols.py @@ -1,14 +1,8 @@ """OpenAPI core validation response protocols module""" -import sys from typing import Iterator from typing import Optional - -if sys.version_info >= (3, 8): - from typing import Protocol - from typing import runtime_checkable -else: - from typing_extensions import Protocol - from typing_extensions import runtime_checkable +from typing import Protocol +from typing import runtime_checkable from openapi_core.protocols import Request from openapi_core.protocols import Response diff --git a/openapi_core/validation/schemas/validators.py b/openapi_core/validation/schemas/validators.py index 2e87dc54..b9f73940 100644 --- a/openapi_core/validation/schemas/validators.py +++ b/openapi_core/validation/schemas/validators.py @@ -1,5 +1,5 @@ import logging -import sys +from functools import cached_property from functools import partial from typing import Any from typing import Iterator @@ -8,11 +8,6 @@ from jsonschema.exceptions import FormatError from jsonschema.protocols import Validator -if sys.version_info >= (3, 8): - from functools import cached_property -else: - from backports.cached_property import cached_property - from openapi_core.spec import Spec from openapi_core.validation.schemas.datatypes import FormatValidator from openapi_core.validation.schemas.exceptions import InvalidSchemaValue diff --git a/openapi_core/validation/validators.py b/openapi_core/validation/validators.py index b307d97c..d2858de9 100644 --- a/openapi_core/validation/validators.py +++ b/openapi_core/validation/validators.py @@ -1,15 +1,11 @@ """OpenAPI core validation validators module""" -import sys +from functools import cached_property from typing import Any from typing import Mapping from typing import Optional from typing import Tuple from urllib.parse import urljoin -if sys.version_info >= (3, 8): - from functools import cached_property -else: - from backports.cached_property import cached_property from openapi_core.casting.schemas import schema_casters_factory from openapi_core.casting.schemas.factories import SchemaCastersFactory from openapi_core.deserializing.media_types import ( diff --git a/poetry.lock b/poetry.lock index fd2cef01..cc8cba74 100644 --- a/poetry.lock +++ b/poetry.lock @@ -99,12 +99,10 @@ files = [ [package.dependencies] aiosignal = ">=1.1.2" async-timeout = ">=4.0.0a3,<5.0" -asynctest = {version = "0.13.0", markers = "python_version < \"3.8\""} attrs = ">=17.3.0" charset-normalizer = ">=2.0,<4.0" frozenlist = ">=1.1.1" multidict = ">=4.5,<7.0" -typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} yarl = ">=1.0,<2.0" [package.extras] @@ -149,7 +147,6 @@ files = [ [package.dependencies] idna = ">=2.8" sniffio = ">=1.1" -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} [package.extras] doc = ["packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] @@ -195,20 +192,6 @@ files = [ {file = "async_timeout-4.0.2-py3-none-any.whl", hash = "sha256:8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c"}, ] -[package.dependencies] -typing-extensions = {version = ">=3.6.5", markers = "python_version < \"3.8\""} - -[[package]] -name = "asynctest" -version = "0.13.0" -description = "Enhance the standard unittest package with features for testing asyncio libraries" -optional = false -python-versions = ">=3.5" -files = [ - {file = "asynctest-0.13.0-py3-none-any.whl", hash = "sha256:5da6118a7e6d6b54d83a8f7197769d046922a44d2a99c21382f0a6e4fadae676"}, - {file = "asynctest-0.13.0.tar.gz", hash = "sha256:c27862842d15d83e6a34eb0b2866c323880eb3a75e4485b079ea11748fd77fac"}, -] - [[package]] name = "attrs" version = "23.1.0" @@ -220,9 +203,6 @@ files = [ {file = "attrs-23.1.0.tar.gz", hash = "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015"}, ] -[package.dependencies] -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} - [package.extras] cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] dev = ["attrs[docs,tests]", "pre-commit"] @@ -244,17 +224,6 @@ files = [ [package.dependencies] pytz = {version = ">=2015.7", markers = "python_version < \"3.9\""} -[[package]] -name = "backports-cached-property" -version = "1.0.2" -description = "cached_property() - computed once per instance, cached as attribute" -optional = false -python-versions = ">=3.6.0" -files = [ - {file = "backports.cached-property-1.0.2.tar.gz", hash = "sha256:9306f9eed6ec55fd156ace6bc1094e2c86fae5fb2bf07b6a9c00745c656e75dd"}, - {file = "backports.cached_property-1.0.2-py3-none-any.whl", hash = "sha256:baeb28e1cd619a3c9ab8941431fe34e8490861fb998c6c4590693d50171db0cc"}, -] - [[package]] name = "black" version = "23.3.0" @@ -296,7 +265,6 @@ packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\" and implementation_name == \"cpython\""} typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} [package.extras] @@ -435,7 +403,6 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "platform_system == \"Windows\""} -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} [[package]] name = "colorama" @@ -671,7 +638,6 @@ files = [ ] [package.dependencies] -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} mccabe = ">=0.6.0,<0.7.0" pycodestyle = ">=2.7.0,<2.8.0" pyflakes = ">=2.3.0,<2.4.0" @@ -792,9 +758,6 @@ files = [ {file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"}, ] -[package.dependencies] -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} - [[package]] name = "httpcore" version = "0.17.0" @@ -887,7 +850,6 @@ files = [ ] [package.dependencies] -typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} zipp = ">=0.5" [package.extras] @@ -996,11 +958,9 @@ files = [ [package.dependencies] attrs = ">=17.4.0" -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} importlib-resources = {version = ">=1.4.0", markers = "python_version < \"3.9\""} pkgutil-resolve-name = {version = ">=1.3.10", markers = "python_version < \"3.9\""} pyrsistent = ">=0.14.0,<0.17.0 || >0.17.0,<0.17.1 || >0.17.1,<0.17.2 || >0.17.2" -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} [package.extras] format = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3987", "uri-template", "webcolors (>=1.11)"] @@ -1022,7 +982,6 @@ jsonschema = ">=4.0.0,<4.18.0" pathable = ">=0.4.1,<0.5.0" PyYAML = ">=5.1" requests = ">=2.31.0,<3.0.0" -typing-extensions = {version = "<4.6.0", markers = "python_version < \"3.8\""} [[package]] name = "lazy-object-proxy" @@ -1271,7 +1230,6 @@ files = [ [package.dependencies] mypy-extensions = ">=1.0.0" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typed-ast = {version = ">=1.4.0,<2", markers = "python_version < \"3.8\""} typing-extensions = ">=3.10" [package.extras] @@ -1340,7 +1298,6 @@ jsonschema = ">=4.0.0,<4.18.0" jsonschema-spec = ">=0.1.1,<0.2.0" lazy-object-proxy = ">=1.7.1,<2.0.0" openapi-schema-validator = ">=0.4.2,<0.5.0" -typing-extensions = {version = ">=4.5.0,<5.0.0", markers = "python_version < \"3.8\""} [[package]] name = "packaging" @@ -1407,9 +1364,6 @@ files = [ {file = "platformdirs-3.5.1.tar.gz", hash = "sha256:412dae91f52a6f84830f39a8078cecd0e866cb72294a5c66808e74d5e88d251f"}, ] -[package.dependencies] -typing-extensions = {version = ">=4.5", markers = "python_version < \"3.8\""} - [package.extras] docs = ["furo (>=2023.3.27)", "proselint (>=0.13)", "sphinx (>=6.2.1)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"] test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest-cov (>=4)", "pytest-mock (>=3.10)"] @@ -1425,9 +1379,6 @@ files = [ {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, ] -[package.dependencies] -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} - [package.extras] dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] @@ -1446,7 +1397,6 @@ files = [ [package.dependencies] cfgv = ">=2.0.0" identify = ">=1.0.0" -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} nodeenv = ">=0.11.1" pyyaml = ">=5.1" virtualenv = ">=20.10.0" @@ -1589,7 +1539,6 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" @@ -1630,7 +1579,6 @@ files = [ [package.dependencies] pytest = ">=7.0.0" -typing-extensions = {version = ">=3.7.2", markers = "python_version < \"3.8\""} [package.extras] docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] @@ -1765,7 +1713,6 @@ files = [ pyyaml = "*" requests = ">=2.22.0,<3.0" types-PyYAML = "*" -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} urllib3 = ">=1.25.10" [package.extras] @@ -2039,39 +1986,6 @@ files = [ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, ] -[[package]] -name = "typed-ast" -version = "1.5.4" -description = "a fork of Python 2 and 3 ast modules with type comment support" -optional = false -python-versions = ">=3.6" -files = [ - {file = "typed_ast-1.5.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:669dd0c4167f6f2cd9f57041e03c3c2ebf9063d0757dc89f79ba1daa2bfca9d4"}, - {file = "typed_ast-1.5.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:211260621ab1cd7324e0798d6be953d00b74e0428382991adfddb352252f1d62"}, - {file = "typed_ast-1.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:267e3f78697a6c00c689c03db4876dd1efdfea2f251a5ad6555e82a26847b4ac"}, - {file = "typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:c542eeda69212fa10a7ada75e668876fdec5f856cd3d06829e6aa64ad17c8dfe"}, - {file = "typed_ast-1.5.4-cp310-cp310-win_amd64.whl", hash = "sha256:a9916d2bb8865f973824fb47436fa45e1ebf2efd920f2b9f99342cb7fab93f72"}, - {file = "typed_ast-1.5.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:79b1e0869db7c830ba6a981d58711c88b6677506e648496b1f64ac7d15633aec"}, - {file = "typed_ast-1.5.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a94d55d142c9265f4ea46fab70977a1944ecae359ae867397757d836ea5a3f47"}, - {file = "typed_ast-1.5.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:183afdf0ec5b1b211724dfef3d2cad2d767cbefac291f24d69b00546c1837fb6"}, - {file = "typed_ast-1.5.4-cp36-cp36m-win_amd64.whl", hash = "sha256:639c5f0b21776605dd6c9dbe592d5228f021404dafd377e2b7ac046b0349b1a1"}, - {file = "typed_ast-1.5.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:cf4afcfac006ece570e32d6fa90ab74a17245b83dfd6655a6f68568098345ff6"}, - {file = "typed_ast-1.5.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ed855bbe3eb3715fca349c80174cfcfd699c2f9de574d40527b8429acae23a66"}, - {file = "typed_ast-1.5.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6778e1b2f81dfc7bc58e4b259363b83d2e509a65198e85d5700dfae4c6c8ff1c"}, - {file = "typed_ast-1.5.4-cp37-cp37m-win_amd64.whl", hash = "sha256:0261195c2062caf107831e92a76764c81227dae162c4f75192c0d489faf751a2"}, - {file = "typed_ast-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2efae9db7a8c05ad5547d522e7dbe62c83d838d3906a3716d1478b6c1d61388d"}, - {file = "typed_ast-1.5.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7d5d014b7daa8b0bf2eaef684295acae12b036d79f54178b92a2b6a56f92278f"}, - {file = "typed_ast-1.5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:370788a63915e82fd6f212865a596a0fefcbb7d408bbbb13dea723d971ed8bdc"}, - {file = "typed_ast-1.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6"}, - {file = "typed_ast-1.5.4-cp38-cp38-win_amd64.whl", hash = "sha256:683407d92dc953c8a7347119596f0b0e6c55eb98ebebd9b23437501b28dcbb8e"}, - {file = "typed_ast-1.5.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:4879da6c9b73443f97e731b617184a596ac1235fe91f98d279a7af36c796da35"}, - {file = "typed_ast-1.5.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3e123d878ba170397916557d31c8f589951e353cc95fb7f24f6bb69adc1a8a97"}, - {file = "typed_ast-1.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ebd9d7f80ccf7a82ac5f88c521115cc55d84e35bf8b446fcd7836eb6b98929a3"}, - {file = "typed_ast-1.5.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98f80dee3c03455e92796b58b98ff6ca0b2a6f652120c263efdba4d6c5e58f72"}, - {file = "typed_ast-1.5.4-cp39-cp39-win_amd64.whl", hash = "sha256:0fdbcf2fef0ca421a3f5912555804296f0b0960f0418c440f5d6d3abb549f3e1"}, - {file = "typed_ast-1.5.4.tar.gz", hash = "sha256:39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2"}, -] - [[package]] name = "types-pyyaml" version = "6.0.12.9" @@ -2125,7 +2039,6 @@ files = [ [package.dependencies] distlib = ">=0.3.6,<1" filelock = ">=3.11,<4" -importlib-metadata = {version = ">=6.4.1", markers = "python_version < \"3.8\""} platformdirs = ">=3.2,<4" [package.extras] @@ -2250,7 +2163,6 @@ files = [ [package.dependencies] idna = ">=2.0" multidict = ">=4.0" -typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} [[package]] name = "zipp" @@ -2277,5 +2189,5 @@ starlette = ["starlette"] [metadata] lock-version = "2.0" -python-versions = "^3.7.0" -content-hash = "b1934ef1682abca9066ba65ac2440a6eab0733e1dc8b6600ccf1a350321435d2" +python-versions = "^3.8.0" +content-hash = "19dd3101f3e3cbaea438b5df66a1d27374be11d1d49d99edfa10210fbc8e55bb" diff --git a/pyproject.toml b/pyproject.toml index 3456851e..166a560a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,6 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -59,7 +58,7 @@ include = [ ] [tool.poetry.dependencies] -python = "^3.7.0" +python = "^3.8.0" django = {version = ">=3.0", optional = true} falcon = {version = ">=3.0", optional = true} flask = {version = "*", optional = true} @@ -72,9 +71,7 @@ openapi-schema-validator = "^0.4.2" openapi-spec-validator = "^0.5.0" requests = {version = "*", optional = true} werkzeug = "*" -typing-extensions = {version = "^4.5.0", python = "<3.8" } jsonschema-spec = "^0.1.6" -backports-cached-property = {version = "^1.0.2", python = "<3.8" } asgiref = "^3.6.0" jsonschema = "^4.17.3" multidict = {version = "^6.0.4", optional = true} @@ -104,7 +101,7 @@ strict-rfc3339 = "^0.7" webob = "*" mypy = "^1.2" httpx = "^0.24.0" -deptry = { version = "^0.11.0", python = ">=3.8" } +deptry = "^0.11.0" aiohttp = "^3.8.4" pytest-aiohttp = "^1.0.4" @@ -131,8 +128,3 @@ line-length = 79 profile = "black" line_length = 79 force_single_line = true - -[tool.deptry.package_module_name_map] -backports-cached-property = [ - "backports" -]