Skip to content

Commit 242ace5

Browse files
committed
Avoid backports dependency on py3.8 too
1 parent 35d1af8 commit 242ace5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openapi_core/unmarshalling/schemas/factories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from typing import Type
88
from typing import Union
99

10-
if sys.version_info >= (3, 9):
10+
if sys.version_info >= (3, 8):
1111
from functools import cached_property
1212
else:
1313
from backports.cached_property import cached_property

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ requests = {version = "*", optional = true}
6565
werkzeug = "*"
6666
typing-extensions = "^4.3.0"
6767
jsonschema-spec = "^0.1.1"
68-
backports-cached-property = {version = "^1.0.2", python = "<3.9" }
68+
backports-cached-property = {version = "^1.0.2", python = "<3.8" }
6969

7070
[tool.poetry.extras]
7171
django = ["django"]

0 commit comments

Comments
 (0)