Skip to content

Commit c51b658

Browse files
committed
Disabled pip-sync for now due to incompatibility with latest pip version
1 parent 14c4449 commit c51b658

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if [ ! -d "$VENV" ]; then
3838
python -m venv "$VENV"
3939
"$VENV/bin/python" -m pip install --upgrade pip
4040
"$VENV/bin/pip" install pip-tools
41-
"$VENV/bin/pip-sync" requirements.txt
41+
"$VENV/bin/pip" install -r requirements.txt
4242
fi
4343

4444
# Run the install.py script with arguments

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if [[ ! -d "$VENV" ]]; then
5454
python -m venv "$VENV"
5555
"$VENV/bin/python" -m pip install --upgrade pip
5656
"$VENV/bin/pip" install pip-tools
57-
"$VENV/bin/pip-sync" requirements.txt
57+
"$VENV/bin/pip" install -r requirements.txt
5858
fi
5959

6060
PROGRAM="run.py"

update.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def install_requirements() -> subprocess.CompletedProcess:
3131
# Then run pip-sync to synchronize the environment with requirements.txt
3232
cmd = [
3333
sys.executable,
34-
'-m', 'piptools', 'sync', 'requirements.txt'
34+
# '-m', 'piptools', 'sync', 'requirements.txt' # temporary disabled due to pip / pip-sync mismatch
35+
'-m', 'pip', 'install', '-r', 'requirements.txt'
3536
]
3637
if os.path.exists('requirements.local'):
3738
cmd.append('requirements.local')

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if [ ! -d "$VENV" ]; then
3131
python -m venv "$VENV"
3232
"$VENV/bin/python" -m pip install --upgrade pip
3333
"$VENV/bin/pip" install pip-tools
34-
"$VENV/bin/pip-sync" requirements.txt
34+
"$VENV/bin/pip" install -r requirements.txt
3535
fi
3636

3737
# Run the `update.py` script with the `--no-restart` flag and any additional arguments

0 commit comments

Comments
 (0)