Andreu Codina

Results 33 comments of Andreu Codina

Should we include default rules for some project types? For instance, there're FastAPI rules (https://docs.astral.sh/ruff/rules/#fastapi-fast). It's a library very used, but I don't know if Ruff knows if a package...

Idea: how about declaring the rule "strict" as an alias for the linter rules I posted? ```toml [tool.ruff.lint] select = ["strict"] ``` This aligns with Pyright: ```toml [tool.pyright] typeCheckingMode =...

> RUST_LOG=uv=trace uv pip install ```bash $ RUST_LOG=uv=trace uv pip install --system --extra-index-url=https://pkgs.dev.azure.com/mycompany/_packaging/MyFeed/pypi/simple --keyring-provider subprocess --requirement requirements.txt --verbose DEBUG Starting interpreter discovery for default Python DEBUG Cached interpreter info for...

> Thanks! > > So this difference here is that `pip` is able to use `keyring`'s Python API which allows retrieval of both a username _and_ password. We can't use...

> Can you see the username that pip retrieves? It might just be a hard-coded string like "token". > > Their keyring plugin does return a username https://github.com/microsoft/artifacts-keyring/blob/master/src/artifacts_keyring/plugin.py#L135-L136 > >...

> Maybe like they implemented that wrong? cc @BakerNet > > You can use `python -c 'import keyring; keyring.get_credential("", username=None)'` instead It works, but no. If I don't wait some...

After installing the new version of `keyring` and using the username `VssSessionToken` in the private feed URL, I'm getting this error: ``` TRACE Request for https://[email protected]/mycompany/_packaging/MyFeed/pypi/simple/my-private-package/ is missing a password,...

Being able to install private packages from Azure DevOps is essential in my company to use `uv`. Could you please tell us if you're going to invest resources to solve...

> It works for me... Are you getting your credentials first before installing packages with uv? `keyring --mode creds get https://pkgs.dev.azure.com/orgname/_packaging/Packages/pypi/simple/` It doesn't work only with that command. I'm executing...

> Humm, and the keyring command works fine? You are able to sign-in and if you do it again it prints the username-token combo? Yes. It prints `VssSessionToken` and the...