From ef592935157d3a15d6fe9187baef1adffeb43e01 Mon Sep 17 00:00:00 2001 From: Jonas Witschel Date: Mon, 30 Mar 2020 22:45:20 +0200 Subject: [PATCH] pyproject.toml: fix invalid Python version restriction Using environment markers in the version is not allowed (https://github.com/python-poetry/poetry/issues/21). --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8bcf77b..33fcf3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ matrix-nio = { version = "^0.9.0", extras = [ "e2e" ] } python-magic = "^0.4.15" aiohttp = "^3.6.2" requests = "^2.23.0" -typing = "^3.7.4; python_version < 3.5" +typing = { version = "^3.7.4", python = "<3.5" } [build-system] requires = ["poetry>=0.12"]