Closed mundodisco8 closed 10 months ago
I took the liberty of messing with the kicost-digikey-api-v3 code and managed to get it working, but I'm not very good at this so more work might be needed.
https://github.com/set-soft/kicost-digikey-api-v3/pull/1
Feel free to reject if it's not good enough.
Hi @mundodisco8 ! The patch is now merged and included in v0.1.3 release.
Issue / Problem report
Ran
kicost -i hardware\MyProject.xml -c kicost.yaml --overwrite
My config only has API keys for digikey
https://localhost:8139/digikey_callback
as its OAUTH callback. I have no idea what this is or means, or if it's the best way to do it, but I had no idea about how to configure it, and followed this guide.If I repeat the same steps with a virtual environment created under Python 3.11, it works as expected. Even more, as it downloads the tokens, my Python 3.12 venv also works (after a successful run on the 3.11 venv).
I think this is relevant: https://github.com/python/cpython/issues/94199#issuecomment-1301084075.
kicost -i hardware\MyProject.xml -c kicost.yaml --overwrite
Example.zip from Kicad 7.0.7