From 8d64b18fd91f754c62e4a57ba1a05ad59dffa41d Mon Sep 17 00:00:00 2001 From: mo8it Date: Thu, 2 Nov 2023 20:48:19 +0100 Subject: [PATCH] Explicitely add setuptools to fix "No module named 'pkg_resources'" --- poetry.lock | 18 +++++++++++++++++- pyproject.toml | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 6628ff9..eb59ef9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -946,6 +946,22 @@ files = [ [package.dependencies] six = ">=1.5" +[[package]] +name = "setuptools" +version = "68.2.2" +description = "Easily download, build, install, upgrade, and uninstall Python packages" +optional = false +python-versions = ">=3.8" +files = [ + {file = "setuptools-68.2.2-py3-none-any.whl", hash = "sha256:b454a35605876da60632df1a60f736524eb73cc47bbc9f3f1ef1b644de74fd2a"}, + {file = "setuptools-68.2.2.tar.gz", hash = "sha256:4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87"}, +] + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.1)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] + [[package]] name = "six" version = "1.16.0" @@ -1088,4 +1104,4 @@ email = ["email-validator"] [metadata] lock-version = "2.0" python-versions = ">3.11,<3.12" -content-hash = "68831ffe03c6c50aa0df971ecff4fc9b9cd6da30483808e5f00fa6486fa9b3f2" +content-hash = "0d6bf70fc56123ef474f14fc264d34a4ea433d6cc0e5b3b495d8a04a56de01ad" diff --git a/pyproject.toml b/pyproject.toml index f2f440a..a60b27a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ gunicorn = "^21.2" markupsafe = "^2.1" matplotlib = "^3.8" numpy = "^1.26" +setuptools = "^68.2" [build-system] requires = ["poetry-core>=1.0.0"]