mirror of
https://github.com/taigaio/taiga-back
synced 2025-10-05 15:52:48 +02:00
chore: Pin version click as workaround pip-tool bug
This commit is contained in:
@@ -3,5 +3,4 @@ set -euxo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
python3 -m venv .venv
|
||||
.venv/bin/python -m pip install --upgrade pip wheel setuptools
|
||||
.venv/bin/python -m pip install --upgrade pip-tools
|
||||
.venv/bin/python -m pip install -r requirements.txt -r requirements-devel.txt
|
||||
|
@@ -7,6 +7,15 @@ fi
|
||||
|
||||
set -euxo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# pip-tools==7.5.0 constraint
|
||||
#
|
||||
# With click 8.3.0, pip-compile's header now includes --xxx=None options that were not specified
|
||||
# https://github.com/jazzband/pip-tools/issues/2238
|
||||
python -m pip install --upgrade pip-tools 'click!=8.3.0'
|
||||
|
||||
python -m piptools compile --upgrade requirements.in
|
||||
python -m piptools compile --upgrade requirements-devel.in
|
||||
python -m piptools sync requirements.txt requirements-devel.txt
|
||||
|
||||
python -m pip install --upgrade pip wheel setuptools
|
||||
python -m pip install -r requirements.txt -r requirements-devel.txt
|
||||
|
Reference in New Issue
Block a user