From 3c2f52c301dd10b10f4997d4ac50074e9cac7f54 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Mon, 15 Feb 2021 08:13:54 -0500 Subject: [PATCH] install typing for python 2.7 --- poetry.lock | 8 +------- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2db4219..3ad7437 100644 --- a/poetry.lock +++ b/poetry.lock @@ -201,9 +201,6 @@ category = "dev" optional = false python-versions = "*" -[package.dependencies] -typing = {version = ">=3.5.3", markers = "python_version < \"3.5\""} - [[package]] name = "packaging" version = "20.9" @@ -349,9 +346,6 @@ category = "dev" optional = false python-versions = "*" -[package.dependencies] -typing = {version = ">=3.7.4", markers = "python_version < \"3.5\""} - [[package]] name = "wcwidth" version = "0.2.5" @@ -381,7 +375,7 @@ testing = ["pathlib2", "unittest2", "jaraco.itertools", "func-timeout"] [metadata] lock-version = "1.1" python-versions = "~2.7 || ~=3.5" -content-hash = "2f4ea44e6a53ed63ef7ebef24ef1a6980fbd6d5e1413fbdcdffde3695cd7f8d1" +content-hash = "fe83468734284b10f0b424dab2cf20729e7feab41eac731cc1b7e86b4accc4f1" [metadata.files] appdirs = [ diff --git a/pyproject.toml b/pyproject.toml index ce3d7d9..eca6311 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,8 @@ Cython = "^0.29.21" black = {version = "^20.8b1", python = "~=3.6"} pytest = {version = "~=4.6"} mock = "~=3.0" -mypy = {version = "^0.800", python = "~=3.5"} +mypy = {version = "~=0.800", python = "~=3.5"} +typing = {version = "~=3.7.4", python = "~=2.7"} [build-system] requires = ["poetry-core>=1.0.0", "Cython", "setuptools"]