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
[BUG] [V2] pixi script parser splits git+ URLs on the first @ (breaks ssh://git@ and credentialed URLs) #8450
When building an image from a pixi PEP 723 script, _pypi_requirement_to_pixi (src/flyte/_utils/pixi_script_parser.py) converts git+ requirements with partition("@"), which splits on the first@ in the URL. Any @ in the URL authority is therefore treated as the revision separator:
ssh://git@... is the URL form pixi itself documents for git dependencies, so private-repo dependencies cannot be installed this way, and the subdirectory fragment is never mapped to pixi's subdirectory key.
User info stays in git, only an @ in the URL path marks the revision, and #subdirectory=sub becomes subdirectory = "sub".
Suggested fix
Parse the URL with urllib.parse.urlsplit, take the revision via rpartition("@") on the path only, and map the subdirectory fragment to pixi's subdirectory key.
The reported bug is supported by the current parser: it splits git+ URLs at the first@ and only maps the result to git and optional rev; the provided source does not show handling for a subdirectory fragment. Parser source The tests cover a simple Git URL with a revision, but not @ in the authority or subdirectory. Parser tests
Activity
runllm commentedon Nov 22, 2026
The reported bug is supported by the current parser: it splits
git+URLs at the first@and only maps the result togitand optionalrev; the provided source does not show handling for asubdirectoryfragment. Parser source The tests cover a simple Git URL with a revision, but not@in the authority orsubdirectory. Parser testsSources:
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.
Mention @Herald to ask follow-up questions. See runllm.com for more!