← Back to issue list

Support uv plugin in fastapi extension

View original Github issue

Metadata

Project
rockcraft
Number
#1031
Type
issue
State
open
Author
jneo8
Labels
Created
Updated
Closed

Current evaluation

Feature request to integrate the uv plugin with the fastapi-framework extension, which currently requires requirements.txt. Maintainer confirmed the change is planned for 26.04; reporter has a workaround and offered to test.

Suggested action: keep open

Reason: Maintainer @javierdelapuente explicitly acknowledged this is 'a change we have in mind to add in 26.04' and offered office hours/Matrix to discuss, so it is triaged and valid. The reporter confirmed a workaround (generating requirements.txt before rockcraft pack) and offered to test on release, so there is no need to close. It should stay open pending the planned 26.04 implementation.

Impact: 50 Quick Win: 30.0 Staleness: 45 Complexity: 40 Confidence: 70 Support Request: 10

Issue body

### What needs to get done Integration uv plugin and fastapi extension. ### Why it needs to get done The fastapi extension now require requirements.txt file to build the image, which is a exception why user using uv. If the uv plugin can work with the fastapi extension together will be prefect.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 50
Quick Win: 30.0
Staleness: 45
Complexity: 40
Confidence: 70
Support Request: 10
keep open Feature request to integrate the uv plugin with the fastapi-framework extension, which currently requires requirements.txt. Maintainer confirmed the change is planned for 26.04; reporter has a workaround and offered to test.
qwen/qwen3.6-35b-a3b
Staleness: 55
Complexity: 40
Confidence: 90
Support Request: 10
keep open Feature request to integrate the uv plugin with the fastapi extension. Maintainer acknowledged it as planned for version 26.04. Author is satisfied with waiting and provided a workaround. Currently inactive.
qwen3.6-35b-a3b-mtp-q6
Staleness: 70
Complexity: 40
Confidence: 85
Support Request: 10
keep open Feature request to integrate the uv plugin with the fastapi extension, which currently requires requirements.txt. Maintainers acknowledged it as planned for 26.04, but the issue has been inactive for over seven months with no assignee.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 60
Confidence: 85
Support Request: 10
keep open Feature request to integrate the uv plugin with the fastapi extension, which currently requires requirements.txt. Planned for release 26.04, author is waiting and offered to test later.
qwen3.6-35b-a3b-mtp-q6
Staleness: 40
Complexity: 35
Confidence: 95
Support Request: 10
keep open Integrate the uv plugin with the fastapi extension to remove the requirements.txt dependency. Planned for release 26.04. Currently awaiting implementation; contributor is using a temporary workaround.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#792 (confidence 75%)

    PR #792 'feat: add uv plugin' introduced the uv plugin this extension integration depends on.

Related issues

Issue Project State Summary Similarity
#1308 feat: uv support for Flask, Django and FastAPI extensions rockcraft merged Merged. Implements uv build support for Flask, Django, and FastAPI extensions, routing to the uv plugin when uv.lock is detected. CI spread test failures were investigated and confirmed unrelated to the changes.
73%