From 5468469ad824d24ccd56c1be30d24f421e58ea61 Mon Sep 17 00:00:00 2001 From: Jordan Cook Date: Tue, 2 Jul 2024 16:53:28 -0500 Subject: [PATCH] Workaround for issue with execnet on python 3.7 --- poetry.lock | 16 +++++++++++++++- pyproject.toml | 5 +++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 9830763..4f4f35e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -339,6 +339,20 @@ files = [ [package.extras] test = ["pytest (>=6)"] +[[package]] +name = "execnet" +version = "2.0.2" +description = "execnet: rapid multi-Python deployment" +optional = false +python-versions = ">=3.7" +files = [ + {file = "execnet-2.0.2-py3-none-any.whl", hash = "sha256:88256416ae766bc9e8895c76a87928c0012183da3cc4fc18016e6f050e025f41"}, + {file = "execnet-2.0.2.tar.gz", hash = "sha256:cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af"}, +] + +[package.extras] +testing = ["hatch", "pre-commit", "pytest", "tox"] + [[package]] name = "execnet" version = "2.1.1" @@ -1204,4 +1218,4 @@ docs = ["furo", "myst-parser", "sphinx", "sphinx-autodoc-typehints", "sphinx-cop [metadata] lock-version = "2.0" python-versions = "^3.7" -content-hash = "2e186267aed610829a83143f8d98c6adbea6c179377109b04472e8d7a0b84f40" +content-hash = "373e4b9bc6265eeee42aa2eb00bdea7327b994d8e41aca8d946353f506692846" diff --git a/pyproject.toml b/pyproject.toml index 1a5ba0d..84687c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,6 +43,11 @@ pytest-cov = ">=4.0" pytest-xdist = ">=3.1" requests-mock = ">=1.11" requests-cache = ">=1.1" +# Workaround for execnet 2.1 not working on python 3.7 and missing package metadata +execnet = [ + {python = "3.7", version = ">=2.0,<2.1"}, + {python = ">=3.8", version = ">=2.0"} +] [build-system] requires = ["poetry-core>=1.0.0"]