Arch Linux

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: Arch Linux
Opened by Bao Trinh (qubidt) - Wednesday, 28 September 2022, 10:10 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 02 September 2023, 11:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
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

Closed by  Jelle van der Waa (jelly)
Saturday, 02 September 2023, 11:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.1.2-3
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
Comment by Toolybird (Toolybird) - Saturday, 20 May 2023, 23:04 GMT
Ah yes, after running `qmk setup` it shows:

$ qmk --help
Could not find module pyserial!
Could not find module pillow!
Comment by Toolybird (Toolybird) - Friday, 25 August 2023, 20:57 GMT
Dupe  FS#79474 

Loading...