Skip to content

Commit 908b99a

Browse files
fix(ci): upgrade poetry 1.4.2 -> 2.2.1 and add package-mode = false (#1365)
All submodule lock files are already in Poetry 2.x format (lock-version 2.0/2.1) but CI was installing poetry==1.4.2, causing repeated compatibility warnings. - Pin poetry==2.2.1 in both Qt and Tauri build steps in release.yml (2.2.1 is the latest that supports Python >=3.9; 2.3.x needs >=3.10) - Add package-mode = false to root pyproject.toml for Poetry 2.x compatibility (the root aggregator has no packages to publish) Supersedes #1328 which had stale submodule/workflow history from June.
1 parent 4e3dbde commit 908b99a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ jobs:
338338
if [ "$RUNNER_OS" == "Windows" ]; then
339339
choco install innosetup
340340
fi
341-
pip3 install poetry==1.4.2
341+
pip3 install poetry==2.2.1
342342
343343
- name: Build
344344
run: |
@@ -552,7 +552,7 @@ jobs:
552552
if [ "$RUNNER_OS" == "Windows" ]; then
553553
choco install innosetup
554554
fi
555-
pip3 install poetry==1.4.2
555+
pip3 install poetry==2.2.1
556556
557557
- name: Build
558558
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.14.0"
44
description = "The free and open-source automated time tracker. Cross-platform, extensible, privacy-focused."
55
authors = ["Erik Bjäreholt <erik@bjareho.lt>", "Johan Bjäreholt <johan@bjareho.lt>"]
66
license = "MPL-2.0"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
910
python = "^3.9"

0 commit comments

Comments
 (0)