Spaces:
Sleeping
Sleeping
Charles Azam
commited on
Commit
·
4c56bfb
1
Parent(s):
8c63cf8
feat: try installing playwright in pipeline
Browse files- .github/workflows/pipeline.yml +0 -2
- pyproject.toml +1 -0
- uv.lock +51 -0
.github/workflows/pipeline.yml
CHANGED
@@ -19,8 +19,6 @@ jobs:
|
|
19 |
with:
|
20 |
node-version: lts/*
|
21 |
|
22 |
-
- name: Install dependencies
|
23 |
-
run: npm ci
|
24 |
|
25 |
- name: Install Playwright Browsers
|
26 |
run: npx playwright install --with-deps
|
|
|
19 |
with:
|
20 |
node-version: lts/*
|
21 |
|
|
|
|
|
22 |
|
23 |
- name: Install Playwright Browsers
|
24 |
run: npx playwright install --with-deps
|
pyproject.toml
CHANGED
@@ -16,6 +16,7 @@ dependencies = [
|
|
16 |
"linkup-sdk>=0.2.8",
|
17 |
"tavily-python>=0.7.9",
|
18 |
"pypdf>=5.7.0",
|
|
|
19 |
]
|
20 |
|
21 |
[project.scripts]
|
|
|
16 |
"linkup-sdk>=0.2.8",
|
17 |
"tavily-python>=0.7.9",
|
18 |
"pypdf>=5.7.0",
|
19 |
+
"pytest-playwright>=0.7.0",
|
20 |
]
|
21 |
|
22 |
[project.scripts]
|
uv.lock
CHANGED
@@ -349,6 +349,7 @@ dependencies = [
|
|
349 |
{ name = "mistralai" },
|
350 |
{ name = "pypdf" },
|
351 |
{ name = "pytest-asyncio" },
|
|
|
352 |
{ name = "smolagents" },
|
353 |
{ name = "tavily-python" },
|
354 |
]
|
@@ -370,6 +371,7 @@ requires-dist = [
|
|
370 |
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=3.6.0" },
|
371 |
{ name = "pypdf", specifier = ">=5.7.0" },
|
372 |
{ name = "pytest-asyncio", specifier = ">=1.0.0" },
|
|
|
373 |
{ name = "ruff", marker = "extra == 'dev'", specifier = ">=0.2.0" },
|
374 |
{ name = "smolagents", specifier = ">=1.19.0" },
|
375 |
{ name = "tavily-python", specifier = ">=0.7.9" },
|
@@ -1234,6 +1236,34 @@ wheels = [
|
|
1234 |
{ url = "https://files.pythonhosted.org/packages/30/05/ce271016e351fddc8399e546f6e23761967ee09c8c568bbfbecb0c150171/pytest_asyncio-1.0.0-py3-none-any.whl", hash = "sha256:4f024da9f1ef945e680dc68610b52550e36590a67fd31bb3b4943979a1f90ef3", size = 15976 },
|
1235 |
]
|
1236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1237 |
[[package]]
|
1238 |
name = "python-dateutil"
|
1239 |
version = "2.9.0.post0"
|
@@ -1255,6 +1285,18 @@ wheels = [
|
|
1255 |
{ url = "https://files.pythonhosted.org/packages/5f/ed/539768cf28c661b5b068d66d96a2f155c4971a5d55684a514c1a0e0dec2f/python_dotenv-1.1.1-py3-none-any.whl", hash = "sha256:31f23644fe2602f88ff55e1f5c79ba497e01224ee7737937930c448e4d0e24dc", size = 20556 },
|
1256 |
]
|
1257 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1258 |
[[package]]
|
1259 |
name = "pyyaml"
|
1260 |
version = "6.0.2"
|
@@ -1502,6 +1544,15 @@ wheels = [
|
|
1502 |
{ url = "https://files.pythonhosted.org/packages/3a/b4/14305cbf1e82ee51c74b1e1906ee70f4a2e62719dc8a8614f1fa562af376/tavily_python-0.7.9-py3-none-any.whl", hash = "sha256:6d70ea86e2ccba061d0ea98c81922784a01c186960304d44436304f114f22372", size = 15666 },
|
1503 |
]
|
1504 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1505 |
[[package]]
|
1506 |
name = "tf-playwright-stealth"
|
1507 |
version = "1.2.0"
|
|
|
349 |
{ name = "mistralai" },
|
350 |
{ name = "pypdf" },
|
351 |
{ name = "pytest-asyncio" },
|
352 |
+
{ name = "pytest-playwright" },
|
353 |
{ name = "smolagents" },
|
354 |
{ name = "tavily-python" },
|
355 |
]
|
|
|
371 |
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=3.6.0" },
|
372 |
{ name = "pypdf", specifier = ">=5.7.0" },
|
373 |
{ name = "pytest-asyncio", specifier = ">=1.0.0" },
|
374 |
+
{ name = "pytest-playwright", specifier = ">=0.7.0" },
|
375 |
{ name = "ruff", marker = "extra == 'dev'", specifier = ">=0.2.0" },
|
376 |
{ name = "smolagents", specifier = ">=1.19.0" },
|
377 |
{ name = "tavily-python", specifier = ">=0.7.9" },
|
|
|
1236 |
{ url = "https://files.pythonhosted.org/packages/30/05/ce271016e351fddc8399e546f6e23761967ee09c8c568bbfbecb0c150171/pytest_asyncio-1.0.0-py3-none-any.whl", hash = "sha256:4f024da9f1ef945e680dc68610b52550e36590a67fd31bb3b4943979a1f90ef3", size = 15976 },
|
1237 |
]
|
1238 |
|
1239 |
+
[[package]]
|
1240 |
+
name = "pytest-base-url"
|
1241 |
+
version = "2.1.0"
|
1242 |
+
source = { registry = "https://pypi.org/simple" }
|
1243 |
+
dependencies = [
|
1244 |
+
{ name = "pytest" },
|
1245 |
+
{ name = "requests" },
|
1246 |
+
]
|
1247 |
+
sdist = { url = "https://files.pythonhosted.org/packages/ae/1a/b64ac368de6b993135cb70ca4e5d958a5c268094a3a2a4cac6f0021b6c4f/pytest_base_url-2.1.0.tar.gz", hash = "sha256:02748589a54f9e63fcbe62301d6b0496da0d10231b753e950c63e03aee745d45", size = 6702 }
|
1248 |
+
wheels = [
|
1249 |
+
{ url = "https://files.pythonhosted.org/packages/98/1c/b00940ab9eb8ede7897443b771987f2f4a76f06be02f1b3f01eb7567e24a/pytest_base_url-2.1.0-py3-none-any.whl", hash = "sha256:3ad15611778764d451927b2a53240c1a7a591b521ea44cebfe45849d2d2812e6", size = 5302 },
|
1250 |
+
]
|
1251 |
+
|
1252 |
+
[[package]]
|
1253 |
+
name = "pytest-playwright"
|
1254 |
+
version = "0.7.0"
|
1255 |
+
source = { registry = "https://pypi.org/simple" }
|
1256 |
+
dependencies = [
|
1257 |
+
{ name = "playwright" },
|
1258 |
+
{ name = "pytest" },
|
1259 |
+
{ name = "pytest-base-url" },
|
1260 |
+
{ name = "python-slugify" },
|
1261 |
+
]
|
1262 |
+
sdist = { url = "https://files.pythonhosted.org/packages/e3/47/38e292ad92134a00ea05e6fc4fc44577baaa38b0922ab7ea56312b7a6663/pytest_playwright-0.7.0.tar.gz", hash = "sha256:b3f2ea514bbead96d26376fac182f68dcd6571e7cb41680a89ff1673c05d60b6", size = 16666 }
|
1263 |
+
wheels = [
|
1264 |
+
{ url = "https://files.pythonhosted.org/packages/d8/96/5f8a4545d783674f3de33f0ebc4db16cc76ce77a4c404d284f43f09125e3/pytest_playwright-0.7.0-py3-none-any.whl", hash = "sha256:2516d0871fa606634bfe32afbcc0342d68da2dbff97fe3459849e9c428486da2", size = 16618 },
|
1265 |
+
]
|
1266 |
+
|
1267 |
[[package]]
|
1268 |
name = "python-dateutil"
|
1269 |
version = "2.9.0.post0"
|
|
|
1285 |
{ url = "https://files.pythonhosted.org/packages/5f/ed/539768cf28c661b5b068d66d96a2f155c4971a5d55684a514c1a0e0dec2f/python_dotenv-1.1.1-py3-none-any.whl", hash = "sha256:31f23644fe2602f88ff55e1f5c79ba497e01224ee7737937930c448e4d0e24dc", size = 20556 },
|
1286 |
]
|
1287 |
|
1288 |
+
[[package]]
|
1289 |
+
name = "python-slugify"
|
1290 |
+
version = "8.0.4"
|
1291 |
+
source = { registry = "https://pypi.org/simple" }
|
1292 |
+
dependencies = [
|
1293 |
+
{ name = "text-unidecode" },
|
1294 |
+
]
|
1295 |
+
sdist = { url = "https://files.pythonhosted.org/packages/87/c7/5e1547c44e31da50a460df93af11a535ace568ef89d7a811069ead340c4a/python-slugify-8.0.4.tar.gz", hash = "sha256:59202371d1d05b54a9e7720c5e038f928f45daaffe41dd10822f3907b937c856", size = 10921 }
|
1296 |
+
wheels = [
|
1297 |
+
{ url = "https://files.pythonhosted.org/packages/a4/62/02da182e544a51a5c3ccf4b03ab79df279f9c60c5e82d5e8bec7ca26ac11/python_slugify-8.0.4-py2.py3-none-any.whl", hash = "sha256:276540b79961052b66b7d116620b36518847f52d5fd9e3a70164fc8c50faa6b8", size = 10051 },
|
1298 |
+
]
|
1299 |
+
|
1300 |
[[package]]
|
1301 |
name = "pyyaml"
|
1302 |
version = "6.0.2"
|
|
|
1544 |
{ url = "https://files.pythonhosted.org/packages/3a/b4/14305cbf1e82ee51c74b1e1906ee70f4a2e62719dc8a8614f1fa562af376/tavily_python-0.7.9-py3-none-any.whl", hash = "sha256:6d70ea86e2ccba061d0ea98c81922784a01c186960304d44436304f114f22372", size = 15666 },
|
1545 |
]
|
1546 |
|
1547 |
+
[[package]]
|
1548 |
+
name = "text-unidecode"
|
1549 |
+
version = "1.3"
|
1550 |
+
source = { registry = "https://pypi.org/simple" }
|
1551 |
+
sdist = { url = "https://files.pythonhosted.org/packages/ab/e2/e9a00f0ccb71718418230718b3d900e71a5d16e701a3dae079a21e9cd8f8/text-unidecode-1.3.tar.gz", hash = "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93", size = 76885 }
|
1552 |
+
wheels = [
|
1553 |
+
{ url = "https://files.pythonhosted.org/packages/a6/a5/c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7/text_unidecode-1.3-py2.py3-none-any.whl", hash = "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8", size = 78154 },
|
1554 |
+
]
|
1555 |
+
|
1556 |
[[package]]
|
1557 |
name = "tf-playwright-stealth"
|
1558 |
version = "1.2.0"
|