conda / rattler

Rust crates to work with the Conda ecosystem.
BSD 3-Clause "New" or "Revised" License
258 stars 54 forks source link

Ability to disable authentication fallback storage warning #422

Open pavelzw opened 10 months ago

pavelzw commented 10 months ago

In some use cases (for example building with github actions or running pixi in a docker container with no keychain) I get the repeated warning

WARN rattler_networking::authentication_storage::fallback_storage: Can't find path for fallback storage on /home/runner/.rattler/rattler_auth_store.json

Since in these use cases, it's intended to not have a keychain, I would like to not see this warning. Maybe with RATTLER_NO_FALLBACK_STORAGE_WARNING=1?

baszalmstra commented 7 months ago

@pavelzw is this still the case?

wolfv commented 7 months ago

Yeah it is still the case, but we forcefully disable the logs in rattler-build nowadays

pavelzw commented 7 months ago

I actually also haven't seen this issue with pixi in docker containers / GHA in a while...