FS#77637 - [ruff] Not found as module

Attached to Project: Community Packages
Opened by Julian (jhossbach) - Friday, 24 February 2023, 17:26 GMT
Last edited by Caleb Maclennan (alerque) - Tuesday, 28 February 2023, 11:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Some packages need ruff to be visible as a python package (e.g. python-lsp-ruff from the AUR).
This is currently not the case as we are building ruff completely without python.
Can we use the standard python package guidelines instead?
This task depends upon

Closed by  Caleb Maclennan (alerque)
Tuesday, 28 February 2023, 11:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  Split package into ruff and python-ruff.
Comment by Caleb Maclennan (alerque) - Saturday, 25 February 2023, 12:38 GMT
There was a problem with the python build system for a couple releases (reported upstream) and it didn't seem like any packages were using anything other than the CLI. The upstream project even recommends distros just package the CLI.

The Python build issues have since been fixed. I'll look at adding a split package `python-ruff` with the Python module bindings.
Comment by Caleb Maclennan (alerque) - Saturday, 25 February 2023, 14:15 GMT
Can you check out the `python-ruff` (and `ruff`) packages from [community-testing] and let me know if they do the job as dependencies for you?
Comment by Caleb Maclennan (alerque) - Saturday, 25 February 2023, 14:18 GMT
I'm having internet issues pushing the package I built to the testing repo. It should be there eventually but I'm AFK for a bit.
Comment by Caleb Maclennan (alerque) - Saturday, 25 February 2023, 16:59 GMT
Okay it looks like it is finally there in the package DB.
Comment by Caleb Maclennan (alerque) - Tuesday, 28 February 2023, 11:33 GMT
Having heard nothing from Python folks and having confirmed on my own projects the CLI end of things seems to still work fine I moved this out of testing. Comment (if you can) or fire up a new bug report if something is still amiss.

Loading...