Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 2f60679

Browse files
authored
fix: pip3 install now does not accept the --use-feature=in-tree-build (#146)
The feature flag `--use-feature=in-tree-build` was introduced in pip 21.1 and then the feature was mainlined in pip 21.3. With the flag in place `pip install` command fails and `kic_utils` fails to build. Based on the changelog which states that this behavior is default in pip 21.3+ and the current build installs pip 22.1 we remove the flag. fixes #145
1 parent 752f169 commit 2f60679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/setup_venv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ fi
197197
# Install general package requirements
198198
pip3 install --requirement "${script_dir}/../pulumi/python/requirements.txt"
199199
# Install local common utilities module
200-
pip3 install --use-feature=in-tree-build "${script_dir}/../pulumi/python/utility/kic-pulumi-utils" &&
200+
pip3 install "${script_dir}/../pulumi/python/utility/kic-pulumi-utils" &&
201201
rm -rf "${script_dir}/../pulumi/python/utility/kic-pulumi-utils/.eggs" \
202202
"${script_dir}/../pulumi/python/utility/kic-pulumi-utils/build" \
203203
"${script_dir}/../pulumi/python/utility/kic-pulumi-utils/kic_pulumi_utils.egg-info"

0 commit comments

Comments
 (0)