diff --git a/.github/workflows/build-containers-test.yaml b/.github/workflows/build-containers-test.yaml index 6f0ae05bf..b998003ce 100644 --- a/.github/workflows/build-containers-test.yaml +++ b/.github/workflows/build-containers-test.yaml @@ -20,10 +20,13 @@ jobs: python: - "3.9" - "3.10" + - "3.11" exclude: # gateway is only built using python 3.10 - dockerfile: gateway/Dockerfile python: "3.9" + - dockerfile: gateway/Dockerfile + python: "3.11" steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/client-verify.yaml b/.github/workflows/client-verify.yaml index 4f2449a90..7b8e614e2 100644 --- a/.github/workflows/client-verify.yaml +++ b/.github/workflows/client-verify.yaml @@ -14,6 +14,7 @@ jobs: python-version: - '3.9' - '3.10' + - '3.11' defaults: run: diff --git a/.github/workflows/gateway-verify.yaml b/.github/workflows/gateway-verify.yaml index 56d9320ec..4bd421e6b 100644 --- a/.github/workflows/gateway-verify.yaml +++ b/.github/workflows/gateway-verify.yaml @@ -14,6 +14,7 @@ jobs: python-version: - '3.9' - '3.10' + - '3.11' defaults: run: diff --git a/.github/workflows/icr-image-build-and-push.yaml b/.github/workflows/icr-image-build-and-push.yaml index c98f66662..7731702e4 100644 --- a/.github/workflows/icr-image-build-and-push.yaml +++ b/.github/workflows/icr-image-build-and-push.yaml @@ -23,6 +23,10 @@ jobs: pythonversion: py310 dockerfile: Dockerfile-ray-node platforms: linux/amd64,linux/arm64 + - imagename: qiskit-serverless/ray-node + pythonversion: py311 + dockerfile: Dockerfile-ray-node + platforms: linux/amd64,linux/arm64 - imagename: qiskit-serverless/gateway pythonversion: '' dockerfile: ./gateway/Dockerfile diff --git a/.github/workflows/kubernetes-deploy.yaml b/.github/workflows/kubernetes-deploy.yaml index d30c059db..abf539e81 100644 --- a/.github/workflows/kubernetes-deploy.yaml +++ b/.github/workflows/kubernetes-deploy.yaml @@ -19,7 +19,7 @@ jobs: - name: Create Kind cluster uses: chainguard-dev/actions/setup-kind@main with: - k8s-version: 1.28.x + k8s-version: 1.29.x kind-worker-count: 0 - name: Build and load gateway run: | @@ -58,7 +58,7 @@ jobs: - name: setup python uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/proxy-verify.yaml b/.github/workflows/proxy-verify.yaml index f00269c96..1a22cc26e 100644 --- a/.github/workflows/proxy-verify.yaml +++ b/.github/workflows/proxy-verify.yaml @@ -14,6 +14,7 @@ jobs: python-version: - '3.9' - '3.10' + - '3.11' defaults: run: @@ -45,4 +46,3 @@ jobs: - name: Test using tox environment run: | tox ${{ env.TOX_ENV }} - diff --git a/README.md b/README.md index 83f48ba10..0700aea57 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Stability](https://img.shields.io/badge/stability-alpha-f4d03f.svg)](https://github.com/Qiskit/qiskit-serverless/releases) [![License](https://img.shields.io/github/license/qiskit-community/quantum-prototype-template?label=License)](https://github.com/qiskit-community/quantum-prototype-template/blob/main/LICENSE.txt) [![Code style: Black](https://img.shields.io/badge/Code%20style-Black-000.svg)](https://github.com/psf/black) -[![Python](https://img.shields.io/badge/Python-3.9%20%7C%203.10-informational)](https://www.python.org/) +[![Python](https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11-informational)](https://www.python.org/) [![Qiskit](https://img.shields.io/badge/Qiskit-%E2%89%A5%201.0.0-6133BD)](https://github.com/Qiskit/qiskit) # Qiskit Serverless diff --git a/client/README.md b/client/README.md index 6dcdd7ae5..ed0a41dd5 100644 --- a/client/README.md +++ b/client/README.md @@ -2,7 +2,7 @@ [![Client verify process](https://github.com/Qiskit/qiskit-serverless/actions/workflows/client-verify.yaml/badge.svg)](https://github.com/Qiskit/qiskit-serverless/actions/workflows/client-verify.yaml) [![License](https://img.shields.io/github/license/qiskit-community/quantum-prototype-template?label=License)](https://github.com/qiskit-community/quantum-prototype-template/blob/main/LICENSE.txt) [![Code style: Black](https://img.shields.io/badge/Code%20style-Black-000.svg)](https://github.com/psf/black) -[![Python](https://img.shields.io/badge/Python-3.9%20%7C%203.10-informational)](https://www.python.org/) +[![Python](https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11-informational)](https://www.python.org/) [![Qiskit](https://img.shields.io/badge/Qiskit-%E2%89%A5%200.39.0-6133BD)](https://github.com/Qiskit/qiskit) # Qiskit Serverless client @@ -64,7 +64,7 @@ save_result({ "quasi_dists": collected_results }) ``` - + ### Step 2: run function @@ -73,7 +73,7 @@ from qiskit_serverless import ServerlessClient, QiskitFunction from qiskit.circuit.random import random_circuit client = ServerlessClient( - token="", + token="", host="", ) diff --git a/client/setup.py b/client/setup.py index 9473274db..d3473fe7f 100644 --- a/client/setup.py +++ b/client/setup.py @@ -36,6 +36,7 @@ "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering :: Physics", ], ) diff --git a/client/tox.ini b/client/tox.ini index 06d106883..a81ccea15 100644 --- a/client/tox.ini +++ b/client/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.1 -envlist = py39, py310, lint, coverage +envlist = py39, py310, py311, lint, coverage # CI: skip-next-line skipsdist = true # CI: skip-next-line diff --git a/gateway/tox.ini b/gateway/tox.ini index e895a1c42..c9780243b 100644 --- a/gateway/tox.ini +++ b/gateway/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.1 -envlist = py39, py310, lint, coverage +envlist = py39, py310, py311, lint, coverage # CI: skip-next-line skipsdist = true # CI: skip-next-line