From d5f7f616f0c525329112169f8d4978cdb0741191 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 14 Jul 2026 18:41:29 +0500 Subject: [PATCH] downstream: bonsai pyproject: move pytest deps to requirements-dev.txt --- .github/workflows/ci-bonsai-daily.yml | 3 +-- src/bonsai/pyproject.toml | 6 ------ src/bonsai/requirements-dev.txt | 3 +++ 3 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 src/bonsai/requirements-dev.txt diff --git a/.github/workflows/ci-bonsai-daily.yml b/.github/workflows/ci-bonsai-daily.yml index 5e1e90e8d9..5c23f7449d 100644 --- a/.github/workflows/ci-bonsai-daily.yml +++ b/.github/workflows/ci-bonsai-daily.yml @@ -179,8 +179,7 @@ jobs: blender --online-mode --command extension install --enable --sync sun_position cd IfcOpenShell/src/bonsai - pip install pytest-blender - pip install pytest-bdd + pip install -r requirements-dev.txt blender --background --python scripts/setup_pytest.py blender --python-expr "import bonsai; print(bonsai.bbim_semver); import ifcopenshell; print(ifcopenshell.version)" --background make test diff --git a/src/bonsai/pyproject.toml b/src/bonsai/pyproject.toml index 4ee183cba0..6d2fd45f19 100644 --- a/src/bonsai/pyproject.toml +++ b/src/bonsai/pyproject.toml @@ -18,12 +18,6 @@ dependencies = [ "ifcopenshell", ] -[project.optional-dependencies] -dev = [ - "pytest-blender", - "pytest-bdd", -] - [project.urls] Homepage = "http://bonsaibim.org" Documentation = "https://docs.bonsaibim.org" diff --git a/src/bonsai/requirements-dev.txt b/src/bonsai/requirements-dev.txt new file mode 100644 index 0000000000..5d543aa164 --- /dev/null +++ b/src/bonsai/requirements-dev.txt @@ -0,0 +1,3 @@ +pytest +pytest-blender +pytest-bdd