Handle uv pyproject.toml
without a requirements.txt
lock file
#11735
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What are you trying to accomplish?
This PR fixes the error
Passed nil into T.must
:Contributes to #10478
Fixes beta bugs:
uv.lock
#10478 (comment), @gobbledygook88uv.lock
#10478 (comment), @abkfenrisuv.lock
#10478 (comment), @alexuv.lock
#10478 (comment), @ulgensuv.lock
#10478 (comment), @MusicalNinjaDad only "Passednil
into T.must"uv.lock
#10478 (comment), @christianplatta1012uv.lock
#10478 (comment), @mikiczAnything you want to highlight for special attention from reviewers?
To fix the issue reported in the beta where
pyproject.toml
files were not processed in the absence of arequirements.txt
file:if pipcompile_in_file
check on line105
ofuv/lib/dependabot/uv/file_parser.rb
pipcompile_in_file
methodThe pip compile implementation that we borrowed from required
pyproject.toml
to have an accompanying lock filerequirements.txt
, howeveruv
does not have this limitation.This PR also includes some code tidy-up after the initial port from the
python
folder.There are two commits:
pyproject.toml
handling and tidy upHow will you know you've accomplished your goal?
We replicated the error and tested the fix against https://github.com/gulfofmaine/buoy_barn using
script/dependabot
:script/dependabot update uv gulfofmaine/buoy_barn -d "/app"
Reponse
cc @abkfenris
Checklist