diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index ca83bf8a2..df08c8f30 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3 - name: Install dependencies run: | - pip install --upgrade pip setuptools wheel + pip install --upgrade pip setuptools==65.7.0 wheel pip install -r ./dev-support/style-check/python/lint-requirements.txt pip install -r ./dev-support/style-check/python/mypy-requirements.txt - name: List installed packages @@ -64,7 +64,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install requirements run: | - pip install --upgrade pip setuptools wheel + pip install --upgrade pip setuptools==65.7.0 wheel pip install -r ./submarine-sdk/pysubmarine/github-actions/test-requirements.txt - name: Install pysubmarine with tf1 and pytorch if: ${{ matrix.tf-version == '1.15.0' }} @@ -155,13 +155,13 @@ jobs: - name: Install tf1 dependencies if: ${{ matrix.tf-version == '1.15.0' }} run: | - pip install --upgrade pip setuptools wheel + pip install --upgrade pip setuptools==65.7.0 wheel pip install --no-cache-dir -e ./submarine-sdk/pysubmarine/.[tf,pytorch] pip install -r ./submarine-sdk/pysubmarine/github-actions/test-requirements.txt - name: Install tf2 dependencies if: startsWith(matrix.tf-version, '2.') run: | - pip install --upgrade pip setuptools wheel + pip install --upgrade pip setuptools==65.7.0 wheel pip install --no-cache-dir -e ./submarine-sdk/pysubmarine/.[tf2,pytorch] pip install --no-cache-dir 'tensorflow~=${{ matrix.tf-version }}' pip install -r ./submarine-sdk/pysubmarine/github-actions/test-requirements.txt