Skip to content

fix: use default format for uv exports#4154

Open
Sam-Razavi wants to merge 1 commit into
dlt-hub:develfrom
Sam-Razavi:fix/4133-uv-export-format
Open

fix: use default format for uv exports#4154
Sam-Razavi wants to merge 1 commit into
dlt-hub:develfrom
Sam-Razavi:fix/4133-uv-export-format

Conversation

@Sam-Razavi

Copy link
Copy Markdown

Description

Fixes #4133.

uv export has used different explicit format values across uv versions. This PR removes the explicit --format argument so uv uses its default requirements output format, avoiding the version-specific invalid-format error.

Added regression coverage for the uv.lock export path. It verifies that both generated uv export commands omit --format.

Related Issues

Additional Context

Focused validation completed:

  • uv run pytest tests/workspace/deployment/test_requirements.py -q — 99 passed
  • Real uv.lock export-path test passed
  • Black, Ruff, targeted mypy, git diff --check, and uv lock --check passed

A broader tests/workspace run completed with 1,669 passed and 24 unrelated local Windows/environment failures: missing Streamlit, unavailable symlink privilege, and local file-URL/path handling. The requirements suite passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dlthub deploy fails: uv export uses removed '--format requirements.txt' value (now 'requirements-txt')

1 participant