prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
2.19k stars 132 forks source link

fix: lazy initialize client #1511

Closed baszalmstra closed 1 week ago

baszalmstra commented 2 weeks ago

Fixes #1499

The config from the CLI was set after the reqwest client was initialized. I modified the initialization to create the client lazily. This ensures that the config is properly set on the project before the client is initialized.