From 9543d93a7eb4476064219b6c581b8caa52911c72 Mon Sep 17 00:00:00 2001 From: Thomas Carmet <8408330+tcarmet@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:03:55 -0700 Subject: [PATCH] Add datadog testing visibility (#465) --- .devcontainer/devcontainer.json | 5 +- .github/workflows/tests.yaml | 6 + poetry.lock | 341 +++++++++++++++++++++++++++++++- pyproject.toml | 3 +- 4 files changed, 352 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 542b3739..0d0fc11a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,7 +5,10 @@ "dockerfile": "Dockerfile" }, "containerEnv": { - "GITHUB_BASE_URL": "http://localhost:4010" + "GITHUB_BASE_URL": "http://localhost:4010", + "DD_SERVICE": "$GITHUB_REPOSITORY", + "DD_CIVISIBILITY_AGENTLESS_ENABLED": "true", + "DD_ENV": "codespace" }, "features": { "ghcr.io/devcontainers/features/docker-in-docker": {}, diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1aaf2d9a..18fee89f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,6 +12,12 @@ on: permissions: contents: read +env: + DD_API_KEY: "${{ secrets.DD_API_KEY }}" + DD_SERVICE: "${{ github.repository }}" + DD_CIVISIBILITY_AGENTLESS_ENABLED: true + DD_ENV: ci + jobs: test: name: ${{ matrix.test.name }} diff --git a/poetry.lock b/poetry.lock index 6b27d630..b8e5d298 100644 --- a/poetry.lock +++ b/poetry.lock @@ -535,6 +535,17 @@ files = [ [package.dependencies] types-awscrt = "*" +[[package]] +name = "bytecode" +version = "0.15.1" +description = "Python module to generate and modify bytecode" +optional = false +python-versions = ">=3.8" +files = [ + {file = "bytecode-0.15.1-py3-none-any.whl", hash = "sha256:0a1dc340cac823cff605609b8b214f7f9bf80418c6b9e0fc8c6db1793c27137d"}, + {file = "bytecode-0.15.1.tar.gz", hash = "sha256:7263239a8d3f70fc7c303862b20cd2c6788052e37ce0a26e67309d280e985984"}, +] + [[package]] name = "cachetools" version = "5.3.1" @@ -546,6 +557,29 @@ files = [ {file = "cachetools-5.3.1.tar.gz", hash = "sha256:dce83f2d9b4e1f732a8cd44af8e8fab2dbe46201467fc98b3ef8f269092bf62b"}, ] +[[package]] +name = "cattrs" +version = "23.1.2" +description = "Composable complex class support for attrs and dataclasses." +optional = false +python-versions = ">=3.7" +files = [ + {file = "cattrs-23.1.2-py3-none-any.whl", hash = "sha256:b2bb14311ac17bed0d58785e5a60f022e5431aca3932e3fc5cc8ed8639de50a4"}, + {file = "cattrs-23.1.2.tar.gz", hash = "sha256:db1c821b8c537382b2c7c66678c3790091ca0275ac486c76f3c8f3920e83c657"}, +] + +[package.dependencies] +attrs = ">=20" + +[package.extras] +bson = ["pymongo (>=4.2.0,<5.0.0)"] +cbor2 = ["cbor2 (>=5.4.6,<6.0.0)"] +msgpack = ["msgpack (>=1.0.2,<2.0.0)"] +orjson = ["orjson (>=3.5.2,<4.0.0)"] +pyyaml = ["PyYAML (>=6.0,<7.0)"] +tomlkit = ["tomlkit (>=0.11.4,<0.12.0)"] +ujson = ["ujson (>=5.4.0,<6.0.0)"] + [[package]] name = "certifi" version = "2023.7.22" @@ -908,6 +942,125 @@ ssh = ["bcrypt (>=3.1.5)"] test = ["pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-xdist"] test-randomorder = ["pytest-randomly"] +[[package]] +name = "ddsketch" +version = "2.0.4" +description = "Distributed quantile sketches" +optional = false +python-versions = ">=2.7" +files = [ + {file = "ddsketch-2.0.4-py3-none-any.whl", hash = "sha256:3227a270fd686a29d3a7128f9352ccf852314410380fc11384356f1ae2a75938"}, + {file = "ddsketch-2.0.4.tar.gz", hash = "sha256:32f7314077fec8747d4faebaec2c854b5ffc399c5f552f73fa94024f48d74d64"}, +] + +[package.dependencies] +protobuf = {version = ">=3.0.0", markers = "python_version >= \"3.7\""} +six = "*" + +[[package]] +name = "ddtrace" +version = "2.1.1" +description = "Datadog APM client library" +optional = false +python-versions = ">=3.7" +files = [ + {file = "ddtrace-2.1.1-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:5f14668369f8d8dc00459766f76bb22aafc75bccd5be9e73037444a951644302"}, + {file = "ddtrace-2.1.1-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:34d3956813656001f0d2c8a41893ff01b1fd01b4f17c3f21ae93583dc581bc46"}, + {file = "ddtrace-2.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eef8ede548be3063eaa54c83dc49616d58f27028aa5a33e759cc5ddadf7a29f3"}, + {file = "ddtrace-2.1.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7792fe46124ae31819f5054e16f84a0c11bd688927fb2f33193ad16d5ecac919"}, + {file = "ddtrace-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a6c5d75dbc5e4d75110125658552b34c4b8ca88e922d27d6bfd21074fae0053"}, + {file = "ddtrace-2.1.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b18b70c455098a673478de662f64d3cd7129140726166f95dae676af834e3b46"}, + {file = "ddtrace-2.1.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:b4e7b39daba7026a2243b71ecba5e4d222a5d36f0ba73f3c71848feab0d9865c"}, + {file = "ddtrace-2.1.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d1efcc506369bcf9738e7cbbe018fc74159b83dc9fc78918582f1ccf2fdd3ad7"}, + {file = "ddtrace-2.1.1-cp310-cp310-win32.whl", hash = "sha256:d5adc9d562a2b902052b6eda5cb6ea98ccdf6c07241eb267e61a7424a1cee69b"}, + {file = "ddtrace-2.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:ccc900c139ec4d29410e6adc36a5930615e3c88ede61b3737b4b49e0ff4cf7c8"}, + {file = "ddtrace-2.1.1-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:acfce7e6655430d0fe0fbebccdd26c3dcbd6d5210478f3c20dc49298bc7c636e"}, + {file = "ddtrace-2.1.1-cp311-cp311-macosx_11_0_x86_64.whl", hash = "sha256:59cff5fcfc0ca4f1a18e7a453d233ea47070a73838ea25d11608ccb2042cfe40"}, + {file = "ddtrace-2.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cd51dc081072eab37ff28377279d88165b463b08573ca7949a55a4ff98929fd0"}, + {file = "ddtrace-2.1.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5aba585a4f9159cb06400f107d654d8b487757a70155ba7d77cbf440a74a5f46"}, + {file = "ddtrace-2.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c181d52a68fa57970dc135472721fb7614ee5a94aad57f2057c59f080aeb0699"}, + {file = "ddtrace-2.1.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ccfb947c5df3e5fe93ea387022963935de456c8463ebea3109359b92fa89d316"}, + {file = "ddtrace-2.1.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b22eb75883f73c72572907f9fa18cfa0b4a08ad90144cc2c1b92b9d1b45a96bc"}, + {file = "ddtrace-2.1.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1320daff35456f69c2a68b86df0d6d24faa9b1ef4be78d52cbf2c93eeeafa0e9"}, + {file = "ddtrace-2.1.1-cp311-cp311-win32.whl", hash = "sha256:ff7178f20b7d40a2455f967cd7a97a6c38e8c03bb72ed9d592969122f5c5b41b"}, + {file = "ddtrace-2.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:cc6cf075365b0d2b2f210da7cdb1e0fb8d42642e044c0e040d73483d4a5d4281"}, + {file = "ddtrace-2.1.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:c897808282231537df148ac69e6166eda1290e15841e76a63d20a619429cf40f"}, + {file = "ddtrace-2.1.1-cp312-cp312-macosx_11_0_x86_64.whl", hash = "sha256:cb0812e312ce8449a97614a08ac391195db88412cbb092200c8d13551a4f4878"}, + {file = "ddtrace-2.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e43cb99ddce1d713a0bade7670fc1cdeb1c4eb3d40f677dff0d8925f5b92f8f2"}, + {file = "ddtrace-2.1.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:799cf68ef8af31cf82d13d2ccedd23c4e6e55d09922db20be0119d5397fe7184"}, + {file = "ddtrace-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7342b75c371b2ed3084c1412aa6f5c953748daf55388d3c83bd00535a9fdf62"}, + {file = "ddtrace-2.1.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:72296491019c28d10cfcbad8311359fbbf2c1e1250d4449da43753ae1d14bb14"}, + {file = "ddtrace-2.1.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:fcaee5f879bcde90675cca3c513d4a45ca57cfe5272ce7bcabbb4fe18690cb8d"}, + {file = "ddtrace-2.1.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:85877577b12bcc9360e0615d52f5a1cd109f8290bffaa55d05d0f3de2534c8e7"}, + {file = "ddtrace-2.1.1-cp312-cp312-win32.whl", hash = "sha256:24bec7240b680734a8255b00334d997b715424f872b85911344105b5bd59580d"}, + {file = "ddtrace-2.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:12c09e693d2cb1ee655423eeaa790cc16119f684ff3d21cd1cc591180db67310"}, + {file = "ddtrace-2.1.1-cp37-cp37m-macosx_11_0_x86_64.whl", hash = "sha256:19d1c4f887ef12492eacd426289af57acb1faaf8f7fe1284edbea42f21daf7f3"}, + {file = "ddtrace-2.1.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c584765282a1a647ea6085eef2367b504dab07432f50f6217b2c3ef9674d3217"}, + {file = "ddtrace-2.1.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:15080b762ff5f568ba24622c89a6ae77040d3f7f0d9faf16e16e50e4ac4475f0"}, + {file = "ddtrace-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a5efe1520ed6eba8c6a883cd7f82105e58d64351699cfdec41b2521f2e8ced9"}, + {file = "ddtrace-2.1.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:f8c0b0e7394d8f1ffd2e19b15a416061f3c2525e66100aa1a77d44c0887b0f08"}, + {file = "ddtrace-2.1.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:17f6c2600f95a86635ac9118ce35c470c64cf2e1a1760d0409a05abc6c3d0f3e"}, + {file = "ddtrace-2.1.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:17b09e9493ff7ac2137a31b414c8234dc14e03032419663d23c2a21ca8f5f34a"}, + {file = "ddtrace-2.1.1-cp37-cp37m-win32.whl", hash = "sha256:746e1dcb75c15f1b061b99fc4f8950dfef291e4873c196d09dd6895080249778"}, + {file = "ddtrace-2.1.1-cp37-cp37m-win_amd64.whl", hash = "sha256:9a8fd53ba04c97fc6f3c1c5c9f3bc2a11f1b76a79ddb449f90b1a96869f38435"}, + {file = "ddtrace-2.1.1-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:75913b17702f39e52f92024c7f165bf1dffa3c581e9e6b459217715af4317b74"}, + {file = "ddtrace-2.1.1-cp38-cp38-macosx_11_0_x86_64.whl", hash = "sha256:622d1aa0f09f79d9b086c6dffe11abb5ad1f41565ca8edb9341a25a1c0357778"}, + {file = "ddtrace-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a192e8f46586566268405a61aec22241a213fed3c227bf606e43b8fe6de3f54"}, + {file = "ddtrace-2.1.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9d7be83b3131fcb6564d204b3633495217824f7a39c5787ed2048b9c32f3e012"}, + {file = "ddtrace-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:64982eabee54d886034177b5dd1a2bb4201ae965b4249f17087b464839359958"}, + {file = "ddtrace-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:242b8cbec89cbbf78db247243d5b5c5a5226db77299d8807793acdc1f2bc05da"}, + {file = "ddtrace-2.1.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:89ff32f2af7fd8a61a737216c54b3d1852825877101dde94f73d3f886e441cb3"}, + {file = "ddtrace-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:b47d435845400f6042a7dea32b1870d304b12f3d1337dde8f66681e002f4ae45"}, + {file = "ddtrace-2.1.1-cp38-cp38-win32.whl", hash = "sha256:a456db350ba5034c21b3d07758636403409db06bb86a046b480265f87dbf09f2"}, + {file = "ddtrace-2.1.1-cp38-cp38-win_amd64.whl", hash = "sha256:9a62ba220ca5e999707c17c6a08072f9e44af085ad4c101cea97752ce53b3c2f"}, + {file = "ddtrace-2.1.1-cp39-cp39-macosx_11_0_universal2.whl", hash = "sha256:7b5351bd76931013b0d85aca06c3e5e74dbf5f4311ad401ca4fe2ad3814d83fb"}, + {file = "ddtrace-2.1.1-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:b757cef5ba0773f9c20e61129c4d0f5b9dc8ca099e50b75de8aaf8dbc505b279"}, + {file = "ddtrace-2.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:be3eff160d2af6004b420ea4f0afd4491d14aee874006db03a1622ccf2366ee5"}, + {file = "ddtrace-2.1.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:892d597c9ea720c85670084978d4adac8be1f3fa342d13a3546ed880130fab2e"}, + {file = "ddtrace-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e2111d948e2754964dbc8927a893087726d5370a0ec57e9976441da0b426e534"}, + {file = "ddtrace-2.1.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:efa8ddfcc1e0df60c21f8f516f046b68a1404f1ddf460014cdd308d36614e06a"}, + {file = "ddtrace-2.1.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:5439543bdf8c242c2265a432e335dae35d8cbf65f803ecaea6f798da6946c4ba"}, + {file = "ddtrace-2.1.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:45c6b1244e0265e1ebe36138d5aedbbbfa18e916d0e713bc660756e74543bb17"}, + {file = "ddtrace-2.1.1-cp39-cp39-win32.whl", hash = "sha256:461ad6be130b689c5a3ed19ce35943f510a451480867a582f52185957f613644"}, + {file = "ddtrace-2.1.1-cp39-cp39-win_amd64.whl", hash = "sha256:f5c6da9fe3463386b33b40060ccd61d75ff300d69edbca846a48b4f30aeccd5a"}, + {file = "ddtrace-2.1.1.tar.gz", hash = "sha256:efa029e9cae767d03fb71e1affa4ea19bff4749622faf03d75af404915b06ec7"}, +] + +[package.dependencies] +attrs = ">=20" +bytecode = {version = "*", markers = "python_version >= \"3.8\""} +cattrs = "*" +ddsketch = ">=2.0.1" +envier = "*" +opentelemetry-api = ">=1" +protobuf = ">=3" +psutil = ">=5.8,<6.0" +setuptools = {version = "*", markers = "python_version >= \"3.12\""} +six = ">=1.12.0" +typing-extensions = "*" +wrapt = ">=1.15,<2.0" +xmltodict = ">=0.12" + +[package.extras] +opentracing = ["opentracing (>=2.0.0)"] + +[[package]] +name = "deprecated" +version = "1.2.14" +description = "Python @deprecated decorator to deprecate old python classes, functions or methods." +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [ + {file = "Deprecated-1.2.14-py2.py3-none-any.whl", hash = "sha256:6fac8b097794a90302bdbb17b9b815e732d3c4720583ff1b198499d78470466c"}, + {file = "Deprecated-1.2.14.tar.gz", hash = "sha256:e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3"}, +] + +[package.dependencies] +wrapt = ">=1.10,<2" + +[package.extras] +dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"] + [[package]] name = "docker" version = "6.1.3" @@ -929,6 +1082,20 @@ websocket-client = ">=0.32.0" [package.extras] ssh = ["paramiko (>=2.4.3)"] +[[package]] +name = "envier" +version = "0.4.0" +description = "Python application configuration via the environment" +optional = false +python-versions = ">=2.7" +files = [ + {file = "envier-0.4.0-py3-none-any.whl", hash = "sha256:7b91af0f16ea3e56d91ec082f038987e81b441fc19c657a8b8afe0909740a706"}, + {file = "envier-0.4.0.tar.gz", hash = "sha256:e68dcd1ed67d8b6313883e27dff3e701b7fba944d2ed4b7f53d0cc2e12364a82"}, +] + +[package.extras] +mypy = ["mypy"] + [[package]] name = "fastapi" version = "0.103.2" @@ -1433,6 +1600,25 @@ files = [ {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, ] +[[package]] +name = "importlib-metadata" +version = "6.8.0" +description = "Read metadata from Python packages" +optional = false +python-versions = ">=3.8" +files = [ + {file = "importlib_metadata-6.8.0-py3-none-any.whl", hash = "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb"}, + {file = "importlib_metadata-6.8.0.tar.gz", hash = "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"}, +] + +[package.dependencies] +zipp = ">=0.5" + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] +perf = ["ipython"] +testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] + [[package]] name = "inflection" version = "0.5.1" @@ -1761,6 +1947,21 @@ files = [ [package.dependencies] setuptools = "*" +[[package]] +name = "opentelemetry-api" +version = "1.20.0" +description = "OpenTelemetry Python API" +optional = false +python-versions = ">=3.7" +files = [ + {file = "opentelemetry_api-1.20.0-py3-none-any.whl", hash = "sha256:982b76036fec0fdaf490ae3dfd9f28c81442a33414f737abc687a32758cdcba5"}, + {file = "opentelemetry_api-1.20.0.tar.gz", hash = "sha256:06abe351db7572f8afdd0fb889ce53f3c992dbf6f6262507b385cc1963e06983"}, +] + +[package.dependencies] +deprecated = ">=1.2.6" +importlib-metadata = ">=6.0,<7.0" + [[package]] name = "packaging" version = "23.2" @@ -1862,6 +2063,34 @@ files = [ {file = "protobuf-4.24.4.tar.gz", hash = "sha256:5a70731910cd9104762161719c3d883c960151eea077134458503723b60e3667"}, ] +[[package]] +name = "psutil" +version = "5.9.6" +description = "Cross-platform lib for process and system monitoring in Python." +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" +files = [ + {file = "psutil-5.9.6-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:fb8a697f11b0f5994550555fcfe3e69799e5b060c8ecf9e2f75c69302cc35c0d"}, + {file = "psutil-5.9.6-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:91ecd2d9c00db9817a4b4192107cf6954addb5d9d67a969a4f436dbc9200f88c"}, + {file = "psutil-5.9.6-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:10e8c17b4f898d64b121149afb136c53ea8b68c7531155147867b7b1ac9e7e28"}, + {file = "psutil-5.9.6-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:18cd22c5db486f33998f37e2bb054cc62fd06646995285e02a51b1e08da97017"}, + {file = "psutil-5.9.6-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:ca2780f5e038379e520281e4c032dddd086906ddff9ef0d1b9dcf00710e5071c"}, + {file = "psutil-5.9.6-cp27-none-win32.whl", hash = "sha256:70cb3beb98bc3fd5ac9ac617a327af7e7f826373ee64c80efd4eb2856e5051e9"}, + {file = "psutil-5.9.6-cp27-none-win_amd64.whl", hash = "sha256:51dc3d54607c73148f63732c727856f5febec1c7c336f8f41fcbd6315cce76ac"}, + {file = "psutil-5.9.6-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:c69596f9fc2f8acd574a12d5f8b7b1ba3765a641ea5d60fb4736bf3c08a8214a"}, + {file = "psutil-5.9.6-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:92e0cc43c524834af53e9d3369245e6cc3b130e78e26100d1f63cdb0abeb3d3c"}, + {file = "psutil-5.9.6-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:748c9dd2583ed86347ed65d0035f45fa8c851e8d90354c122ab72319b5f366f4"}, + {file = "psutil-5.9.6-cp36-cp36m-win32.whl", hash = "sha256:3ebf2158c16cc69db777e3c7decb3c0f43a7af94a60d72e87b2823aebac3d602"}, + {file = "psutil-5.9.6-cp36-cp36m-win_amd64.whl", hash = "sha256:ff18b8d1a784b810df0b0fff3bcb50ab941c3b8e2c8de5726f9c71c601c611aa"}, + {file = "psutil-5.9.6-cp37-abi3-win32.whl", hash = "sha256:a6f01f03bf1843280f4ad16f4bde26b817847b4c1a0db59bf6419807bc5ce05c"}, + {file = "psutil-5.9.6-cp37-abi3-win_amd64.whl", hash = "sha256:6e5fb8dc711a514da83098bc5234264e551ad980cec5f85dabf4d38ed6f15e9a"}, + {file = "psutil-5.9.6-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:daecbcbd29b289aac14ece28eca6a3e60aa361754cf6da3dfb20d4d32b6c7f57"}, + {file = "psutil-5.9.6.tar.gz", hash = "sha256:e4b92ddcd7dd4cdd3f900180ea1e104932c7bce234fb88976e2a3b296441225a"}, +] + +[package.extras] +test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"] + [[package]] name = "pyasn1" version = "0.5.0" @@ -2999,6 +3228,101 @@ MarkupSafe = ">=2.1.1" [package.extras] watchdog = ["watchdog"] +[[package]] +name = "wrapt" +version = "1.15.0" +description = "Module for decorators, wrappers and monkey patching." +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" +files = [ + {file = "wrapt-1.15.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ca1cccf838cd28d5a0883b342474c630ac48cac5df0ee6eacc9c7290f76b11c1"}, + {file = "wrapt-1.15.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:e826aadda3cae59295b95343db8f3d965fb31059da7de01ee8d1c40a60398b29"}, + {file = "wrapt-1.15.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:5fc8e02f5984a55d2c653f5fea93531e9836abbd84342c1d1e17abc4a15084c2"}, + {file = "wrapt-1.15.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:96e25c8603a155559231c19c0349245eeb4ac0096fe3c1d0be5c47e075bd4f46"}, + {file = "wrapt-1.15.0-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:40737a081d7497efea35ab9304b829b857f21558acfc7b3272f908d33b0d9d4c"}, + {file = "wrapt-1.15.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:f87ec75864c37c4c6cb908d282e1969e79763e0d9becdfe9fe5473b7bb1e5f09"}, + {file = "wrapt-1.15.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:1286eb30261894e4c70d124d44b7fd07825340869945c79d05bda53a40caa079"}, + {file = "wrapt-1.15.0-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:493d389a2b63c88ad56cdc35d0fa5752daac56ca755805b1b0c530f785767d5e"}, + {file = "wrapt-1.15.0-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:58d7a75d731e8c63614222bcb21dd992b4ab01a399f1f09dd82af17bbfc2368a"}, + {file = "wrapt-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:21f6d9a0d5b3a207cdf7acf8e58d7d13d463e639f0c7e01d82cdb671e6cb7923"}, + {file = "wrapt-1.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ce42618f67741d4697684e501ef02f29e758a123aa2d669e2d964ff734ee00ee"}, + {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41d07d029dd4157ae27beab04d22b8e261eddfc6ecd64ff7000b10dc8b3a5727"}, + {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54accd4b8bc202966bafafd16e69da9d5640ff92389d33d28555c5fd4f25ccb7"}, + {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2fbfbca668dd15b744418265a9607baa970c347eefd0db6a518aaf0cfbd153c0"}, + {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:76e9c727a874b4856d11a32fb0b389afc61ce8aaf281ada613713ddeadd1cfec"}, + {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e20076a211cd6f9b44a6be58f7eeafa7ab5720eb796975d0c03f05b47d89eb90"}, + {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a74d56552ddbde46c246b5b89199cb3fd182f9c346c784e1a93e4dc3f5ec9975"}, + {file = "wrapt-1.15.0-cp310-cp310-win32.whl", hash = "sha256:26458da5653aa5b3d8dc8b24192f574a58984c749401f98fff994d41d3f08da1"}, + {file = "wrapt-1.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:75760a47c06b5974aa5e01949bf7e66d2af4d08cb8c1d6516af5e39595397f5e"}, + {file = "wrapt-1.15.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ba1711cda2d30634a7e452fc79eabcadaffedf241ff206db2ee93dd2c89a60e7"}, + {file = "wrapt-1.15.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:56374914b132c702aa9aa9959c550004b8847148f95e1b824772d453ac204a72"}, + {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a89ce3fd220ff144bd9d54da333ec0de0399b52c9ac3d2ce34b569cf1a5748fb"}, + {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3bbe623731d03b186b3d6b0d6f51865bf598587c38d6f7b0be2e27414f7f214e"}, + {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3abbe948c3cbde2689370a262a8d04e32ec2dd4f27103669a45c6929bcdbfe7c"}, + {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b67b819628e3b748fd3c2192c15fb951f549d0f47c0449af0764d7647302fda3"}, + {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:7eebcdbe3677e58dd4c0e03b4f2cfa346ed4049687d839adad68cc38bb559c92"}, + {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:74934ebd71950e3db69960a7da29204f89624dde411afbfb3b4858c1409b1e98"}, + {file = "wrapt-1.15.0-cp311-cp311-win32.whl", hash = "sha256:bd84395aab8e4d36263cd1b9308cd504f6cf713b7d6d3ce25ea55670baec5416"}, + {file = "wrapt-1.15.0-cp311-cp311-win_amd64.whl", hash = "sha256:a487f72a25904e2b4bbc0817ce7a8de94363bd7e79890510174da9d901c38705"}, + {file = "wrapt-1.15.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:4ff0d20f2e670800d3ed2b220d40984162089a6e2c9646fdb09b85e6f9a8fc29"}, + {file = "wrapt-1.15.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:9ed6aa0726b9b60911f4aed8ec5b8dd7bf3491476015819f56473ffaef8959bd"}, + {file = "wrapt-1.15.0-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:896689fddba4f23ef7c718279e42f8834041a21342d95e56922e1c10c0cc7afb"}, + {file = "wrapt-1.15.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:75669d77bb2c071333417617a235324a1618dba66f82a750362eccbe5b61d248"}, + {file = "wrapt-1.15.0-cp35-cp35m-win32.whl", hash = "sha256:fbec11614dba0424ca72f4e8ba3c420dba07b4a7c206c8c8e4e73f2e98f4c559"}, + {file = "wrapt-1.15.0-cp35-cp35m-win_amd64.whl", hash = "sha256:fd69666217b62fa5d7c6aa88e507493a34dec4fa20c5bd925e4bc12fce586639"}, + {file = "wrapt-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b0724f05c396b0a4c36a3226c31648385deb6a65d8992644c12a4963c70326ba"}, + {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bbeccb1aa40ab88cd29e6c7d8585582c99548f55f9b2581dfc5ba68c59a85752"}, + {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:38adf7198f8f154502883242f9fe7333ab05a5b02de7d83aa2d88ea621f13364"}, + {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:578383d740457fa790fdf85e6d346fda1416a40549fe8db08e5e9bd281c6a475"}, + {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:a4cbb9ff5795cd66f0066bdf5947f170f5d63a9274f99bdbca02fd973adcf2a8"}, + {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:af5bd9ccb188f6a5fdda9f1f09d9f4c86cc8a539bd48a0bfdc97723970348418"}, + {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:b56d5519e470d3f2fe4aa7585f0632b060d532d0696c5bdfb5e8319e1d0f69a2"}, + {file = "wrapt-1.15.0-cp36-cp36m-win32.whl", hash = "sha256:77d4c1b881076c3ba173484dfa53d3582c1c8ff1f914c6461ab70c8428b796c1"}, + {file = "wrapt-1.15.0-cp36-cp36m-win_amd64.whl", hash = "sha256:077ff0d1f9d9e4ce6476c1a924a3332452c1406e59d90a2cf24aeb29eeac9420"}, + {file = "wrapt-1.15.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:5c5aa28df055697d7c37d2099a7bc09f559d5053c3349b1ad0c39000e611d317"}, + {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a8564f283394634a7a7054b7983e47dbf39c07712d7b177b37e03f2467a024e"}, + {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:780c82a41dc493b62fc5884fb1d3a3b81106642c5c5c78d6a0d4cbe96d62ba7e"}, + {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e169e957c33576f47e21864cf3fc9ff47c223a4ebca8960079b8bd36cb014fd0"}, + {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b02f21c1e2074943312d03d243ac4388319f2456576b2c6023041c4d57cd7019"}, + {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f2e69b3ed24544b0d3dbe2c5c0ba5153ce50dcebb576fdc4696d52aa22db6034"}, + {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:d787272ed958a05b2c86311d3a4135d3c2aeea4fc655705f074130aa57d71653"}, + {file = "wrapt-1.15.0-cp37-cp37m-win32.whl", hash = "sha256:02fce1852f755f44f95af51f69d22e45080102e9d00258053b79367d07af39c0"}, + {file = "wrapt-1.15.0-cp37-cp37m-win_amd64.whl", hash = "sha256:abd52a09d03adf9c763d706df707c343293d5d106aea53483e0ec8d9e310ad5e"}, + {file = "wrapt-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cdb4f085756c96a3af04e6eca7f08b1345e94b53af8921b25c72f096e704e145"}, + {file = "wrapt-1.15.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:230ae493696a371f1dbffaad3dafbb742a4d27a0afd2b1aecebe52b740167e7f"}, + {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63424c681923b9f3bfbc5e3205aafe790904053d42ddcc08542181a30a7a51bd"}, + {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6bcbfc99f55655c3d93feb7ef3800bd5bbe963a755687cbf1f490a71fb7794b"}, + {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c99f4309f5145b93eca6e35ac1a988f0dc0a7ccf9ccdcd78d3c0adf57224e62f"}, + {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b130fe77361d6771ecf5a219d8e0817d61b236b7d8b37cc045172e574ed219e6"}, + {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:96177eb5645b1c6985f5c11d03fc2dbda9ad24ec0f3a46dcce91445747e15094"}, + {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d5fe3e099cf07d0fb5a1e23d399e5d4d1ca3e6dfcbe5c8570ccff3e9208274f7"}, + {file = "wrapt-1.15.0-cp38-cp38-win32.whl", hash = "sha256:abd8f36c99512755b8456047b7be10372fca271bf1467a1caa88db991e7c421b"}, + {file = "wrapt-1.15.0-cp38-cp38-win_amd64.whl", hash = "sha256:b06fa97478a5f478fb05e1980980a7cdf2712015493b44d0c87606c1513ed5b1"}, + {file = "wrapt-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2e51de54d4fb8fb50d6ee8327f9828306a959ae394d3e01a1ba8b2f937747d86"}, + {file = "wrapt-1.15.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0970ddb69bba00670e58955f8019bec4a42d1785db3faa043c33d81de2bf843c"}, + {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76407ab327158c510f44ded207e2f76b657303e17cb7a572ffe2f5a8a48aa04d"}, + {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cd525e0e52a5ff16653a3fc9e3dd827981917d34996600bbc34c05d048ca35cc"}, + {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9d37ac69edc5614b90516807de32d08cb8e7b12260a285ee330955604ed9dd29"}, + {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:078e2a1a86544e644a68422f881c48b84fef6d18f8c7a957ffd3f2e0a74a0d4a"}, + {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:2cf56d0e237280baed46f0b5316661da892565ff58309d4d2ed7dba763d984b8"}, + {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:7dc0713bf81287a00516ef43137273b23ee414fe41a3c14be10dd95ed98a2df9"}, + {file = "wrapt-1.15.0-cp39-cp39-win32.whl", hash = "sha256:46ed616d5fb42f98630ed70c3529541408166c22cdfd4540b88d5f21006b0eff"}, + {file = "wrapt-1.15.0-cp39-cp39-win_amd64.whl", hash = "sha256:eef4d64c650f33347c1f9266fa5ae001440b232ad9b98f1f43dfe7a79435c0a6"}, + {file = "wrapt-1.15.0-py3-none-any.whl", hash = "sha256:64b1df0f83706b4ef4cfb4fb0e4c2669100fd7ecacfb59e091fad300d4e04640"}, + {file = "wrapt-1.15.0.tar.gz", hash = "sha256:d06730c6aed78cee4126234cf2d071e01b44b915e725a6cb439a879ec9754a3a"}, +] + +[[package]] +name = "xmltodict" +version = "0.13.0" +description = "Makes working with XML feel like you are working with JSON" +optional = false +python-versions = ">=3.4" +files = [ + {file = "xmltodict-0.13.0-py2.py3-none-any.whl", hash = "sha256:aa89e8fd76320154a40d19a0df04a4695fb9dc5ba977cbb68ab3e4eb225e7852"}, + {file = "xmltodict-0.13.0.tar.gz", hash = "sha256:341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56"}, +] + [[package]] name = "yamllint" version = "1.32.0" @@ -3017,7 +3341,22 @@ pyyaml = "*" [package.extras] dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] +[[package]] +name = "zipp" +version = "3.17.0" +description = "Backport of pathlib-compatible object wrapper for zip files" +optional = false +python-versions = ">=3.8" +files = [ + {file = "zipp-3.17.0-py3-none-any.whl", hash = "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31"}, + {file = "zipp-3.17.0.tar.gz", hash = "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"}, +] + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] +testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] + [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "237f7a8aecc4968527aff8f8bbb92f9e7cdd9be635cbb00b9c74d301b0dbb434" +content-hash = "c3115fcddc8b732d68c862b05685582a676ea89d8b37e3d788cd85375e2453a8" diff --git a/pyproject.toml b/pyproject.toml index 23724b12..2c9d99d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,7 @@ isort = "^5.12.0" ruff = "^0.0.292" yamllint = "^1.32.0" types-redis = "^4.6.0.7" +ddtrace = "^2.1.1" [build-system] @@ -51,7 +52,7 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.pytest.ini_options] -addopts = "--disable-warnings --cov=runner_manager --cov-report=xml" +addopts = "--disable-warnings --cov=runner_manager --cov-report=xml --ddtrace" # Add poetry scripts [tool.poetry.scripts]