From a4f5a74d5b29e2bc1da628f6b7aa8c63a14f05cc Mon Sep 17 00:00:00 2001 From: Tushar Date: Mon, 10 Apr 2023 08:01:53 +0530 Subject: [PATCH] fix(python-nextgen): dependency incompatiblity (#15167) Downgrade tox and flake8. Alternateively, we can increase minimum python version to 3.8.1 --- .../src/main/resources/python-nextgen/pyproject.mustache | 4 ++-- samples/client/echo_api/python-nextgen/pyproject.toml | 4 ++-- .../client/petstore/python-nextgen-aiohttp/pyproject.toml | 4 ++-- .../openapi3/client/petstore/python-nextgen/pyproject.toml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache index 2371b4975b6..ce0db200000 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/pyproject.mustache @@ -28,8 +28,8 @@ aenum = ">=3.1.11" [tool.poetry.dev-dependencies] pytest = ">=7.2.1" -tox = ">=4.4.6" -flake8 = ">=6.0.0" +tox = ">=3.9.0" +flake8 = ">=4.0.0" [build-system] requires = ["setuptools"] diff --git a/samples/client/echo_api/python-nextgen/pyproject.toml b/samples/client/echo_api/python-nextgen/pyproject.toml index d0b1274a98a..954dc0de05a 100644 --- a/samples/client/echo_api/python-nextgen/pyproject.toml +++ b/samples/client/echo_api/python-nextgen/pyproject.toml @@ -18,8 +18,8 @@ aenum = ">=3.1.11" [tool.poetry.dev-dependencies] pytest = ">=7.2.1" -tox = ">=4.4.6" -flake8 = ">=6.0.0" +tox = ">=3.9.0" +flake8 = ">=4.0.0" [build-system] requires = ["setuptools"] diff --git a/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml b/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml index 447122c7486..981eebf3c59 100644 --- a/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml +++ b/samples/openapi3/client/petstore/python-nextgen-aiohttp/pyproject.toml @@ -21,8 +21,8 @@ aenum = ">=3.1.11" [tool.poetry.dev-dependencies] pytest = ">=7.2.1" -tox = ">=4.4.6" -flake8 = ">=6.0.0" +tox = ">=3.9.0" +flake8 = ">=4.0.0" [build-system] requires = ["setuptools"] diff --git a/samples/openapi3/client/petstore/python-nextgen/pyproject.toml b/samples/openapi3/client/petstore/python-nextgen/pyproject.toml index 3ba7360599a..82e111dd60f 100644 --- a/samples/openapi3/client/petstore/python-nextgen/pyproject.toml +++ b/samples/openapi3/client/petstore/python-nextgen/pyproject.toml @@ -20,8 +20,8 @@ aenum = ">=3.1.11" [tool.poetry.dev-dependencies] pytest = ">=7.2.1" -tox = ">=4.4.6" -flake8 = ">=6.0.0" +tox = ">=3.9.0" +flake8 = ">=4.0.0" [build-system] requires = ["setuptools"]