From 4ee124c3c36a97711c4fac1e6da5b91fe4e18cee Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Sat, 18 Nov 2023 13:19:21 -0700 Subject: [PATCH] fix install --- pyproject.toml | 2 ++ src/py/reactpy/pyproject.toml | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 468fe26b9..fd0b28f3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,8 @@ dependencies = [ "semver >=2, <3", "twine", "pre-commit", + # required by some packages during install + "setuptools", ] [tool.hatch.envs.default.scripts] diff --git a/src/py/reactpy/pyproject.toml b/src/py/reactpy/pyproject.toml index 87fa7e036..47d0c0980 100644 --- a/src/py/reactpy/pyproject.toml +++ b/src/py/reactpy/pyproject.toml @@ -34,6 +34,8 @@ dependencies = [ "colorlog >=6", "asgiref >=3", "lxml >=4", + # required by some packages during install + "setuptools", ] [project.optional-dependencies] all = ["reactpy[starlette,sanic,fastapi,flask,tornado,testing]"] @@ -92,8 +94,8 @@ dependencies = [ "jsonpointer", ] [tool.hatch.envs.default.scripts] -test = "playwright install && pytest {args:tests}" -test-cov = "playwright install && coverage run -m pytest {args:tests}" +test = "playwright install chromium && pytest {args:tests}" +test-cov = "playwright install chromium && coverage run -m pytest {args:tests}" cov-report = [ # "- coverage combine", "coverage report",