Skip to content

Commit

Permalink
Handle raw_deps properly
Browse files Browse the repository at this point in the history
  • Loading branch information
pyranota committed Dec 19, 2024
1 parent 611355e commit dec2fac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/windmill-worker/src/worker_lockfiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1690,6 +1690,10 @@ async fn capture_dependency_job(
let mut annotated_pyv_numeric = None;

let reqs = if raw_deps {
// `wmill script generate-metadata`
// should also respect annotated pyversion
// can be annotated in script itself
// or in requirements.txt if present
annotated_pyv_numeric =
PyVersion::from_py_annotations(anns).map(|v| v.to_numeric());
job_raw_code.to_string()
Expand Down

0 comments on commit dec2fac

Please sign in to comment.