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 | 68 +++++++++++++++++++++++++++----------------------- 2 files changed, 39 insertions(+), 33 deletions(-) diff --git a/poetry.lock b/poetry.lock index 532a43c6a..1c60a2140 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 edc515771..e46f7d51a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,35 +139,17 @@ psutil = "*" timezonefinder = "*" # just used for nav ETA pycryptodome = "*" # used in updated/casync, panda, body, and a test -[tool.poetry.group.dev.dependencies] -av = "*" -azure-identity = "*" -azure-storage-blob = "*" -breathe = "*" -control = "*" -coverage = "*" -dictdiffer = "*" -flaky = "*" -hypothesis = "~6.47" -inputs = "*" +[tool.poetry.group.docs.dependencies] 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 = "*" +sphinx = "*" +sphinx-rtd-theme = "*" +sphinx-sitemap = "*" + +[tool.poetry.group.testing.dependencies] +coverage = "*" +hypothesis = "~6.47" 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 = "*" -pywinctl = "*" -pyprof2calltree = "*" pytest = "*" pytest-cov = "*" pytest-cpp = "*" @@ -178,16 +160,40 @@ pytest-randomly = "*" pytest-asyncio = "*" pytest-mock = "*" pytest-repeat = "*" -rerun-sdk = "*" ruff = "*" -sphinx = "*" -sphinx-rtd-theme = "*" -sphinx-sitemap = "*" + +[tool.poetry.group.tools.dependencies] +zstd = "*" + +[tool.poetry.group.dev.dependencies] +av = "*" +azure-identity = "*" +azure-storage-blob = "*" +breathe = "*" +control = "*" +dictdiffer = "*" +flaky = "*" +inputs = "*" +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 = "*" +myst-parser = "*" +natsort = "*" +opencv-python-headless = "*" +parameterized = "^0.8" +#pprofile = "*" +polyline = "*" +pyautogui = "*" +pygame = "*" +pyopencl = { version = "*", markers = "platform_machine != 'aarch64'" } # broken on arm64 +pywinctl = "*" +pyprof2calltree = "*" +rerun-sdk = "*" 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