mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
use constraints.txt to prevent any downgrades during pip install
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -420,7 +420,10 @@ jobs:
|
|||||||
cryptography
|
cryptography
|
||||||
"${PYTHON}" -m pip install --force-reinstall --no-deps cryptography*.whl
|
"${PYTHON}" -m pip install --force-reinstall --no-deps cryptography*.whl
|
||||||
fi
|
fi
|
||||||
"${PYTHON}" -m pip install --upgrade -r requirements.txt ${PIP_ARGS}
|
# build constraints file to prevent downgrades of existing
|
||||||
|
# packages
|
||||||
|
"${PYTHON}" -m pip freeze | grep == | sed 's/==/>=/' > constraints.txt
|
||||||
|
"${PYTHON}" -m pip install --upgrade -c constraints.txt -r requirements.txt ${PIP_ARGS}
|
||||||
"${PYTHON}" -m pip list
|
"${PYTHON}" -m pip list
|
||||||
|
|
||||||
- name: Install PyInstaller
|
- name: Install PyInstaller
|
||||||
|
|||||||
Reference in New Issue
Block a user