fix(ci): upgrade poetry 1.4.2 -> 2.2.1 and add package-mode = false#1365
Merged
ErikBjare merged 1 commit intoJul 22, 2026
Merged
Conversation
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 ActivityWatch#1328 which had stale submodule/workflow history from June.
Contributor
Greptile SummaryThis PR updates the release builds to use Poetry 2 and marks the repository root as a non-package project. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "fix(ci): upgrade poetry 1.4.2 -> 2.2.1 a..." | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
All submodule
poetry.lockfiles are already in Poetry 2.x format (lock-version 2.0/2.1), but CI installspoetry==1.4.2, which can't read them. Every job logs the compatibility warning repeatedly. This fix was originally PR #1328, but that branch had accumulated a month of drift and stale submodule/workflow history that made it non-trivial to rebase — so this is a fresh PR with only the two-file change that matters.Fix
poetry==2.2.1in both Qt and Tauri build steps inrelease.ymlpython-version: 3.9package-mode = falseto the rootpyproject.tomlWhat's NOT changed (vs #1328)
aw-coresubmodule is left atc4d31b8(current master pointer) — the relock from aw-core#140 is already an ancestor, so that change is already includedValidation
Triggers the full build matrix. The previous run on current master (run 29907291656) showed all jobs passing but with repeated Poetry lock-format warnings — this PR removes those warnings.
Closes #1328