-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
$ uv pip freeze
error: Failed to read metadata: from /home/ubuntu/workspace/example/.venv/lib/python3.10/site-packages/qPython-2.0.0.dist-info
Caused by: data did not match any variant of untagged enum DirectUrl
$ cat /home/ubuntu/workspace/example/.venv/lib/python3.10/site-packages/qPython-2.0.0.dist-info/direct_url.json
{"url": "git@github.example.com:example/qPython.git", "vcs_info": {"vcs": "git", "requested_revision": "7190a34911a789bd8e44f6b1986c8e84815b62e2", "commit_id": "7190a34911a789bd8e44f6b1986c8e84815b62e2"}}
uv/crates/pypi-types/src/direct_url.rs
Lines 32 to 37 in d05cb84
VcsUrl { | |
url: Url, | |
vcs_info: VcsInfo, | |
#[serde(skip_serializing_if = "Option::is_none")] | |
subdirectory: Option<PathBuf>, | |
}, |
Probably because the url
crate can't parse git@github.example.com:example/qPython.git
: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=3a089088700e500364057509872b61f9
thread 'main' panicked at src/main.rs:4:72:
calledResult::unwrap()
on anErr
value: RelativeUrlWithoutBase
uv version: 0.1.5
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working