Disable the _distutils_hack in newer setuptools (#76600)

* Disable the _distutils_hack in newer setuptools. Doesn't fix the underlying issue of the venv finding the _distutils_hack of a setuptools that is not its own.

ci_complete

* re-throw blanket
pull/76617/head
Sloane Hertel 3 years ago committed by GitHub
parent eedf2e476c
commit fa617fcd7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,6 +4,7 @@ set -eu
source virtualenv.sh
set +x
unset PYTHONPATH
export SETUPTOOLS_USE_DISTUTILS=stdlib
base_dir="$(dirname "$(dirname "$(dirname "$(dirname "${OUTPUT_DIR}")")")")"
bin_dir="$(dirname "$(command -v pip)")"

@ -4,3 +4,5 @@
pip: # no package in pkg, just use pip
name: paramiko
extra_args: "-c {{ remote_constraints }}"
environment:
SETUPTOOLS_USE_DISTUTILS: stdlib

@ -4,3 +4,5 @@
pip: # no python3-paramiko package exists for RHEL 8
name: paramiko
extra_args: "-c {{ remote_constraints }}"
environment:
SETUPTOOLS_USE_DISTUTILS: stdlib

Loading…
Cancel
Save