URL: https://github.com/freeipa/freeipa/pull/6053 Author: stanislavlevin Title: #6053: azure: Don't customize pip's builddir Action: opened
PR body: """ As of 21.3 pip: > Remove the --build-dir option and aliases, one last time. (pypa/pip#10485) https://pip.pypa.io/en/stable/news/#v21-3 Previous versions warn about deprecation. The builddir is provided to pip via env variable PIP_BUILD in Tox task. The purpose of changing of default builddir was noexec mount option for /tmp in Travis (see 17d571c961). Since Travis is no longer used and Azure lacks this issue the PIP_BUILD can be safely removed. Note: pip 21.3 just ignores this env variable, which is more than can be said for the command line option. It's better to clean it up, since the behaviour may be changed in future. Fixes: https://pagure.io/freeipa/issue/9011 Signed-off-by: Stanislav Levin <s...@altlinux.org> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/6053/head:pr6053 git checkout pr6053
From 6b3677ce002767a40357e9bdd592e6b360896a03 Mon Sep 17 00:00:00 2001 From: Stanislav Levin <s...@altlinux.org> Date: Tue, 19 Oct 2021 13:32:57 +0300 Subject: [PATCH] azure: Don't customize pip's builddir As of 21.3 pip: > Remove the --build-dir option and aliases, one last time. (pypa/pip#10485) https://pip.pypa.io/en/stable/news/#v21-3 Previous versions warn about deprecation. The builddir is provided to pip via env variable PIP_BUILD in Tox task. The purpose of changing of default builddir was noexec mount option for /tmp in Travis (see 17d571c961). Since Travis is no longer used and Azure lacks this issue the PIP_BUILD can be safely removed. Note: pip 21.3 just ignores this env variable, which is more than can be said for the command line option. It's better to clean it up, since the behaviour may be changed in future. Fixes: https://pagure.io/freeipa/issue/9011 Signed-off-by: Stanislav Levin <s...@altlinux.org> --- .tox-install.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.tox-install.sh b/.tox-install.sh index ff22b4d79fe..895c41a2b0e 100755 --- a/.tox-install.sh +++ b/.tox-install.sh @@ -35,12 +35,6 @@ fi export PIP_CACHE_DIR="${TOXINIDIR}/.tox/cache" mkdir -p "${PIP_CACHE_DIR}" -# /tmp could be mounted with noexec option. -# pip checks if path is executable and if not then doesn't set such -# permission bits -export PIP_BUILD="${ENVDIR}/pip_build" -rm -rf "${PIP_BUILD}" - DISTBUNDLE="${TOXINIDIR}/dist/bundle" mkdir -p "${DISTBUNDLE}"
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure