From 109647c04978d5ecb1e7bb1b9a87b238a161863b Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Sat, 14 Sep 2024 21:25:02 +0100 Subject: [PATCH] [tox] add LOCALE_ARCHIVE to passenv This change enable the tox -e docs env to work for python installed using the nix package manager. Change-Id: I84d865e00979e84abc541ccbbc7c0ed43fcb8357 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 41f146191814..c4eb5747da4c 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,11 @@ extras = zvm vmware passenv = + # LOCALE_ARCHIVE is needed when not using python from the system package + # manager (e.g. when installed with nix) to ensure the locale-archive is + # available to the tests. specifically this is needed by sphinx to build + # the docs. + LOCALE_ARCHIVE OS_DEBUG GENERATE_HASHES # Note(sean-k-mooney):