From 8a6919f2a36dcc8e82de9cf19261adf65e0e4a3c Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Fri, 3 Jan 2025 19:20:24 +0100 Subject: [PATCH] ci: Workaround for https://github.com/saltstack/relenv/issues/182 relenv version 0.16.0 bundled with SaltStack 3007.1 has a bug that prevents the installation of the PyPI package "mysqlclient". This change applies a known workaround to enable the package to install in the Salt minion onedir. --- e107_tests/lib/ci/salt/states/e107-dev.sls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e107_tests/lib/ci/salt/states/e107-dev.sls b/e107_tests/lib/ci/salt/states/e107-dev.sls index ffc6e1e5e..49b153842 100644 --- a/e107_tests/lib/ci/salt/states/e107-dev.sls +++ b/e107_tests/lib/ci/salt/states/e107-dev.sls @@ -10,6 +10,9 @@ MySQLdb Python module for SaltStack: - name: mysqlclient - require: - pkg: "Install Python module build dependencies" + - reload_modules: True + - extra_args: + - --no-build-isolation Install LAMP stack: pkg.installed: