Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hotfix] Do not use cache when installing python requirements #366

Merged
merged 12 commits into from
Oct 22, 2021
20 changes: 10 additions & 10 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ pipeline {
TOXENV = 'py36-conancurrent'
}
steps {
bat 'tox'
bat 'tox -v'
}
}
stage('Windows - py36 - conanprev') {
environment {
TOXENV = 'py36-conanprev'
}
steps {
bat 'tox'
bat 'tox -v'
}
}
}
Expand All @@ -53,15 +53,15 @@ pipeline {
TOXENV = 'py39-conancurrent'
}
steps {
bat 'tox'
bat 'tox -v'
}
}
stage('Windows - py39 - conanprev') {
environment {
TOXENV = 'py39-conanprev'
}
steps {
bat 'tox'
bat 'tox -v'
}
}
}
Expand Down Expand Up @@ -92,7 +92,7 @@ pipeline {
sh '''
eval "$(pyenv init -)"
pyenv activate conan
tox
tox -v
'''
}
}
Expand All @@ -104,7 +104,7 @@ pipeline {
sh '''
eval "$(pyenv init -)"
pyenv activate conan
tox
tox -v
'''
}
}
Expand All @@ -131,7 +131,7 @@ pipeline {
sh '''
eval "$(pyenv init -)"
pyenv activate conan
tox
tox -v
'''
}
}
Expand All @@ -143,7 +143,7 @@ pipeline {
sh '''
eval "$(pyenv init -)"
pyenv activate conan
tox
tox -v
'''
}
}
Expand All @@ -155,7 +155,7 @@ pipeline {
sh '''
eval "$(pyenv init -)"
pyenv activate conan
tox
tox -v
'''
}
}
Expand All @@ -167,7 +167,7 @@ pipeline {
sh '''
eval "$(pyenv init -)"
pyenv activate conan
tox
tox -v
'''
}
}
Expand Down
4 changes: 2 additions & 2 deletions .ci/generate_env_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ esac

pyenv activate conan
python --version
pip install --upgrade pip
pip3 install --requirement .ci/requirements_linux.txt
python -m pip install --no-cache-dir --upgrade pip
python -m pip install --no-cache-dir --requirement .ci/requirements_linux.txt
python .ci/last_conan_version.py
1 change: 1 addition & 0 deletions .ci/generate_env_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ IF "%PYVER%"=="py36" (
set TEST_FOLDER=D:/J/t/Hooks/%BUILD_NUMBER%/%PYVER%

virtualenv --python "C:/%PYVER%/python.exe" %TEST_FOLDER% && %TEST_FOLDER%/Scripts/activate && python --version
python -m pip install --no-cache-dir pip --upgrade
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ deps =
conanprev: conan-unknown
conanprevprev: conan-unknown
coverage: coverage-enable-subprocess
-r {toxinidir}/tests/requirements_test.txt
--no-cache-dir -r {toxinidir}/tests/requirements_test.txt


setenv =
Expand Down