diff --git a/.github/workflows/client-pypi-release.yaml b/.github/workflows/client-pypi-release.yaml index ada322b26..b2ce04448 100644 --- a/.github/workflows/client-pypi-release.yaml +++ b/.github/workflows/client-pypi-release.yaml @@ -19,7 +19,7 @@ jobs: with: python-version: '3.11' - name: Install Deps - run: pip install -U twine wheel + run: pip install -U twine==5.1.1 wheel==0.44.0 - name: Build Artifacts run: | cd client diff --git a/.github/workflows/client-verify.yaml b/.github/workflows/client-verify.yaml index 601d194d1..8aae58187 100644 --- a/.github/workflows/client-verify.yaml +++ b/.github/workflows/client-verify.yaml @@ -39,7 +39,7 @@ jobs: - name: Install tox run: | - pip install tox + pip install tox==4.16.0 - name: Run styles check run: tox -elint diff --git a/.github/workflows/docs-verify.yaml b/.github/workflows/docs-verify.yaml index 437902603..2983cf729 100644 --- a/.github/workflows/docs-verify.yaml +++ b/.github/workflows/docs-verify.yaml @@ -16,8 +16,8 @@ jobs: python-version: '3.11' - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install tox + python -m pip install --upgrade pip==24.2 + pip install tox==4.16.0 sudo apt-get update sudo apt-get install -y pandoc - name: Build docs diff --git a/.github/workflows/gateway-verify.yaml b/.github/workflows/gateway-verify.yaml index 5c9153128..de4af5fe2 100644 --- a/.github/workflows/gateway-verify.yaml +++ b/.github/workflows/gateway-verify.yaml @@ -39,7 +39,7 @@ jobs: - name: Install tox run: | - pip install tox + pip install tox==4.16.0 - name: Run styles check run: tox -elint diff --git a/.github/workflows/kubernetes-deploy.yaml b/.github/workflows/kubernetes-deploy.yaml index 14f40fada..39c36c943 100644 --- a/.github/workflows/kubernetes-deploy.yaml +++ b/.github/workflows/kubernetes-deploy.yaml @@ -61,7 +61,7 @@ jobs: python-version: "3.11" - name: Install dependencies run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip==24.2 cd client pip install . --no-cache-dir pip install --no-cache-dir \ @@ -73,7 +73,7 @@ jobs: qiskit-ibm-provider>=0.9.0 \ qiskit-aer>=0.13.3 \ certifi==2024.7.4 - pip install nbmake pytest + pip install nbmake==1.5.4 pytest==8.3.2 - name: Run tests run: | kubectl patch svc gateway -p '{"spec": {"type": "LoadBalancer"}}' diff --git a/.github/workflows/proxy-verify.yaml b/.github/workflows/proxy-verify.yaml index e36069e28..823c08a3f 100644 --- a/.github/workflows/proxy-verify.yaml +++ b/.github/workflows/proxy-verify.yaml @@ -39,7 +39,7 @@ jobs: - name: Install tox run: | - pip install tox + pip install tox==4.16.0 - name: Run styles check run: tox -elint diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index 364c5e58a..65eca4a7c 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -21,8 +21,8 @@ jobs: python-version: '3.11' - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install tox + python -m pip install --upgrade pip==24.2 + pip install tox==4.16.0 sudo apt-get update sudo apt-get install -y pandoc - name: Build docs diff --git a/Dockerfile-ray-node b/Dockerfile-ray-node index 3952331ba..80e320b78 100644 --- a/Dockerfile-ray-node +++ b/Dockerfile-ray-node @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9-minimal:9.4 +FROM registry.access.redhat.com/ubi9-minimal:9.4@sha256:104cf11d890aeb7dd5728b7d7732e175a0e4018f1bb00d2faebcc8f6bf29bd52 RUN microdnf install -y python3.11-3.11.7 python3.11-pip-22.3.1 python3.11-devel-3.11.7 vim-enhanced-8.2.2637 wget-1.21.1 &&\ microdnf clean all RUN ln -s /usr/bin/python3.11 /usr/local/bin/python3 && \ diff --git a/docs/deployment/custom_function/Sample-Dockerfile b/docs/deployment/custom_function/Sample-Dockerfile index 79a125e53..01c411637 100644 --- a/docs/deployment/custom_function/Sample-Dockerfile +++ b/docs/deployment/custom_function/Sample-Dockerfile @@ -1,4 +1,4 @@ -FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2-py310 +FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2-py310@sha256:e012a6f7159b2660dd87af15bf85029fe62bec22e6bef7d99e54ca0cfa4f3aa6 # install all necessary dependencies for your custom image diff --git a/gateway/Dockerfile b/gateway/Dockerfile index d64ec4943..8acd4e363 100644 --- a/gateway/Dockerfile +++ b/gateway/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9-minimal:9.4 +FROM registry.access.redhat.com/ubi9-minimal:9.4@sha256:104cf11d890aeb7dd5728b7d7732e175a0e4018f1bb00d2faebcc8f6bf29bd52 RUN microdnf install -y python3.11-3.11.7 python3.11-pip-22.3.1 python3.11-devel-3.11.7 vim-enhanced-8.2.2637 &&\ microdnf clean all RUN ln -s /usr/bin/python3.11 /usr/local/bin/python3 && \