Skip to content

Commit c120776

Browse files
Change references of pennylane master to main (#1351)
**Context:** Pennylane changed its default branch from master to main. [Some of the workflows](https://github.com/PennyLaneAI/pennylane-lightning/actions/runs/22735447893/job/65935488882#step:10:16) in lightning have started to fail with their pennylane@master references. **Description of the Change:** Change all references of pennylane master to main. **Benefits:** Workflows and reference to pennylane will be updated. **Possible Drawbacks:** None **Related GitHub Issues:** N/A --------- Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
1 parent 7118417 commit c120776

21 files changed

+29
-27
lines changed

.github/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ Jake Zaia.
128128

129129
<h3>Internal changes ⚙️</h3>
130130

131+
- Updated references to Pennylane's `master` to reference `main`.
132+
[(#1351)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1351)
133+
131134
- Pinned NumPy to versions preceding 2.4 on CIs as `pyscf` is not compatible with the new version of NumPy yet.
132135
[(#1315)](https://github.com/PennyLaneAI/pennylane-lightning/pull/1315)
133136

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Thank you for taking the time to contribute to PennyLane-Lightning!
44
:confetti_ball: :tada: :fireworks: :balloon:
55

6-
For details on how to contribute, please see the [PennyLane contribution guide](https://github.com/PennyLaneAI/pennylane/blob/master/.github/CONTRIBUTING.md).
6+
For details on how to contribute, please see the [PennyLane contribution guide](https://github.com/PennyLaneAI/pennylane/blob/main/.github/CONTRIBUTING.md).
77

88

99
\- The PennyLane team

.github/workflows/compat-docker-latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
uses: ./.github/workflows/docker_linux_x86_64.yml
1616
with:
1717
lightning-version: master
18-
pennylane-version: master
18+
pennylane-version: main
1919
push-to-dockerhub: false
2020
secrets: inherit # pass all secrets

.github/workflows/docker_linux_x86_64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
pennylane-version:
1515
type: string
1616
required: false
17-
default: master
17+
default: main
1818
description: The version of PennyLane to use. This should be a valid git tag, e.g. v0.36.0.
1919
push-to-dockerhub:
2020
type: boolean
@@ -29,7 +29,7 @@ on:
2929
pennylane-version:
3030
type: string
3131
required: false
32-
default: master
32+
default: main
3333
description: The version of PennyLane to use. This should be a valid git tag, e.g. v0.36.0.
3434
push-to-dockerhub:
3535
type: boolean

.github/workflows/tests_gpu_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
if: inputs.pennylane-version == 'latest'
185185
run: |
186186
cd pennylane
187-
git checkout master
187+
git checkout main
188188
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps
189189
190190
- name: Switch to release build of PennyLane

.github/workflows/tests_lgpumpi_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
if: inputs.pennylane-version == 'latest'
158158
run: |
159159
cd pennylane
160-
git checkout master
160+
git checkout main
161161
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps
162162
163163
- name: Switch to release build of PennyLane

.github/workflows/tests_lkcpu_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ jobs:
258258
if: inputs.pennylane-version == 'latest'
259259
run: |
260260
cd pennylane
261-
git checkout master
261+
git checkout main
262262
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps
263263
264264
- name: Switch to release build of PennyLane

.github/workflows/tests_lkcuda_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ jobs:
233233
if: inputs.pennylane-version == 'latest'
234234
run: |
235235
cd pennylane
236-
git checkout master
236+
git checkout main
237237
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps
238238
239239
- name: Switch to release build of PennyLane

.github/workflows/tests_lkmpi_cuda_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
if: inputs.pennylane-version == 'latest'
186186
run: |
187187
cd pennylane
188-
git checkout master
188+
git checkout main
189189
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps
190190
191191
- name: Switch to release build of PennyLane

.github/workflows/tests_lqcpu_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
if: inputs.pennylane-version == 'latest'
197197
run: |
198198
cd pennylane
199-
git checkout master
199+
git checkout main
200200
python -m pip uninstall -y pennylane && python -m pip install . -vv --no-deps
201201
202202
- name: Switch to release build of PennyLane

0 commit comments

Comments
 (0)