From 2ddb3d2c1663befe4f004020ab50e6514efdba8d Mon Sep 17 00:00:00 2001 From: Abe Coull <85974725+math411@users.noreply.github.com> Date: Thu, 19 Sep 2024 09:29:30 -0700 Subject: [PATCH 01/10] infra: update to cloudpickle 3.x (#1032) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bf429b266..45cc590bd 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ "backoff", "boltons", "boto3>=1.28.53", - "cloudpickle==2.2.1", + "cloudpickle>=3", "nest-asyncio", "networkx", "numpy", From fd597d6d1fe2f38dc14e7e2fbf6a72657cf0f3b5 Mon Sep 17 00:00:00 2001 From: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:43:07 -0400 Subject: [PATCH 02/10] fix: Pass through inputs for SerializableProgram simulation (#1033) --- src/braket/devices/local_simulator.py | 5 +++-- .../braket/devices/test_local_simulator.py | 21 +++++++++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/braket/devices/local_simulator.py b/src/braket/devices/local_simulator.py index 02b379596..f9e70a1ea 100644 --- a/src/braket/devices/local_simulator.py +++ b/src/braket/devices/local_simulator.py @@ -290,8 +290,9 @@ def _(self, program: OpenQASMProgram, inputs: Optional[dict[str, float]], _shots return program @_construct_payload.register - def _(self, program: SerializableProgram, _inputs, _shots): - return OpenQASMProgram(source=program.to_ir(ir_type=IRType.OPENQASM)) + def _(self, program: SerializableProgram, inputs: Optional[dict[str, float]], _shots): + inputs_copy = inputs.copy() if inputs is not None else {} + return OpenQASMProgram(source=program.to_ir(ir_type=IRType.OPENQASM), inputs=inputs_copy) @_construct_payload.register def _(self, program: AnalogHamiltonianSimulation, _inputs, _shots): diff --git a/test/unit_tests/braket/devices/test_local_simulator.py b/test/unit_tests/braket/devices/test_local_simulator.py index 451553f02..6c2976812 100644 --- a/test/unit_tests/braket/devices/test_local_simulator.py +++ b/test/unit_tests/braket/devices/test_local_simulator.py @@ -588,10 +588,8 @@ def test_run_serializable_program_model(): source=""" qubit[2] q; bit[2] c; - h q[0]; cnot q[0], q[1]; - c = measure q; """ ) @@ -599,6 +597,25 @@ def test_run_serializable_program_model(): assert task.result() == GateModelQuantumTaskResult.from_object(GATE_MODEL_RESULT) +def test_run_serializable_program_model_with_inputs(): + dummy = DummySerializableProgramSimulator() + sim = LocalSimulator(dummy) + task = sim.run( + DummySerializableProgram( + source=""" +input float a; +qubit[2] q; +bit[2] c; +h q[0]; +cnot q[0], q[1]; +c = measure q; +""" + ), + inputs={"a": 0.1}, + ) + assert task.result() == GateModelQuantumTaskResult.from_object(GATE_MODEL_RESULT) + + @pytest.mark.xfail(raises=ValueError) def test_run_gate_model_value_error(): dummy = DummyCircuitSimulator() From d3c0ec262e1667d7d90638401d2070b0c85700b1 Mon Sep 17 00:00:00 2001 From: ci Date: Mon, 23 Sep 2024 21:12:42 +0000 Subject: [PATCH 03/10] prepare release v1.87.1 --- CHANGELOG.md | 6 ++++++ src/braket/_sdk/_version.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18bde840f..1a7be1b4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.87.1 (2024-09-23) + +### Bug Fixes and Other Changes + + * Pass through inputs for SerializableProgram simulation + ## v1.87.0 (2024-09-05) ### Deprecations and Removals diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 2deedb28a..f716aaca9 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.87.1.dev0" +__version__ = "1.87.1" From d45958b774757274f2cb6008eaf049bf1ee1d644 Mon Sep 17 00:00:00 2001 From: ci Date: Mon, 23 Sep 2024 21:12:42 +0000 Subject: [PATCH 04/10] update development version to v1.87.2.dev0 --- src/braket/_sdk/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index f716aaca9..33c9067cd 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.87.1" +__version__ = "1.87.2.dev0" From b076fdad598a7603f66778528645715566711773 Mon Sep 17 00:00:00 2001 From: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:12:04 -0400 Subject: [PATCH 05/10] deprecation: Mark Aspen-M-3 as deprecated, replace with Ankaa-2 in tests (#1034) --- README.md | 2 +- src/braket/devices/devices.py | 2 +- test/integ_tests/test_cost_tracking.py | 2 +- test/integ_tests/test_device_creation.py | 4 ++-- test/integ_tests/test_pulse.py | 2 +- test/unit_tests/braket/aws/common_test_utils.py | 2 +- test/unit_tests/braket/aws/test_aws_device.py | 4 ++-- test/unit_tests/braket/aws/test_aws_quantum_job.py | 2 +- test/unit_tests/braket/jobs/test_quantum_job_creation.py | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 415a18c25..3c3e85d51 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ import boto3 from braket.circuits import Circuit from braket.aws import AwsDevice -device = AwsDevice("arn:aws:braket:::device/qpu/rigetti/Aspen-8") +device = AwsDevice("arn:aws:braket:::device/qpu/rigetti/Ankaa-2") bell = Circuit().h(0).cnot(0, 1) task = device.run(bell) diff --git a/src/braket/devices/devices.py b/src/braket/devices/devices.py index 0af058d42..44d6edb13 100644 --- a/src/braket/devices/devices.py +++ b/src/braket/devices/devices.py @@ -49,7 +49,7 @@ class _Rigetti(str, Enum): _Aspen11 = "arn:aws:braket:::device/qpu/rigetti/Aspen-11" _AspenM1 = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-1" _AspenM2 = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-2" - AspenM3 = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3" + _AspenM3 = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3" Ankaa2 = "arn:aws:braket:us-west-1::device/qpu/rigetti/Ankaa-2" class _Xanadu(str, Enum): diff --git a/test/integ_tests/test_cost_tracking.py b/test/integ_tests/test_cost_tracking.py index f493c9779..c2c590331 100644 --- a/test/integ_tests/test_cost_tracking.py +++ b/test/integ_tests/test_cost_tracking.py @@ -29,7 +29,7 @@ [ "arn:aws:braket:us-east-1::device/qpu/ionq/Harmony", "arn:aws:braket:eu-north-1::device/qpu/iqm/Garnet", - "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3", + "arn:aws:braket:us-west-1::device/qpu/rigetti/Ankaa-2", ], ) def test_qpu_tracking(qpu): diff --git a/test/integ_tests/test_device_creation.py b/test/integ_tests/test_device_creation.py index 2b718c211..58bdb35a1 100644 --- a/test/integ_tests/test_device_creation.py +++ b/test/integ_tests/test_device_creation.py @@ -17,11 +17,11 @@ from braket.aws import AwsDevice from braket.devices import Devices -RIGETTI_ARN = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3" +RIGETTI_ARN = "arn:aws:braket:us-west-1::device/qpu/rigetti/Ankaa-2" IONQ_ARN = "arn:aws:braket:us-east-1::device/qpu/ionq/Aria-1" IQM_ARN = "arn:aws:braket:eu-north-1::device/qpu/iqm/Garnet" SIMULATOR_ARN = "arn:aws:braket:::device/quantum-simulator/amazon/sv1" -PULSE_ARN = "arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3" +PULSE_ARN = "arn:aws:braket:us-west-1::device/qpu/rigetti/Ankaa-2" @pytest.mark.parametrize( diff --git a/test/integ_tests/test_pulse.py b/test/integ_tests/test_pulse.py index 4eb3ffa93..5f6c7b5d1 100644 --- a/test/integ_tests/test_pulse.py +++ b/test/integ_tests/test_pulse.py @@ -11,7 +11,7 @@ @pytest.fixture def device(): - return AwsDevice("arn:aws:braket:us-west-1::device/qpu/rigetti/Aspen-M-3") + return AwsDevice("arn:aws:braket:us-west-1::device/qpu/rigetti/Ankaa-2") @pytest.fixture diff --git a/test/unit_tests/braket/aws/common_test_utils.py b/test/unit_tests/braket/aws/common_test_utils.py index aaca559f5..0e1fd4d48 100644 --- a/test/unit_tests/braket/aws/common_test_utils.py +++ b/test/unit_tests/braket/aws/common_test_utils.py @@ -17,7 +17,7 @@ from braket.aws import AwsQuantumTaskBatch DWAVE_ARN = "arn:aws:braket:::device/qpu/d-wave/Advantage_system1" -RIGETTI_ARN = "arn:aws:braket:::device/qpu/rigetti/Aspen-10" +RIGETTI_ARN = "arn:aws:braket:::device/qpu/rigetti/Ankaa-2" IONQ_ARN = "arn:aws:braket:us-east-1::device/qpu/ionq/Harmony" OQC_ARN = "arn:aws:braket:eu-west-2::device/qpu/oqc/Lucy" SV1_ARN = "arn:aws:braket:::device/quantum-simulator/amazon/sv1" diff --git a/test/unit_tests/braket/aws/test_aws_device.py b/test/unit_tests/braket/aws/test_aws_device.py index a778dfb5f..3fed52aa2 100644 --- a/test/unit_tests/braket/aws/test_aws_device.py +++ b/test/unit_tests/braket/aws/test_aws_device.py @@ -216,7 +216,7 @@ def test_mock_rigetti_schema_1(): MOCK_GATE_MODEL_QPU_1 = { - "deviceName": "Aspen-10", + "deviceName": "Ankaa-2", "deviceType": "QPU", "providerName": "Rigetti", "deviceStatus": "OFFLINE", @@ -1451,7 +1451,7 @@ def test_run_device_poll_interval_kwargs( capabilities = MOCK_GATE_MODEL_QPU_CAPABILITIES_1 capabilities.service.getTaskPollIntervalMillis = poll_interval_seconds properties = { - "deviceName": "Aspen-10", + "deviceName": "Ankaa-2", "deviceType": "QPU", "providerName": "provider1", "deviceStatus": "OFFLINE", diff --git a/test/unit_tests/braket/aws/test_aws_quantum_job.py b/test/unit_tests/braket/aws/test_aws_quantum_job.py index 67ca98228..028ad3cc4 100644 --- a/test/unit_tests/braket/aws/test_aws_quantum_job.py +++ b/test/unit_tests/braket/aws/test_aws_quantum_job.py @@ -70,7 +70,7 @@ def _get_job_response(**kwargs): }, "createdAt": datetime.datetime(2021, 6, 28, 21, 4, 51), "deviceConfig": { - "device": "arn:aws:braket:::device/qpu/rigetti/Aspen-10", + "device": "arn:aws:braket:::device/qpu/rigetti/Ankaa-2", }, "hyperParameters": { "foo": "bar", diff --git a/test/unit_tests/braket/jobs/test_quantum_job_creation.py b/test/unit_tests/braket/jobs/test_quantum_job_creation.py index d12a29b00..39cb94c5d 100644 --- a/test/unit_tests/braket/jobs/test_quantum_job_creation.py +++ b/test/unit_tests/braket/jobs/test_quantum_job_creation.py @@ -198,7 +198,7 @@ def _get_job_response(**kwargs): }, "createdAt": datetime.datetime(2021, 6, 28, 21, 4, 51), "deviceConfig": { - "device": "arn:aws:braket:::device/qpu/rigetti/Aspen-10", + "device": "arn:aws:braket:::device/qpu/rigetti/Ankaa-2", }, "hyperParameters": { "foo": "bar", From 71dc33b2769f547690c7ef6962858eb3b917fa6d Mon Sep 17 00:00:00 2001 From: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:32:38 -0400 Subject: [PATCH 06/10] fix: Update pulse integration tests for Ankaa-2 device (#1035) --- test/integ_tests/test_pulse.py | 63 +++++++++++++++------------------- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/test/integ_tests/test_pulse.py b/test/integ_tests/test_pulse.py index 5f6c7b5d1..e5f42bcd3 100644 --- a/test/integ_tests/test_pulse.py +++ b/test/integ_tests/test_pulse.py @@ -174,7 +174,7 @@ def h_gate(q0): return Circuit().rz(q0, np.pi).rx(q0, np.pi / 2).rz(q0, np.pi / 2).rx(q0, -np.pi / 2) -def cz_pulse( +def make_pulse( q0: str, q1: str, shift_phases_q0: float, @@ -182,30 +182,22 @@ def cz_pulse( waveform: ArbitraryWaveform, device: AwsDevice, ): - q0_rf_frame = device.frames[f"q{q0}_rf_frame"] - q1_rf_frame = device.frames[f"q{q1}_rf_frame"] - q0_q1_cz_frame = device.frames[f"q{q0}_q{q1}_cz_frame"] - frames = [q0_rf_frame, q1_rf_frame, q0_q1_cz_frame] + q0_drive_frame = device.frames[f"Transmon_{q0}_charge_tx"] + q1_drive_frame = device.frames[f"Transmon_{q1}_charge_tx"] + frames = [q0_drive_frame, q1_drive_frame] - dt = device.properties.pulse.ports[q0_q1_cz_frame.port.id].dt + dt = device.properties.pulse.ports[q0_drive_frame.port.id].dt wfm_duration = len(waveform.amplitudes) * dt pulse_sequence = ( PulseSequence() .barrier(frames) - .play(q0_q1_cz_frame, waveform) - .delay(q0_rf_frame, wfm_duration) - .shift_phase(q0_rf_frame, shift_phases_q0) - .delay(q1_rf_frame, wfm_duration) - .shift_phase(q1_rf_frame, shift_phases_q1) + .delay(q0_drive_frame, wfm_duration) + .shift_phase(q0_drive_frame, shift_phases_q0) + .delay(q1_drive_frame, wfm_duration) + .shift_phase(q1_drive_frame, shift_phases_q1) .barrier(frames) ) - for phase, q in [(shift_phases_q0 * 0.5, q0), (-shift_phases_q1 * 0.5, q1)]: - for neighbor in device.properties.paradigm.connectivity.connectivityGraph[str(q)]: - xy_frame_name = f"q{min(q, int(neighbor))}_q{max(q, int(neighbor))}_xy_frame" - if xy_frame_name in device.frames: - xy_frame = device.frames[xy_frame_name] - pulse_sequence.shift_phase(xy_frame, phase) return pulse_sequence @@ -216,17 +208,17 @@ def test_pulse_bell(arbitrary_waveform, device): a, b, ) = ( - 10, - 113, + 26, + 33, ) # qubits used p0, p1 = 1.1733407221086924, 6.269846678712192 theta_0, theta_1 = FreeParameter("theta_0"), FreeParameter("theta_1") - a_b_cz_waveform = arbitrary_waveform - cz = cz_pulse(a, b, theta_0, theta_1, a_b_cz_waveform, device) + a_b_waveform = arbitrary_waveform + pulse = make_pulse(a, b, theta_0, theta_1, a_b_waveform, device) - bell_pair_with_gates = Circuit().h(a).h(b).cz(a, b).h(b) + bell_pair_with_gates = Circuit().h(a).h(b).iswap(a, b).h(b) bell_pair_with_pulses_unbound = ( - h_gate(a) + h_gate(b) + Circuit().pulse_gate([a, b], cz) + h_gate(b) + h_gate(a) + h_gate(b) + Circuit().pulse_gate([a, b], pulse) + h_gate(b) ) bell_pair_with_pulses = bell_pair_with_pulses_unbound(theta_0=p0, theta_1=p1) @@ -266,27 +258,27 @@ def test_pulse_sequence(arbitrary_waveform, device): a, b, ) = ( - 10, - 113, + 26, + 33, ) # qubits used p0, p1 = 1.1733407221086924, 6.269846678712192 theta_0, theta_1 = FreeParameter("theta_0"), FreeParameter("theta_1") - a_b_cz_waveform = arbitrary_waveform + a_b_waveform = arbitrary_waveform - cz_with_pulses_unbound = cz_pulse(a, b, theta_0, theta_1, a_b_cz_waveform, device) + pulse_unbound = make_pulse(a, b, theta_0, theta_1, a_b_waveform, device) - q0_readout_frame = device.frames[f"q{a}_ro_rx_frame"] - q1_readout_frame = device.frames[f"q{b}_ro_rx_frame"] - cz_with_pulses = ( - cz_with_pulses_unbound(theta_0=p0, theta_1=p1) + q0_readout_frame = device.frames[f"Transmon_{a}_readout_rx"] + q1_readout_frame = device.frames[f"Transmon_{b}_readout_rx"] + pulses = ( + pulse_unbound(theta_0=p0, theta_1=p1) .capture_v0(q0_readout_frame) .capture_v0(q1_readout_frame) ) - cz_with_gates = Circuit().cz(a, b) + circuit_with_gates = Circuit().iswap(a, b) num_shots = 1000 - gate_task = device.run(cz_with_gates, shots=num_shots, disable_qubit_rewiring=True) - pulse_task = device.run(cz_with_pulses, shots=num_shots) + gate_task = device.run(circuit_with_gates, shots=num_shots, disable_qubit_rewiring=True) + pulse_task = device.run(pulses, shots=num_shots) if not device.is_available: try: @@ -313,12 +305,13 @@ def test_pulse_sequence(arbitrary_waveform, device): assert chi_squared < 10 # adjust this threshold if test is flaky +@pytest.mark.skip(reason="needs to be updated to work correctly on Ankaa-2") def test_gate_calibration_run(device, pulse_sequence): if device.status == "OFFLINE": pytest.skip("Device offline") user_gate_calibrations = GateCalibrations({(Gate.Rx(math.pi / 2), QubitSet(0)): pulse_sequence}) num_shots = 50 - bell_circuit = Circuit().rx(0, math.pi / 2).rx(1, math.pi / 2).cz(0, 1).rx(1, -math.pi / 2) + bell_circuit = Circuit().rx(0, math.pi / 2).rx(1, math.pi / 2).iswap(0, 1).rx(1, -math.pi / 2) user_calibration_task = device.run( bell_circuit, gate_definitions=user_gate_calibrations.pulse_sequences, From 5870ea64d8f5785207bda300b037f98703f2696e Mon Sep 17 00:00:00 2001 From: ci Date: Fri, 27 Sep 2024 20:47:30 +0000 Subject: [PATCH 07/10] prepare release v1.88.0 --- CHANGELOG.md | 10 ++++++++++ src/braket/_sdk/_version.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a7be1b4f..e23ddae20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## v1.88.0 (2024-09-27) + +### Deprecations and Removals + + * Mark Aspen-M-3 as deprecated, replace with Ankaa-2 in tests + +### Bug Fixes and Other Changes + + * Update pulse integration tests for Ankaa-2 device + ## v1.87.1 (2024-09-23) ### Bug Fixes and Other Changes diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 33c9067cd..4c391e2c1 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.87.2.dev0" +__version__ = "1.88.0" From 43d0c7ebe64a9871416bcac16fbb6085ca4beb7d Mon Sep 17 00:00:00 2001 From: ci Date: Fri, 27 Sep 2024 20:47:30 +0000 Subject: [PATCH 08/10] update development version to v1.88.1.dev0 --- src/braket/_sdk/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 4c391e2c1..a4bd9b268 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.88.0" +__version__ = "1.88.1.dev0" From 5534034b3091d221b338b044f55610266b020fb3 Mon Sep 17 00:00:00 2001 From: Abe Coull <85974725+math411@users.noreply.github.com> Date: Sun, 6 Oct 2024 14:52:04 -0700 Subject: [PATCH 09/10] =?UTF-8?q?infra:=20remove=20doc=20dependencies=20fr?= =?UTF-8?q?om=20the=20test=20list=20and=20add=20to=20their=20ow=E2=80=A6?= =?UTF-8?q?=20(#1037)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Coull --- setup.py | 6 ++++-- tox.ini | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 45cc590bd..18bc591e1 100644 --- a/setup.py +++ b/setup.py @@ -55,11 +55,13 @@ "pytest-cov", "pytest-rerunfailures", "pytest-xdist[psutil]", + "tox", + ], + "docs": [ "sphinx", "sphinx-rtd-theme", "sphinxcontrib-apidoc", - "tox", - ] + ], }, include_package_data=True, url="https://github.com/amazon-braket/amazon-braket-sdk-python", diff --git a/tox.ini b/tox.ini index 95c862106..f8da75234 100644 --- a/tox.ini +++ b/tox.ini @@ -107,11 +107,9 @@ commands = basepython = python3 deps = {[test-deps]deps} - sphinx - sphinx-rtd-theme - sphinxcontrib-apidoc commands = sphinx-build -E -T -b html doc build/documentation/html -j auto +extras = docs [testenv:serve-docs] basepython = python3 From 36e32f63d33a97b8b17addb0e90b692cda93b4ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 13:07:00 -0400 Subject: [PATCH 10/10] infra: bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 (#1027) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> --- .github/workflows/publish-to-pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 942974db7..00d746acb 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -26,6 +26,6 @@ jobs: - name: Build a binary wheel and a source tarball run: python setup.py sdist bdist_wheel - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # release/v1 + uses: pypa/gh-action-pypi-publish@8a08d616893759ef8e1aa1f2785787c0b97e20d6 # release/v1 with: password: ${{ secrets.pypi_token }}