From bd90425788adb600ff37c664f4d9b6bb7d978d93 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 May 2024 10:17:41 -0700 Subject: [PATCH] Version bump again for wheel test. --- .github/workflows/ci.yaml | 6 +++--- tensorflow_quantum/core/serialize/serializer_test.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 01940336a..4da0b844f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: - python-version: '3.10' + python-version: '3.11' architecture: 'x64' - name: Install Lint tools run: pip install --upgrade pip setuptools; pip install -r requirements.txt; @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: - python-version: '3.10' + python-version: '3.11' architecture: 'x64' - name: Install Format tools run: pip install --upgrade pip setuptools; pip install -r requirements.txt; sudo apt-get install -y clang-format-6.0 @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: - python-version: '3.10' + python-version: '3.11' architecture: 'x64' - name: Install Bazel on CI run: ./scripts/ci_install.sh diff --git a/tensorflow_quantum/core/serialize/serializer_test.py b/tensorflow_quantum/core/serialize/serializer_test.py index 859299a03..4998f011c 100644 --- a/tensorflow_quantum/core/serialize/serializer_test.py +++ b/tensorflow_quantum/core/serialize/serializer_test.py @@ -100,7 +100,7 @@ def _build_op_proto(gate_id, arg_names, arg_vals, qubit_ids): if isinstance(arg_vals[i], str) else \ program_pb2.Arg( arg_value=program_pb2.ArgValue( - float_value=np.round(float(arg_vals[i]), 6)))) \ + float_value=np.round(float(arg_vals[i]), 6)))) \ for i in range(len(arg_vals))}, qubits=[program_pb2.Qubit( id=q_id) for q_id in qubit_ids])])