Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
remove unused libraries (#2004)
Shuchang Zheng032881d4eb5b
diff --git a/poetry.lock b/poetry.lockindex 5cea3644b..fbd7faeb2 100644--- a/poetry.lock+++ b/poetry.lock@@ -1930,13 +1930,13 @@ test = ["coverage[toml]", "pretend", "pytest", "pytest-cov"][[package]]name = "identify"-version = "2.6.7"+version = "2.6.9"description = "File identification library for Python"optional = falsepython-versions = ">=3.9"files = [- {file = "identify-2.6.7-py2.py3-none-any.whl", hash = "sha256:155931cb617a401807b09ecec6635d6c692d180090a1cedca8ef7d58ba5b6aa0"},- {file = "identify-2.6.7.tar.gz", hash = "sha256:3fa266b42eba321ee0b2bb0936a6a6b9e36a1351cbb69055b3082f4193035684"},+ {file = "identify-2.6.9-py2.py3-none-any.whl", hash = "sha256:c98b4322da415a8e5a70ff6e51fbc2d2932c015532d77e9f8537b4ba7813b150"},+ {file = "identify-2.6.9.tar.gz", hash = "sha256:d40dfe3142a1421d8518e3d3985ef5ac42890683e32306ad614a29490abeb6bf"},][package.extras]@@ -3463,20 +3463,6 @@ files = [{file = "orjson-3.10.15.tar.gz", hash = "sha256:05ca7fe452a2e9d8d9d706a2984c95b9c2ebc5db417ce0b7a49b91d50642a23e"},]-[[package]]-name = "outcome"-version = "1.3.0.post0"-description = "Capture the outcome of Python function calls."-optional = false-python-versions = ">=3.7"-files = [- {file = "outcome-1.3.0.post0-py2.py3-none-any.whl", hash = "sha256:e771c5ce06d1415e356078d3bdd68523f284b4ce5419828922b6871e65eda82b"},- {file = "outcome-1.3.0.post0.tar.gz", hash = "sha256:9dcf02e65f2971b80047b377468e72a268e15c0af3cf1238e6ff14f7f91143b8"},-]--[package.dependencies]-attrs = ">=19.2.0"-[[package]]name = "overrides"version = "7.7.0"@@ -3795,13 +3781,13 @@ test = ["anthropic", "coverage", "django", "flake8", "freezegun (==1.5.1)", "lan[[package]]name = "pre-commit"-version = "3.8.0"+version = "4.2.0"description = "A framework for managing and maintaining multi-language pre-commit hooks."optional = falsepython-versions = ">=3.9"files = [- {file = "pre_commit-3.8.0-py2.py3-none-any.whl", hash = "sha256:9a90a53bf82fdd8778d58085faf8d83df56e40dfe18f45b19446e26bf1b3a63f"},- {file = "pre_commit-3.8.0.tar.gz", hash = "sha256:8bb6494d4a20423842e198980c9ecf9f96607a07ea29549e180eef9ae80fe7af"},+ {file = "pre_commit-4.2.0-py2.py3-none-any.whl", hash = "sha256:a009ca7205f1eb497d10b845e52c838a98b6cdd2102a6c8e4540e94ee75c58bd"},+ {file = "pre_commit-4.2.0.tar.gz", hash = "sha256:601283b9757afd87d40c4c4a9b2b5de9637a8ea02eaff7adc2d0fb4e04841146"},][package.dependencies]@@ -4406,18 +4392,6 @@ files = [[package.extras]dev = ["build", "flake8", "mypy", "pytest", "twine"]-[[package]]-name = "pysocks"-version = "1.7.1"-description = "A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information."-optional = false-python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"-files = [- {file = "PySocks-1.7.1-py27-none-any.whl", hash = "sha256:08e69f092cc6dbe92a0fdd16eeb9b9ffbc13cadfe5ca4c7bd92ffb078b293299"},- {file = "PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5"},- {file = "PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"},-]-[[package]]name = "pytest"version = "7.4.4"@@ -5204,25 +5178,6 @@ files = [cryptography = ">=2.0"jeepney = ">=0.6"-[[package]]-name = "selenium"-version = "4.29.0"-description = "Official Python bindings for Selenium WebDriver"-optional = false-python-versions = ">=3.9"-files = [- {file = "selenium-4.29.0-py3-none-any.whl", hash = "sha256:ce5d26f1ddc1111641113653af33694c13947dd36c2df09cdd33f554351d372e"},- {file = "selenium-4.29.0.tar.gz", hash = "sha256:3a62f7ec33e669364a6c0562a701deb69745b569c50d55f1a912bf8eb33358ba"},-]--[package.dependencies]-certifi = ">=2021.10.8"-trio = ">=0.17,<1.0"-trio-websocket = ">=0.9,<1.0"-typing_extensions = ">=4.9,<5.0"-urllib3 = {version = ">=1.26,<3", extras = ["socks"]}-websocket-client = ">=1.8,<2.0"-[[package]]name = "send2trash"version = "1.8.3"@@ -5313,17 +5268,6 @@ files = [{file = "socksio-1.0.0.tar.gz", hash = "sha256:f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac"},]-[[package]]-name = "sortedcontainers"-version = "2.4.0"-description = "Sorted Containers -- Sorted List, Sorted Dict, Sorted Set"-optional = false-python-versions = "*"-files = [- {file = "sortedcontainers-2.4.0-py2.py3-none-any.whl", hash = "sha256:a163dcaede0f1c021485e957a39245190e74249897e2ae4b2aa38595db237ee0"},- {file = "sortedcontainers-2.4.0.tar.gz", hash = "sha256:25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88"},-]-[[package]]name = "soupsieve"version = "2.6"@@ -5761,41 +5705,6 @@ files = [docs = ["myst-parser", "pydata-sphinx-theme", "sphinx"]test = ["argcomplete (>=3.0.3)", "mypy (>=1.7.0)", "pre-commit", "pytest (>=7.0,<8.2)", "pytest-mock", "pytest-mypy-testing"]-[[package]]-name = "trio"-version = "0.29.0"-description = "A friendly Python library for async concurrency and I/O"-optional = false-python-versions = ">=3.9"-files = [- {file = "trio-0.29.0-py3-none-any.whl", hash = "sha256:d8c463f1a9cc776ff63e331aba44c125f423a5a13c684307e828d930e625ba66"},- {file = "trio-0.29.0.tar.gz", hash = "sha256:ea0d3967159fc130acb6939a0be0e558e364fee26b5deeecc893a6b08c361bdf"},-]--[package.dependencies]-attrs = ">=23.2.0"-cffi = {version = ">=1.14", markers = "os_name == \"nt\" and implementation_name != \"pypy\""}-idna = "*"-outcome = "*"-sniffio = ">=1.3.0"-sortedcontainers = "*"--[[package]]-name = "trio-websocket"-version = "0.12.1"-description = "WebSocket library for Trio"-optional = false-python-versions = ">=3.8"-files = [- {file = "trio_websocket-0.12.1-py3-none-any.whl", hash = "sha256:608ec746bb287e5d5a66baf483e41194193c5cf05ffaad6240e7d1fcd80d1e6f"},- {file = "trio_websocket-0.12.1.tar.gz", hash = "sha256:d55ccd4d3eae27c494f3fdae14823317839bdcb8214d1173eacc4d42c69fc91b"},-]--[package.dependencies]-outcome = ">=1.2.0"-trio = ">=0.11"-wsproto = ">=0.14"-[[package]]name = "twine"version = "6.1.0"@@ -5936,9 +5845,6 @@ files = [{file = "urllib3-2.3.0.tar.gz", hash = "sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d"},]-[package.dependencies]-pysocks = {version = ">=1.5.6,<1.5.7 || >1.5.7,<2.0", optional = true, markers = "extra == \"socks\""}-[package.extras]brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"]h2 = ["h2 (>=4,<5)"]@@ -6023,13 +5929,13 @@ test = ["aiohttp (>=3.10.5)", "flake8 (>=5.0,<6.0)", "mypy (>=0.800)", "psutil",[[package]]name = "virtualenv"-version = "20.29.2"+version = "20.29.3"description = "Virtual Python Environment builder"optional = falsepython-versions = ">=3.8"files = [- {file = "virtualenv-20.29.2-py3-none-any.whl", hash = "sha256:febddfc3d1ea571bdb1dc0f98d7b45d24def7428214d4fb73cc486c9568cce6a"},- {file = "virtualenv-20.29.2.tar.gz", hash = "sha256:fdaabebf6d03b5ba83ae0a02cfe96f48a716f4fae556461d180825866f75b728"},+ {file = "virtualenv-20.29.3-py3-none-any.whl", hash = "sha256:3e3d00f5807e83b234dfb6122bf37cfadf4be216c53a49ac059d02414f819170"},+ {file = "virtualenv-20.29.3.tar.gz", hash = "sha256:95e39403fcf3940ac45bc717597dba16110b74506131845d9b687d5e73d947ac"},][package.dependencies]@@ -6392,20 +6298,6 @@ files = [{file = "wrapt-1.17.2.tar.gz", hash = "sha256:41388e9d4d1522446fe79d3213196bd9e3b301a336965b9e27ca2788ebd122f3"},]-[[package]]-name = "wsproto"-version = "1.2.0"-description = "WebSockets state-machine based protocol implementation"-optional = false-python-versions = ">=3.7.0"-files = [- {file = "wsproto-1.2.0-py3-none-any.whl", hash = "sha256:b9acddd652b585d75b20477888c56642fdade28bdfd3579aa24a4d2c037dd736"},- {file = "wsproto-1.2.0.tar.gz", hash = "sha256:ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065"},-]--[package.dependencies]-h11 = ">=0.9.0,<1"-[[package]]name = "xmltodict"version = "0.14.2"@@ -6535,4 +6427,4 @@ type = ["pytest-mypy"][metadata]lock-version = "2.0"python-versions = "^3.11,<3.12"-content-hash = "9c7c1f0509dbec760fa08c7969f9ebf9a2b38c7f8ecf226817c473360306a9a8"+content-hash = "e5085ce6a8b5db04d054fa5084573562773fe11b9213c33929890cc2acc5eb2c"diff --git a/pyproject.toml b/pyproject.tomlindex 3fab51e26..688c6b9cd 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -17,9 +17,7 @@ toml = "^0.10.2"jinja2 = "^3.1.2"uvicorn = {extras = ["standard"], version = "^0.24.0.post1"}litellm = "^1.63.12"-selenium = "^4.13.0"playwright = "1.46.0"-pre-commit = "^3.5.0"pillow = "^10.1.0"starlette-context = "^0.3.6"ddtrace = "^2.3.2"@@ -57,7 +55,6 @@ pypdf = "^5.1.0"[tool.poetry.group.dev.dependencies]isort = "^5.13.2"-pre-commit = "^3.3.3"mypy = "^1.4.1"flake8 = "^6.0.0"types-requests = "^2.31.0.2"@@ -79,6 +76,7 @@ pypdf = "^5.0.1"twine = "^6.1.0"build = "^1.2.2.post1"pandas = "^2.2.3"+pre-commit = "^4.2.0"[build-system]