π OpenHands: AI-Driven Development
chore - Track Python test coverage (#11072)
Ray Myers848a884b0404
diff --git a/.github/workflows/py-tests.yml b/.github/workflows/py-tests.ymlindex 134ba632d4..07b572969a 100644--- a/.github/workflows/py-tests.yml+++ b/.github/workflows/py-tests.yml@@ -19,12 +19,16 @@ jobs:# Run python tests on Linuxtest-on-linux:name: Python Tests on Linux- runs-on: blacksmith-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404env:INSTALL_DOCKER: "0" # Set to '0' to skip Docker installationstrategy:matrix:python-version: ["3.12"]+ permissions:+ # For coverage comment and python-coverage-comment-action branch+ pull-requests: write+ contents: writesteps:- uses: actions/checkout@v4- name: Set up Docker Buildx@@ -48,10 +52,21 @@ jobs:- name: Build Environmentrun: make build- name: Run Unit Tests- run: PYTHONPATH=".:$PYTHONPATH" poetry run pytest --forked -n auto -svv ./tests/unit+ run: PYTHONPATH=".:$PYTHONPATH" poetry run pytest --forked -n auto -s ./tests/unit --cov=openhands --cov-branch+ env:+ COVERAGE_FILE: ".coverage.${{ matrix.python_version }}"- name: Run Runtime Tests with CLIRuntime- run: PYTHONPATH=".:$PYTHONPATH" TEST_RUNTIME=cli poetry run pytest -svv tests/runtime/test_bash.py-+ run: PYTHONPATH=".:$PYTHONPATH" TEST_RUNTIME=cli poetry run pytest -s tests/runtime/test_bash.py --cov=openhands --cov-branch+ env:+ COVERAGE_FILE: ".coverage.runtime.${{ matrix.python_version }}"+ - name: Store coverage file+ uses: actions/upload-artifact@v4+ with:+ name: coverage-openhands+ path: |+ .coverage.${{ matrix.python_version }}+ .coverage.runtime.${{ matrix.python_version }}+ include-hidden-files: true# Run specific Windows python teststest-on-windows:name: Python Tests on Windows@@ -85,7 +100,7 @@ jobs:DEBUG: "1"test-enterprise:name: Enterprise Python Unit Tests- runs-on: blacksmith-4vcpu-ubuntu-2204+ runs-on: blacksmith-4vcpu-ubuntu-2404strategy:matrix:python-version: ["3.12"]@@ -102,5 +117,37 @@ jobs:working-directory: ./enterpriserun: poetry install --with dev,test- name: Run Unit Tests- working-directory: ./enterprise- run: PYTHONPATH=".:$PYTHONPATH" poetry run pytest --forked -n auto -svv -p no:ddtrace -p no:ddtrace.pytest_bdd -p no:ddtrace.pytest_benchmark ./tests/unit+ # Use base working directory for coverage paths to line up.+ run: PYTHONPATH=".:$PYTHONPATH" poetry run --project=enterprise pytest --forked -n auto -s -p no:ddtrace -p no:ddtrace.pytest_bdd -p no:ddtrace.pytest_benchmark ./enterprise/tests/unit --cov=enterprise --cov-branch+ env:+ COVERAGE_FILE: ".coverage.enterprise.${{ matrix.python_version }}"+ - name: Store coverage file+ uses: actions/upload-artifact@v4+ with:+ name: coverage-enterprise+ path: ".coverage.enterprise.${{ matrix.python_version }}"+ include-hidden-files: true+ coverage-comment:+ name: Coverage Comment+ if: github.event_name == 'pull_request'+ runs-on: ubuntu-latest+ needs: [test-on-linux, test-enterprise]++ permissions:+ pull-requests: write+ contents: write+ steps:+ - uses: actions/checkout@v4++ - uses: actions/download-artifact@v5+ id: download+ with:+ pattern: coverage-*+ merge-multiple: true++ - name: Coverage comment+ id: coverage_comment+ uses: py-cov-action/python-coverage-comment-action@v3+ with:+ GITHUB_TOKEN: ${{ github.token }}+ MERGE_COVERAGE_FILES: truediff --git a/enterprise/poetry.lock b/enterprise/poetry.lockindex e9cb9d2263..b4b48a27a6 100644--- a/enterprise/poetry.lock+++ b/enterprise/poetry.lock@@ -766,7 +766,7 @@ version = "1.17.1"description = "Foreign Function Interface for Python calling C code."optional = falsepython-versions = ">=3.8"-groups = ["main"]+groups = ["main", "test"]files = [{file = "cffi-1.17.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:df8b1c11f177bc2313ec4b2d46baec87a5f3e71fc8b45dab2ee7cae86d9aba14"},{file = "cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8f2cdc858323644ab277e9bb925ad72ae0e67f69e804f4898c070998d50b1a67"},@@ -836,6 +836,7 @@ files = [{file = "cffi-1.17.1-cp39-cp39-win_amd64.whl", hash = "sha256:d016c76bdd850f3c626af19b0542c9677ba156e4ee4fccfdd7848803533ef662"},{file = "cffi-1.17.1.tar.gz", hash = "sha256:1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824"},]+markers = {test = "platform_python_implementation == \"CPython\" and sys_platform == \"win32\""}[package.dependencies]pycparser = "*"@@ -1901,25 +1902,25 @@ files = [[[package]]name = "fastapi"-version = "0.116.1"+version = "0.117.1"description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"optional = falsepython-versions = ">=3.8"groups = ["main"]files = [- {file = "fastapi-0.116.1-py3-none-any.whl", hash = "sha256:c46ac7c312df840f0c9e220f7964bada936781bc4e2e6eb71f1c4d7553786565"},- {file = "fastapi-0.116.1.tar.gz", hash = "sha256:ed52cbf946abfd70c5a0dccb24673f0670deeb517a88b3544d03c2a6bf283143"},+ {file = "fastapi-0.117.1-py3-none-any.whl", hash = "sha256:33c51a0d21cab2b9722d4e56dbb9316f3687155be6b276191790d8da03507552"},+ {file = "fastapi-0.117.1.tar.gz", hash = "sha256:fb2d42082d22b185f904ca0ecad2e195b851030bd6c5e4c032d1c981240c631a"},][package.dependencies]pydantic = ">=1.7.4,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0 || >2.0.0,<2.0.1 || >2.0.1,<2.1.0 || >2.1.0,<3.0.0"-starlette = ">=0.40.0,<0.48.0"+starlette = ">=0.40.0,<0.49.0"typing-extensions = ">=4.8.0"[package.extras]-all = ["email-validator (>=2.0.0)", "fastapi-cli[standard] (>=0.0.8)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=3.1.5)", "orjson (>=3.2.1)", "pydantic-extra-types (>=2.0.0)", "pydantic-settings (>=2.0.0)", "python-multipart (>=0.0.18)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"]-standard = ["email-validator (>=2.0.0)", "fastapi-cli[standard] (>=0.0.8)", "httpx (>=0.23.0)", "jinja2 (>=3.1.5)", "python-multipart (>=0.0.18)", "uvicorn[standard] (>=0.12.0)"]-standard-no-fastapi-cloud-cli = ["email-validator (>=2.0.0)", "fastapi-cli[standard-no-fastapi-cloud-cli] (>=0.0.8)", "httpx (>=0.23.0)", "jinja2 (>=3.1.5)", "python-multipart (>=0.0.18)", "uvicorn[standard] (>=0.12.0)"]+all = ["email-validator (>=2.0.0)", "fastapi-cli[standard] (>=0.0.8)", "httpx (>=0.23.0,<1.0.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=3.1.5)", "orjson (>=3.2.1)", "pydantic-extra-types (>=2.0.0)", "pydantic-settings (>=2.0.0)", "python-multipart (>=0.0.18)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"]+standard = ["email-validator (>=2.0.0)", "fastapi-cli[standard] (>=0.0.8)", "httpx (>=0.23.0,<1.0.0)", "jinja2 (>=3.1.5)", "python-multipart (>=0.0.18)", "uvicorn[standard] (>=0.12.0)"]+standard-no-fastapi-cloud-cli = ["email-validator (>=2.0.0)", "fastapi-cli[standard-no-fastapi-cloud-cli] (>=0.0.8)", "httpx (>=0.23.0,<1.0.0)", "jinja2 (>=3.1.5)", "python-multipart (>=0.0.18)", "uvicorn[standard] (>=0.12.0)"][[package]]name = "fastjsonschema"@@ -2291,6 +2292,72 @@ test-downstream = ["aiobotocore (>=2.5.4,<3.0.0)", "dask[dataframe,test]", "mototest-full = ["adlfs", "aiohttp (!=4.0.0a0,!=4.0.0a1)", "cloudpickle", "dask", "distributed", "dropbox", "dropboxdrivefs", "fastparquet", "fusepy", "gcsfs", "jinja2", "kerchunk", "libarchive-c", "lz4", "notebook", "numpy", "ocifs", "pandas", "panel", "paramiko", "pyarrow", "pyarrow (>=1)", "pyftpdlib", "pygit2", "pytest", "pytest-asyncio (!=0.22.0)", "pytest-benchmark", "pytest-cov", "pytest-mock", "pytest-recording", "pytest-rerunfailures", "python-snappy", "requests", "smbprotocol", "tqdm", "urllib3", "zarr", "zstandard ; python_version < \"3.14\""]tqdm = ["tqdm"]+[[package]]+name = "gevent"+version = "25.9.1"+description = "Coroutine-based network library"+optional = false+python-versions = ">=3.9"+groups = ["test"]+files = [+ {file = "gevent-25.9.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:856b990be5590e44c3a3dc6c8d48a40eaccbb42e99d2b791d11d1e7711a4297e"},+ {file = "gevent-25.9.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:fe1599d0b30e6093eb3213551751b24feeb43db79f07e89d98dd2f3330c9063e"},+ {file = "gevent-25.9.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:f0d8b64057b4bf1529b9ef9bd2259495747fba93d1f836c77bfeaacfec373fd0"},+ {file = "gevent-25.9.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b56cbc820e3136ba52cd690bdf77e47a4c239964d5f80dc657c1068e0fe9521c"},+ {file = "gevent-25.9.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c5fa9ce5122c085983e33e0dc058f81f5264cebe746de5c401654ab96dddfca8"},+ {file = "gevent-25.9.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:03c74fec58eda4b4edc043311fca8ba4f8744ad1632eb0a41d5ec25413581975"},+ {file = "gevent-25.9.1-cp310-cp310-win_amd64.whl", hash = "sha256:a8ae9f895e8651d10b0a8328a61c9c53da11ea51b666388aa99b0ce90f9fdc27"},+ {file = "gevent-25.9.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:18e5aff9e8342dc954adb9c9c524db56c2f3557999463445ba3d9cbe3dada7b7"},+ {file = "gevent-25.9.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1cdf6db28f050ee103441caa8b0448ace545364f775059d5e2de089da975c457"},+ {file = "gevent-25.9.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:812debe235a8295be3b2a63b136c2474241fa5c58af55e6a0f8cfc29d4936235"},+ {file = "gevent-25.9.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b28b61ff9216a3d73fe8f35669eefcafa957f143ac534faf77e8a19eb9e6883a"},+ {file = "gevent-25.9.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:5e4b6278b37373306fc6b1e5f0f1cf56339a1377f67c35972775143d8d7776ff"},+ {file = "gevent-25.9.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d99f0cb2ce43c2e8305bf75bee61a8bde06619d21b9d0316ea190fc7a0620a56"},+ {file = "gevent-25.9.1-cp311-cp311-win_amd64.whl", hash = "sha256:72152517ecf548e2f838c61b4be76637d99279dbaa7e01b3924df040aa996586"},+ {file = "gevent-25.9.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:46b188248c84ffdec18a686fcac5dbb32365d76912e14fda350db5dc0bfd4f86"},+ {file = "gevent-25.9.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f2b54ea3ca6f0c763281cd3f96010ac7e98c2e267feb1221b5a26e2ca0b9a692"},+ {file = "gevent-25.9.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7a834804ac00ed8a92a69d3826342c677be651b1c3cd66cc35df8bc711057aa2"},+ {file = "gevent-25.9.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:323a27192ec4da6b22a9e51c3d9d896ff20bc53fdc9e45e56eaab76d1c39dd74"},+ {file = "gevent-25.9.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6ea78b39a2c51d47ff0f130f4c755a9a4bbb2dd9721149420ad4712743911a51"},+ {file = "gevent-25.9.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:dc45cd3e1cc07514a419960af932a62eb8515552ed004e56755e4bf20bad30c5"},+ {file = "gevent-25.9.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:34e01e50c71eaf67e92c186ee0196a039d6e4f4b35670396baed4a2d8f1b347f"},+ {file = "gevent-25.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:4acd6bcd5feabf22c7c5174bd3b9535ee9f088d2bbce789f740ad8d6554b18f3"},+ {file = "gevent-25.9.1-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:4f84591d13845ee31c13f44bdf6bd6c3dbf385b5af98b2f25ec328213775f2ed"},+ {file = "gevent-25.9.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9cdbb24c276a2d0110ad5c978e49daf620b153719ac8a548ce1250a7eb1b9245"},+ {file = "gevent-25.9.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:88b6c07169468af631dcf0fdd3658f9246d6822cc51461d43f7c44f28b0abb82"},+ {file = "gevent-25.9.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:b7bb0e29a7b3e6ca9bed2394aa820244069982c36dc30b70eb1004dd67851a48"},+ {file = "gevent-25.9.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2951bb070c0ee37b632ac9134e4fdaad70d2e660c931bb792983a0837fe5b7d7"},+ {file = "gevent-25.9.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e4e17c2d57e9a42e25f2a73d297b22b60b2470a74be5a515b36c984e1a246d47"},+ {file = "gevent-25.9.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8d94936f8f8b23d9de2251798fcb603b84f083fdf0d7f427183c1828fb64f117"},+ {file = "gevent-25.9.1-cp313-cp313-win_amd64.whl", hash = "sha256:eb51c5f9537b07da673258b4832f6635014fee31690c3f0944d34741b69f92fa"},+ {file = "gevent-25.9.1-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:1a3fe4ea1c312dbf6b375b416925036fe79a40054e6bf6248ee46526ea628be1"},+ {file = "gevent-25.9.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0adb937f13e5fb90cca2edf66d8d7e99d62a299687400ce2edee3f3504009356"},+ {file = "gevent-25.9.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:427f869a2050a4202d93cf7fd6ab5cffb06d3e9113c10c967b6e2a0d45237cb8"},+ {file = "gevent-25.9.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:c049880175e8c93124188f9d926af0a62826a3b81aa6d3074928345f8238279e"},+ {file = "gevent-25.9.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b5a67a0974ad9f24721034d1e008856111e0535f1541499f72a733a73d658d1c"},+ {file = "gevent-25.9.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:1d0f5d8d73f97e24ea8d24d8be0f51e0cf7c54b8021c1fddb580bf239474690f"},+ {file = "gevent-25.9.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ddd3ff26e5c4240d3fbf5516c2d9d5f2a998ef87cfb73e1429cfaeaaec860fa6"},+ {file = "gevent-25.9.1-cp314-cp314-win_amd64.whl", hash = "sha256:bb63c0d6cb9950cc94036a4995b9cc4667b8915366613449236970f4394f94d7"},+ {file = "gevent-25.9.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f18f80aef6b1f6907219affe15b36677904f7cfeed1f6a6bc198616e507ae2d7"},+ {file = "gevent-25.9.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:b274a53e818124a281540ebb4e7a2c524778f745b7a99b01bdecf0ca3ac0ddb0"},+ {file = "gevent-25.9.1-cp39-cp39-win32.whl", hash = "sha256:c6c91f7e33c7f01237755884316110ee7ea076f5bdb9aa0982b6dc63243c0a38"},+ {file = "gevent-25.9.1-cp39-cp39-win_amd64.whl", hash = "sha256:012a44b0121f3d7c800740ff80351c897e85e76a7e4764690f35c5ad9ec17de5"},+ {file = "gevent-25.9.1.tar.gz", hash = "sha256:adf9cd552de44a4e6754c51ff2e78d9193b7fa6eab123db9578a210e657235dd"},+]++[package.dependencies]+cffi = {version = ">=1.17.1", markers = "platform_python_implementation == \"CPython\" and sys_platform == \"win32\""}+greenlet = {version = ">=3.2.2", markers = "platform_python_implementation == \"CPython\""}+"zope.event" = "*"+"zope.interface" = "*"++[package.extras]+dnspython = ["dnspython (>=1.16.0,<2.0) ; python_version < \"3.10\"", "idna ; python_version < \"3.10\""]+docs = ["furo", "repoze.sphinx.autointerface", "sphinx", "sphinxcontrib-programoutput", "zope.schema"]+monitor = ["psutil (>=5.7.0) ; sys_platform != \"win32\" or platform_python_implementation == \"CPython\""]+recommended = ["cffi (>=1.17.1) ; platform_python_implementation == \"CPython\"", "dnspython (>=1.16.0,<2.0) ; python_version < \"3.10\"", "idna ; python_version < \"3.10\"", "psutil (>=5.7.0) ; sys_platform != \"win32\" or platform_python_implementation == \"CPython\""]+test = ["cffi (>=1.17.1) ; platform_python_implementation == \"CPython\"", "coverage (>=5.0) ; sys_platform != \"win32\"", "dnspython (>=1.16.0,<2.0) ; python_version < \"3.10\"", "idna ; python_version < \"3.10\"", "objgraph", "psutil (>=5.7.0) ; sys_platform != \"win32\" or platform_python_implementation == \"CPython\"", "requests"]+[[package]]name = "gitdb"version = "4.0.12"@@ -2707,7 +2774,7 @@ version = "3.2.4"description = "Lightweight in-process concurrent programming"optional = falsepython-versions = ">=3.9"-groups = ["main"]+groups = ["main", "test"]files = [{file = "greenlet-3.2.4-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:8c68325b0d0acf8d91dde4e6f930967dd52a5302cd4062932a6b2e7c2969f47c"},{file = "greenlet-3.2.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:94385f101946790ae13da500603491f04a76b6e4c059dab271b3ce2e283b2590"},@@ -2764,6 +2831,7 @@ files = [{file = "greenlet-3.2.4-cp39-cp39-win_amd64.whl", hash = "sha256:d2e685ade4dafd447ede19c31277a224a239a0a1a4eca4e6390efedf20260cfb"},{file = "greenlet-3.2.4.tar.gz", hash = "sha256:0dca0d95ff849f9a364385f36ab49f50065d76964944638be9691e1832e9f86d"},]+markers = {test = "platform_python_implementation == \"CPython\""}[package.extras]docs = ["Sphinx", "furo"]@@ -5363,7 +5431,7 @@ llama = ["llama-index (>=0.12.29,<0.13.0)", "llama-index-core (>=0.12.29,<0.13.0[[package]]name = "openhands-ai"-version = "0.55.0"+version = "0.57.0"description = "OpenHands: Code Less, Make More"optional = falsepython-versions = "^3.12,<3.14"@@ -5397,7 +5465,7 @@ json-repair = "*"jupyter_kernel_gateway = "*"kubernetes = "^33.1.0"libtmux = ">=0.37,<0.40"-litellm = "^1.74.3, !=1.64.4, !=1.67.*"+litellm = ">=1.74.3, <1.77.2, !=1.64.4, !=1.67.*"memory-profiler = "^0.61.0"numpy = "*"openai = "1.99.9"@@ -5406,6 +5474,7 @@ opentelemetry-api = "^1.33.1"opentelemetry-exporter-otlp-proto-grpc = "^1.33.1"pathspec = "^0.12.1"pexpect = "*"+pillow = "^11.3.0"poetry = "^2.1.2"prompt-toolkit = "^3.0.50"protobuf = "^5.0.0,<6.0.0"@@ -5413,6 +5482,7 @@ psutil = "*"pygithub = "^2.5.0"pyjwt = "^2.9.0"pylatexenc = "*"+pypdf = "^6.0.0"PyPDF2 = "*"python-docx = "*"python-dotenv = "*"@@ -5426,13 +5496,17 @@ pyyaml = "^6.0.2"qtconsole = "^5.6.1"rapidfuzz = "^3.9.0"redis = ">=5.2,<7.0"+requests = "^2.32.5"+setuptools = ">=78.1.1"shellingham = "^1.5.4"-sse-starlette = "^2.1.3"+sse-starlette = "^3.0.2"+starlette = "^0.48.0"tenacity = ">=8.5,<10.0"termcolor = "*"toml = "*"tornado = "*"types-toml = "*"+urllib3 = "^2.5.0"uvicorn = "*"whatthepatch = "^1.0.6"zope-interface = "7.2"@@ -6471,11 +6545,12 @@ version = "2.22"description = "C parser in Python"optional = falsepython-versions = ">=3.8"-groups = ["main"]+groups = ["main", "test"]files = [{file = "pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"},{file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"},]+markers = {test = "platform_python_implementation == \"CPython\" and sys_platform == \"win32\""}[[package]]name = "pydantic"@@ -8265,7 +8340,7 @@ version = "80.9.0"description = "Easily download, build, install, upgrade, and uninstall Python packages"optional = falsepython-versions = ">=3.9"-groups = ["main"]+groups = ["main", "test"]files = [{file = "setuptools-80.9.0-py3-none-any.whl", hash = "sha256:062d34222ad13e0cc312a4c02d73f059e86a4acbfbdea8f8f76b28c99f306922"},{file = "setuptools-80.9.0.tar.gz", hash = "sha256:f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c"},@@ -8631,14 +8706,14 @@ sqlcipher = ["sqlcipher3_binary"][[package]]name = "sse-starlette"-version = "2.4.1"+version = "3.0.2"description = "SSE plugin for Starlette"optional = falsepython-versions = ">=3.9"groups = ["main"]files = [- {file = "sse_starlette-2.4.1-py3-none-any.whl", hash = "sha256:08b77ea898ab1a13a428b2b6f73cfe6d0e607a7b4e15b9bb23e4a37b087fd39a"},- {file = "sse_starlette-2.4.1.tar.gz", hash = "sha256:7c8a800a1ca343e9165fc06bbda45c78e4c6166320707ae30b416c42da070926"},+ {file = "sse_starlette-3.0.2-py3-none-any.whl", hash = "sha256:16b7cbfddbcd4eaca11f7b586f3b8a080f1afe952c15813455b162edea619e5a"},+ {file = "sse_starlette-3.0.2.tar.gz", hash = "sha256:ccd60b5765ebb3584d0de2d7a6e4f745672581de4f5005ab31c3a25d10b52b3a"},][package.dependencies]@@ -8646,7 +8721,7 @@ anyio = ">=4.7.0"[package.extras]daphne = ["daphne (>=4.2.0)"]-examples = ["aiosqlite (>=0.21.0)", "fastapi (>=0.115.12)", "sqlalchemy[asyncio,examples] (>=2.0.41)", "starlette (>=0.41.3)", "uvicorn (>=0.34.0)"]+examples = ["aiosqlite (>=0.21.0)", "fastapi (>=0.115.12)", "sqlalchemy[asyncio] (>=2.0.41)", "starlette (>=0.41.3)", "uvicorn (>=0.34.0)"]granian = ["granian (>=2.3.1)"]uvicorn = ["uvicorn (>=0.34.0)"]@@ -8702,14 +8777,14 @@ files = [[[package]]name = "starlette"-version = "0.47.3"+version = "0.48.0"description = "The little ASGI library that shines."optional = falsepython-versions = ">=3.9"groups = ["main"]files = [- {file = "starlette-0.47.3-py3-none-any.whl", hash = "sha256:89c0778ca62a76b826101e7c709e70680a1699ca7da6b44d38eb0a7e61fe4b51"},- {file = "starlette-0.47.3.tar.gz", hash = "sha256:6bc94f839cc176c4858894f1f8908f0ab79dfec1a6b8402f6da9be26ebea52e9"},+ {file = "starlette-0.48.0-py3-none-any.whl", hash = "sha256:0764ca97b097582558ecb498132ed0c7d942f233f365b86ba37770e026510659"},+ {file = "starlette-0.48.0.tar.gz", hash = "sha256:7e8cee469a8ab2352911528110ce9088fdc6a37d9876926e73da7ce4aa4c7a46"},][package.dependencies]@@ -9838,13 +9913,32 @@ enabler = ["pytest-enabler (>=2.2)"]test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more_itertools", "pytest (>=6,!=8.1.*)", "pytest-ignore-flaky"]type = ["pytest-mypy"]+[[package]]+name = "zope-event"+version = "6.0"+description = "Very basic event publishing system"+optional = false+python-versions = ">=3.9"+groups = ["test"]+files = [+ {file = "zope_event-6.0-py3-none-any.whl", hash = "sha256:6f0922593407cc673e7d8766b492c519f91bdc99f3080fe43dcec0a800d682a3"},+ {file = "zope_event-6.0.tar.gz", hash = "sha256:0ebac894fa7c5f8b7a89141c272133d8c1de6ddc75ea4b1f327f00d1f890df92"},+]++[package.dependencies]+setuptools = ">=75.8.2"++[package.extras]+docs = ["Sphinx"]+test = ["zope.testrunner (>=6.4)"]+[[package]]name = "zope-interface"version = "7.2"description = "Interfaces for Python"optional = falsepython-versions = ">=3.8"-groups = ["main"]+groups = ["main", "test"]files = [{file = "zope.interface-7.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ce290e62229964715f1011c3dbeab7a4a1e4971fd6f31324c4519464473ef9f2"},{file = "zope.interface-7.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:05b910a5afe03256b58ab2ba6288960a2892dfeef01336dc4be6f1b9ed02ab0a"},@@ -10008,4 +10102,4 @@ cffi = ["cffi (>=1.17) ; python_version >= \"3.13\" and platform_python_implemen[metadata]lock-version = "2.1"python-versions = "^3.12,<3.14"-content-hash = "5771671ef2acc36e7b0931c73fa035ca1d329e8dac6827f7a349e1a569c3fd23"+content-hash = "8c460070dce6bdec5ee0ee7bc0c2246fcf2602d1e64a0867b4f5e3a0e334fe93"diff --git a/enterprise/pyproject.toml b/enterprise/pyproject.tomlindex 61efaa7fda..2fffec2b7d 100644--- a/enterprise/pyproject.toml+++ b/enterprise/pyproject.toml@@ -63,6 +63,7 @@ openai = "*"opencv-python = "*"pandas = "*"reportlab = "*"+gevent = ">=24.2.1,<26.0.0"[tool.poetry-dynamic-versioning]enable = true@@ -85,3 +86,7 @@ lint.pydocstyle.convention = "google"[tool.pytest.ini_options]asyncio_mode = "auto"asyncio_default_fixture_loop_scope = "function"++[tool.coverage.run]+relative_files = true+omit = [ "tests/*" ]diff --git a/pyproject.toml b/pyproject.tomlindex f075baf48b..eb1177c5ef 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -204,3 +204,5 @@ lint.pydocstyle.convention = "google"[tool.coverage.run]concurrency = [ "gevent" ]+relative_files = true+omit = [ "enterprise/tests/*", "**/test_*" ]