From 822eb655a82e1a9006184e911a3fed920c02b1c2 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Mon, 2 Oct 2023 19:55:51 +0200 Subject: [PATCH] Pin down urllib3 to earlier version --- docs/source/development.rst | 6 ++++++ pyproject.toml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/docs/source/development.rst b/docs/source/development.rst index e31e2d99..8bc1a60b 100644 --- a/docs/source/development.rst +++ b/docs/source/development.rst @@ -92,6 +92,12 @@ Check that the tests of unmodified master branch pass: pytest +For fast parallel test execution run with ``pytest-xdist`` across all of your CPUs: + +.. code-block:: + + pytest -n auto --dist loadscope + You should get all green. Some tests will be skipped, because they require full EVM nodes. JSON-RPC needs to be configured through environment variables. diff --git a/pyproject.toml b/pyproject.toml index c2fe5541..6d156c2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,10 @@ sigfig = "^1.3.2" zope-dottedname = {version = "^6.0", optional = true} pytest-xdist = {version = "^3.3.1", optional = true} +# https://github.com/apache/arrow/pull/35412 +# Last checked 2023-07, still broken +urllib3 = "<2" + [tool.poetry.dev-dependencies] pytest = "^6.2.5" pytest-mock = "^3.7.0"