Merge pull request #249798 from tjni/awscli2

awscli2: enable building without pip in the environment
This commit is contained in:
OTABI Tomoya
2023-08-18 10:35:29 +09:00
committed by GitHub
+5
View File
@@ -47,6 +47,11 @@ with py.pkgs; buildPythonApplication rec {
substituteInPlace pyproject.toml \
--replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2' \
--replace 'flit_core>=3.7.1,<3.8.1' 'flit_core>=3.7.1'
# upstream needs pip to build and install dependencies and validates this
# with a configure script, but we don't as we provide all of the packages
# through PYTHONPATH
sed -i '/pip>=/d' requirements/bootstrap.txt
'';
nativeBuildInputs = [