Skip to content

Commit

Permalink
Fix EE compilation error
Browse files Browse the repository at this point in the history
error[E0658]: attributes on expressions are experimental
   --> windmill-worker/src/python_executor.rs:144:5
    |
144 |     #[cfg(feature = "enterprise")]
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #15701 <rust-lang/rust#15701> for more information
  • Loading branch information
pyranota committed Oct 2, 2024
1 parent ba11eed commit 175528e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/windmill-worker/src/python_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ pub async fn uv_pip_compile(
};

#[cfg(feature = "enterprise")]
requirements = replace_pip_secret(db, w_id, &requirements, worker_name, job_id).await?;
{
requirements = replace_pip_secret(db, w_id, &requirements, worker_name, job_id).await?;
}

if no_uv || *USE_PIP_COMPILE {
no_uv = true;
Expand Down

0 comments on commit 175528e

Please sign in to comment.