From 0de207804367888f96bcbee0f0a6c8df68837b58 Mon Sep 17 00:00:00 2001 From: p1c2u Date: Fri, 2 Sep 2022 14:28:58 +0100 Subject: [PATCH] pin openapi dependencies --- requirements.txt | 5 +++-- requirements_2.7.txt | 4 ++-- requirements_dev.txt | 3 ++- setup.cfg | 8 +++++--- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/requirements.txt b/requirements.txt index b2d723d3..322baa96 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ isodate==0.6.0 dictpath==0.1.3 -openapi-spec-validator -openapi-schema-validator +openapi-spec-validator==0.3.3 +openapi-schema-validator==0.1.6 +PyYAML==5.3.1 six lazy-object-proxy attrs diff --git a/requirements_2.7.txt b/requirements_2.7.txt index f4eb34c3..b10069c5 100644 --- a/requirements_2.7.txt +++ b/requirements_2.7.txt @@ -1,6 +1,6 @@ isodate==0.6.0 -openapi-spec-validator -openapi-schema-validator +openapi-spec-validator==0.3.3 +openapi-schema-validator==0.1.6 six lazy-object-proxy backports.functools-lru-cache diff --git a/requirements_dev.txt b/requirements_dev.txt index e5d462ef..dfb7598a 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,7 +1,8 @@ mock==2.0.0 pytest==3.5.0 -pytest-flake8 +pytest-flake8==1.0.7 pytest-cov==2.5.1 +flake8==3.9.2 falcon==2.0.0; python_version<"3.0" falcon==3.0.0; python_version>="3.0" flask diff --git a/setup.cfg b/setup.cfg index 4936a19d..11310fde 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,8 +28,9 @@ setup_requires = install_requires = isodate dictpath - openapi-spec-validator - openapi-schema-validator + openapi-spec-validator < 0.4.0 + openapi-schema-validator < 0.2.0 + PyYAML < 6.0; python_version>="3.6" six lazy-object-proxy attrs @@ -41,8 +42,9 @@ install_requires = tests_require = mock; python_version<"3.0" pytest - pytest-flake8 + pytest-flake8 < 1.1.0 pytest-cov + flake8 < 4.0.0 falcon flask responses