Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76045 - [qmk] python-pyserial missing from depends

Attached to Project: Community Packages
Opened by Bao Trinh (qubidt) - Wednesday, 28 September 2022, 10:10 GMT
Last edited by Toolybird (Toolybird) - Saturday, 13 May 2023, 03:39 GMT
Task Type Bug Report
Category Packages
Status Waiting on Response
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 5
Private No

Details

Description:

The qmk CLI now supports flashing firmware. This has introduced pyserial as a new runtime dependency. The CLI tool prompts the user to install the python-pyserial package if it is not found. It is not functional without it.


Additional info:
* package version(s): 1.1.1-1
* Relevant upstream PRs:
* qmk-cli: https://github.com/qmk/qmk_cli/pull/133
* qmk-firmware: https://github.com/qmk/qmk_firmware/pull/16584

Steps to reproduce:

1. Run any qmk command (e.g. `qmk --help`)
2. output shows:

```
$ qmk --help
Could not find module pyserial!
Would you like to install the required Python modules? [y/n] n

Please run `/usr/bin/python -m pip install -r /home/bao/pdev/qmk_firmware/requirements.txt` to install required python dependencies.
```
This task depends upon

Comment by Toolybird (Toolybird) - Saturday, 13 May 2023, 03:39 GMT
Cannot repro these days. Is it really needed? The only ref I can find is in:

usr/lib/python3.11/site-packages/qmk-1.1.2.dist-info/METADATA
Comment by Bao Trinh (qubidt) - Tuesday, 16 May 2023, 14:41 GMT
Have you run `qmk setup`? It seems to become a runtime dependency once the CLI imports the code from the firmware repo

Loading...