Add `pip install wheel` to avoid legacy `setup.py install` (#8597)
Browse files* Update ci-testing with `pip install wheel`
* Update ci-testing.yml
* Update dockerfiles
.github/workflows/ci-testing.yml
CHANGED
@@ -32,7 +32,7 @@ jobs:
|
|
32 |
# restore-keys: ${{ runner.os }}-Benchmarks-
|
33 |
- name: Install requirements
|
34 |
run: |
|
35 |
-
python -m pip install --upgrade pip
|
36 |
pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
|
37 |
python --version
|
38 |
pip --version
|
@@ -77,7 +77,7 @@ jobs:
|
|
77 |
restore-keys: ${{ runner.os }}-${{ matrix.python-version }}-pip-
|
78 |
- name: Install requirements
|
79 |
run: |
|
80 |
-
python -m pip install --upgrade pip
|
81 |
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
82 |
python --version
|
83 |
pip --version
|
|
|
32 |
# restore-keys: ${{ runner.os }}-Benchmarks-
|
33 |
- name: Install requirements
|
34 |
run: |
|
35 |
+
python -m pip install --upgrade pip wheel
|
36 |
pip install -r requirements.txt coremltools openvino-dev tensorflow-cpu --extra-index-url https://download.pytorch.org/whl/cpu
|
37 |
python --version
|
38 |
pip --version
|
|
|
77 |
restore-keys: ${{ runner.os }}-${{ matrix.python-version }}-pip-
|
78 |
- name: Install requirements
|
79 |
run: |
|
80 |
+
python -m pip install --upgrade pip wheel
|
81 |
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
82 |
python --version
|
83 |
pip --version
|
utils/docker/Dockerfile
CHANGED
@@ -14,7 +14,7 @@ RUN apt update && apt install --no-install-recommends -y zip htop screen libgl1-
|
|
14 |
|
15 |
# Install pip packages
|
16 |
COPY requirements.txt .
|
17 |
-
RUN python -m pip install --upgrade pip
|
18 |
RUN pip uninstall -y torch torchvision torchtext Pillow
|
19 |
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook Pillow>=9.1.0 \
|
20 |
'opencv-python<4.6.0.66' \
|
|
|
14 |
|
15 |
# Install pip packages
|
16 |
COPY requirements.txt .
|
17 |
+
RUN python -m pip install --upgrade pip wheel
|
18 |
RUN pip uninstall -y torch torchvision torchtext Pillow
|
19 |
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook Pillow>=9.1.0 \
|
20 |
'opencv-python<4.6.0.66' \
|
utils/docker/Dockerfile-arm64
CHANGED
@@ -17,7 +17,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop gcc \
|
|
17 |
|
18 |
# Install pip packages
|
19 |
COPY requirements.txt .
|
20 |
-
RUN python3 -m pip install --upgrade pip
|
21 |
RUN pip install --no-cache -r requirements.txt gsutil notebook \
|
22 |
tensorflow-aarch64
|
23 |
# tensorflowjs \
|
|
|
17 |
|
18 |
# Install pip packages
|
19 |
COPY requirements.txt .
|
20 |
+
RUN python3 -m pip install --upgrade pip wheel
|
21 |
RUN pip install --no-cache -r requirements.txt gsutil notebook \
|
22 |
tensorflow-aarch64
|
23 |
# tensorflowjs \
|
utils/docker/Dockerfile-cpu
CHANGED
@@ -16,7 +16,7 @@ RUN apt install --no-install-recommends -y python3-pip git zip curl htop libgl1-
|
|
16 |
|
17 |
# Install pip packages
|
18 |
COPY requirements.txt .
|
19 |
-
RUN python3 -m pip install --upgrade pip
|
20 |
RUN pip install --no-cache -r requirements.txt albumentations gsutil notebook \
|
21 |
coremltools onnx onnx-simplifier onnxruntime openvino-dev tensorflow-cpu tensorflowjs \
|
22 |
--extra-index-url https://download.pytorch.org/whl/cpu
|
|
|
16 |
|
17 |
# Install pip packages
|
18 |
COPY requirements.txt .
|
19 |
+
RUN python3 -m pip install --upgrade pip wheel
|
20 |
RUN pip install --no-cache -r requirements.txt albumentations gsutil notebook \
|
21 |
coremltools onnx onnx-simplifier onnxruntime openvino-dev tensorflow-cpu tensorflowjs \
|
22 |
--extra-index-url https://download.pytorch.org/whl/cpu
|