Skip to content

Commit 688e405

Browse files
Use poetry 2.1 (#1803)
The pyproject.toml file requires `poetry>=2.1`, but the `poetry-plugin-export` package version was pulling a lower value, which masked the fact that we had some old syntax sticking around for poetry<2.1. The recent Dependabot PR to bump `dulwich` (#1801 ) exposed this mess. This PR bumps the appropriate packages and cleans up the old poetry code that is no longer needed in CI. It also upgrades PennyLane to 0.45.0 in the project build itself, which was missed post-release. Build tested [here](https://github.com/PennyLaneAI/demos/actions/runs/26641980390) ✅
1 parent 5f70fee commit 688e405

4 files changed

Lines changed: 404 additions & 172 deletions

File tree

.github/workflows/v2-build-demos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
python-version: '3.11'
182182

183183
- name: Install dependencies
184-
run: pip install . && poetry config warnings.export false
184+
run: pip install .
185185

186186
- name: Make demo name list
187187
id: demo-name-list

.github/workflows/v2-sync-objects-dot-inv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
python-version: '3.11'
138138

139139
- name: Install dependencies
140-
run: pip install . && poetry config warnings.export false
140+
run: pip install .
141141

142142
- name: Build all demos in HTML format
143143
run: |

0 commit comments

Comments
 (0)