From 1a95aedc39ad0a49f5fb64aa0708d944bbee7373 Mon Sep 17 00:00:00 2001 From: rajat404 <404rajat@gmail.com> Date: Wed, 12 Feb 2020 22:22:34 +0530 Subject: [PATCH 1/2] Add contextvars to pyproject.toml --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 99d4b1978..9330984e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "diagrams" -version = "0.2.3" +version = "0.2.4" description = "Diagram as Code" license = "MIT" authors = ["mingrammer "] @@ -13,6 +13,7 @@ include = ["resources/**/*"] python = "^3.6" graphviz = "^0.13.2" jinja2 = "^2.10" +contextvars = "^2.4" [tool.poetry.dev-dependencies] pytest = "^3.0" From 513f077797d22ea9eb275fe860cd40a63ac02a20 Mon Sep 17 00:00:00 2001 From: rajat404 <404rajat@gmail.com> Date: Thu, 13 Feb 2020 11:22:09 +0530 Subject: [PATCH 2/2] Add contextvars for only Python 3.6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9330984e1..bfdc0f329 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ include = ["resources/**/*"] python = "^3.6" graphviz = "^0.13.2" jinja2 = "^2.10" -contextvars = "^2.4" +contextvars = { version = "^2.4", python = "~3.6" } [tool.poetry.dev-dependencies] pytest = "^3.0"