11[tool .poetry ]
22name = " fastapi-cache2"
3- version = " 0.2.1 "
3+ version = " 0.2.2 "
44description = " Cache for FastAPI"
55authors = [
" long2ice <[email protected] >" ]
66license = " Apache-2.0"
@@ -15,22 +15,22 @@ packages = [
1515include = [" LICENSE" , " README.md" ]
1616
1717[tool .poetry .dependencies ]
18- python = " ^3.7 "
18+ python = " ^3.8 "
1919fastapi = " *"
2020uvicorn = " *"
2121redis = { version = " ^4.2.0rc1" , optional = true }
22- aiomcache = { version = " *" , optional = true }
23- pendulum = " *"
24- aiobotocore = { version = " >=1.4.1,<3.0.0" , optional = true }
2522typing-extensions = { version = " >=4.1.0" }
26- importlib-metadata = {version = " ^6.6.0" , python = " <3.8" }
23+ importlib-metadata = { version = " ^6.6.0" , python = " <3.8" }
24+ pendulum = " ^3.0.0"
25+ aiomcache = { version = " ^0.8.2" , optional = true }
26+ aiobotocore = {version = " ^2.13.1" , optional = true }
2727
2828[tool .poetry .group .linting ]
2929optional = true
3030
3131[tool .poetry .group .linting .dependencies ]
3232mypy = { version = " ^1.2.0" , python = " ^3.10" }
33- pyright = { version = " ^1.1.306 " , python = " ^3.10" }
33+ pyright = { version = " ^1.1.373 " , python = " ^3.10" }
3434types-aiobotocore = { extras = [" dynamodb" ], version = " ^2.5.0.post2" , python = " ^3.10" }
3535types-redis = { version = " ^4.5.4.2" , python = " ^3.10" }
3636ruff = { version = " >=0.0.267,<0.1.2" , python = " ^3.10" }
@@ -57,7 +57,7 @@ all = ["redis", "aiomcache", "aiobotocore"]
5757
5858[tool .mypy ]
5959files = [" ." ]
60- python_version = " 3.7 "
60+ python_version = " 3.8 "
6161# equivalent of --strict
6262warn_unused_configs = true
6363disallow_any_generics = true
@@ -72,7 +72,7 @@ warn_unused_ignores = true
7272warn_return_any = true
7373no_implicit_reexport = true
7474strict_equality = true
75- strict_concatenate = true
75+ extra_checks = true
7676
7777[[tool .mypy .overrides ]]
7878module = " examples.*.main"
@@ -90,7 +90,7 @@ issue_format = "[#{issue}](https://github.com/long2ice/fastapi-cache/issues/{iss
9090
9191[tool .pyright ]
9292strict = [" fastapi_cache" , " tests" ]
93- pythonVersion = " 3.7 "
93+ pythonVersion = " 3.8 "
9494
9595[tool .pytest .ini_options ]
9696addopts = " -p no:warnings"
@@ -99,16 +99,16 @@ addopts = "-p no:warnings"
9999ignore = [" E501" ]
100100line-length = 80
101101select = [
102- " B" , # flake8-bugbear
102+ " B" , # flake8-bugbear
103103 " C4" , # flake8-comprehensions
104- " E" , # pycodestyle errors
105- " F" , # pyflakes
106- " I" , # isort
107- " S" , # flake8-bandit
108- " W" , # pycodestyle warnings
104+ " E" , # pycodestyle errors
105+ " F" , # pyflakes
106+ " I" , # isort
107+ " S" , # flake8-bandit
108+ " W" , # pycodestyle warnings
109109 " UP" , # pyupgrade
110110]
111- target-version = " py37 "
111+ target-version = " py38 "
112112
113113[build-system ]
114114requires = [" poetry-core" ]
0 commit comments