From 10c7280a5879eb4c4cc8cf71de03c910f1823ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Olai=20Heggen?= Date: Mon, 16 Oct 2023 12:07:38 +0200 Subject: [PATCH] Pin urllib3 < 2 urllib3 needs to be pinned below v2 due to incompabilites with RHEL7 --- setup.py | 12 ------------ test_requirements.txt | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/setup.py b/setup.py index 35543238..03cb9135 100644 --- a/setup.py +++ b/setup.py @@ -3,16 +3,6 @@ with open("README.md", "r") as fh: LONG_DESCRIPTION = fh.read() -TESTS_REQUIRE = [ - "mypy", - "bandit", - "black", - "dash[testing]", - "pylint", - "pytest-mock", - "selenium~=3.141", -] - setup( name="webviz-ert", description="Webviz plugins for ERT", @@ -39,8 +29,6 @@ "webviz-config-equinor", "webviz-subsurface-components", ], - tests_require=TESTS_REQUIRE, - extras_require={"tests": TESTS_REQUIRE}, setup_requires=["setuptools_scm"], use_scm_version=True, zip_safe=False, diff --git a/test_requirements.txt b/test_requirements.txt index 27416e6f..07ce94e4 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -6,6 +6,7 @@ black scipy dash[testing]>=2.5.1 selenium +urllib3<2 # RHEL7 does not support urllib >= 2.0 types-requests types-pkg_resources types-PyYAML