-
-
Notifications
You must be signed in to change notification settings - Fork 775
Description
-
I am on the latest ActivityWatch version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
I am using WSL2, Ubuntu, version 2:
Describe the bug
I run make build and it works successfully on aw-core, aw-client however it stuck at:
Installing the current project: aw-client (0.5.14)
make[1]: Leaving directory '/mnt/c/Users/sk_16/Documents/GitHub/activitywatch/aw-client'
Building aw-qt
make[1]: Entering directory '/mnt/c/Users/sk_16/Documents/GitHub/activitywatch/aw-qt'
poetry install
Installing dependencies from lock file
pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock [--no-update]` to fix the lock file.
make[1]: *** [Makefile:4: build] Error 1
make[1]: Leaving directory '/mnt/c/Users/sk_16/Documents/GitHub/activitywatch/aw-qt'
Error in aw-qt build
make: *** [Makefile:48: build] Error 2
I then try to run poetry lock --no-update in aw-qt yet face this issue:
(venv) skyyap@Sky:/mnt/c/Users/sk_16/Documents/GitHub/activitywatch/aw-qt$ poetry lock --no-update
Resolving dependencies... (1.5s)
The current project's supported Python range (>=3.8,<4.0) is not compatible with some of the required packages Python requirement:
- pyinstaller requires Python <3.13,>=3.8, so it will not be satisfied for Python >=3.13,<4.0
- pyinstaller requires Python <3.14,>=3.8, so it will not be satisfied for Python >=3.14,<4.0
- pyinstaller requires Python <3.13,>=3.8, so it will not be satisfied for Python >=3.13,<4.0
- pyinstaller requires Python <3.13,>=3.8, so it will not be satisfied for Python >=3.13,<4.0
- pyinstaller requires Python <3.13,>=3.8, so it will not be satisfied for Python >=3.13,<4.0
- pyinstaller requires Python <3.14,>=3.8, so it will not be satisfied for Python >=3.14,<4.0
- pyinstaller requires Python <3.14,>=3.8, so it will not be satisfied for Python >=3.14,<4.0
Because no versions of pyinstaller match >6.6,<6.7.0 || >6.7.0,<6.8.0 || >6.8.0,<6.9.0 || >6.9.0,<6.10.0 || >6.10.0,<6.11.0 || >6.11.0,<6.11.1 || >6.11.1
and pyinstaller (6.7.0) requires Python <3.13,>=3.8, pyinstaller is forbidden.
And because pyinstaller (6.8.0) requires Python <3.13,>=3.8, pyinstaller is forbidden.
And because pyinstaller (6.9.0) requires Python <3.13,>=3.8
and pyinstaller (6.10.0) requires Python <3.14,>=3.8, pyinstaller is forbidden.
And because pyinstaller (6.11.0) requires Python <3.14,>=3.8
and pyinstaller (6.11.1) requires Python <3.14,>=3.8, pyinstaller is forbidden.
So, because pyinstaller (6.6.0) requires Python <3.13,>=3.8
and aw-qt depends on pyinstaller (>=6.6), version solving failed.
• Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For pyinstaller, a possible solution would be to set the `python` property to ">=3.8,<3.13"
For pyinstaller, a possible solution would be to set the `python` property to ">=3.8,<3.14"
For pyinstaller, a possible solution would be to set the `python` property to ">=3.8,<3.13"
For pyinstaller, a possible solution would be to set the `python` property to ">=3.8,<3.13"
For pyinstaller, a possible solution would be to set the `python` property to ">=3.8,<3.13"
For pyinstaller, a possible solution would be to set the `python` property to ">=3.8,<3.14"
For pyinstaller, a possible solution would be to set the `python` property to ">=3.8,<3.14"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
To Reproduce
Expected behavior
It should install successfully.
Version
-
git --version
git version 2.43.0 -
make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. -
python --version
Python 3.11.11 -
poetry --version
Poetry (version 1.8.2) -
npm --version
10.9.0 -
cargo --version
cargo 1.83.0 (5ffbef321 2024-10-29)