From 16530b78e87d32077cb73c875bb3b8ce45432e27 Mon Sep 17 00:00:00 2001 From: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> Date: Thu, 15 Jan 2026 14:22:02 +0530 Subject: [PATCH] fix(ci): use setup-python version for pipenv virtualenv The documentation workflow was failing because pipenv was using the system Python 3.12 instead of the Python 3.10 installed by actions/setup-python. This caused an ImportError when pipdeptree tried to run in the virtualenv with a different Python version. Fix by explicitly specifying --python to ensure pipenv creates the virtualenv with the correct Python version. Fixes #1193 Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d33eb560..9efaa12d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -42,7 +42,7 @@ jobs: pipx install pipenv - name: Install dependencies run: | - pipenv install --dev + pipenv --python $(which python) install --dev pipenv install sphinx pipenv install sphinx_rtd_theme - name: Build docs