You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Requirements exported from uv.lock include dev dependency groups #921
--requirements-file uv.lock exports the project's dev dependency groups into the bundle's requirements. Connect then installs test and lint tools that the deployed content never uses, and the deploy fails outright when a dev dependency is a local path.
The exported requirements include pytest and its dependencies (iniconfig, pluggy, pygments, colorama, ...) next to flask.
Consequences seen on Connect
rsconnect as a dev dependency (uv add --dev rsconnect-python, a common setup): rsconnect-python itself is filtered out, but its dependencies (semver, pyjwt, uv, pip, ...) still ship.
Dev dependency from a local path (e.g. a wheel or editable checkout): the export contains a line like ../../dist/rsconnect_python-<version>-py3-none-any.whl, which Connect cannot install. The deploy fails with Error from Connect server: process exited with code 1.
Expected
Only the project's runtime dependencies are exported. Pass --no-dev to uv export. Whether to also exclude other non-default groups (--only-group/--no-default-groups) is worth deciding at the same time.
Activity