WindmillWWindmill
Powered by
tl_jacobT
Windmill•10mo ago•
3 replies
tl_jacob

Ignoring .venv during script metadata generation

@rubenf I am using
uv
uv
for local script development, which creates a
.venv
.venv
directory within the script directory. I noticed that
script generate-metadata
script generate-metadata
was taking a long time > 40sec for a single script and was able to determine that the bottleneck is findGlobalDeps iterating over all the files in the
.venv
.venv
directory when trying to find a lockfile candidate.

I already have a
requirements.txt
requirements.txt
right next to the script. Is there a way to either:
1. have
script generate-metadata
script generate-metadata
ignore the
.venv
.venv
directory OR
2. point
script generate-meatdata
script generate-meatdata
right at the
requirements.txt
requirements.txt
?

For #1, adding
--excludes '**/.venv/**
--excludes '**/.venv/**
doesn't work
GitHub
windmill/cli/script.ts at 75ee10ea65a391701875450fd0454eba93315037 ...
Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-source alternative to Retool and Temporal...
windmill/cli/script.ts at 75ee10ea65a391701875450fd0454eba93315037 ...
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

ExecutionErr: error during execution of the script:pip compile failed: Lock file generation failed.
TSRTTSR / help
14mo ago
wmill script generate-metadata running into 502 errors
JieJJie / help
10mo ago
wmill script generate-metadata Error: Failed to generate lockfile.
rubenfRrubenf / help
2y ago
duplicate key value violates unique constraint "deployment_metadata_script"
mrquipMmrquip / help
2y ago