From 7007dae55654966ff43ed3a25a0d619f53211b8b Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Thu, 13 Jun 2024 13:41:32 -0700 Subject: [PATCH] Separate python dep into groups (#32739) * split * only zstd old-commit-hash: 9ffd973be9bdfe1be1097f9a2618ba76991616e4 --- poetry.lock | 4 ++-- pyproject.toml | 48 +++++++++++++++++++++++++++--------------------- 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/poetry.lock b/poetry.lock index 532a43c6a1..1c60a2140c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:35ddb7f95b0443e48f540d6b7ec0b01b4d35da2c7b758de47fb6f0040dac527d -size 627912 +oid sha256:679471ca12c6a741705ce235dd6c8995672f3dea43835e0b498e36796d69dc85 +size 628402 diff --git a/pyproject.toml b/pyproject.toml index edc515771a..e46f7d51a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,55 +139,61 @@ psutil = "*" timezonefinder = "*" # just used for nav ETA pycryptodome = "*" # used in updated/casync, panda, body, and a test +[tool.poetry.group.docs.dependencies] +Jinja2 = "*" +sphinx = "*" +sphinx-rtd-theme = "*" +sphinx-sitemap = "*" + +[tool.poetry.group.testing.dependencies] +coverage = "*" +hypothesis = "~6.47" +mypy = "*" +pre-commit = "*" +pytest = "*" +pytest-cov = "*" +pytest-cpp = "*" +pytest-subtests = "*" +pytest-xdist = "*" +pytest-timeout = "*" +pytest-randomly = "*" +pytest-asyncio = "*" +pytest-mock = "*" +pytest-repeat = "*" +ruff = "*" + +[tool.poetry.group.tools.dependencies] +zstd = "*" + [tool.poetry.group.dev.dependencies] av = "*" azure-identity = "*" azure-storage-blob = "*" breathe = "*" control = "*" -coverage = "*" dictdiffer = "*" flaky = "*" -hypothesis = "~6.47" inputs = "*" -Jinja2 = "*" lru-dict = "*" matplotlib = "*" metadrive-simulator = { git = "https://github.com/commaai/metadrive.git", branch = "python3.12", markers = "platform_machine != 'aarch64'" } # no linux/aarch64 wheels for certain dependencies mpld3 = "*" -mypy = "*" myst-parser = "*" natsort = "*" opencv-python-headless = "*" parameterized = "^0.8" #pprofile = "*" polyline = "*" -pre-commit = "*" pyautogui = "*" -pyopencl = { version = "*", markers = "platform_machine != 'aarch64'" } # broken on arm64 pygame = "*" +pyopencl = { version = "*", markers = "platform_machine != 'aarch64'" } # broken on arm64 pywinctl = "*" pyprof2calltree = "*" -pytest = "*" -pytest-cov = "*" -pytest-cpp = "*" -pytest-subtests = "*" -pytest-xdist = "*" -pytest-timeout = "*" -pytest-randomly = "*" -pytest-asyncio = "*" -pytest-mock = "*" -pytest-repeat = "*" rerun-sdk = "*" -ruff = "*" -sphinx = "*" -sphinx-rtd-theme = "*" -sphinx-sitemap = "*" tabulate = "*" types-requests = "*" types-tabulate = "*" tqdm = "*" -zstd = "*" # this is only pinned since 5.15.11 is broken pyqt5 = { version = "==5.15.2", markers = "platform_machine == 'x86_64'" } # no aarch64 wheels for macOS/linux