-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.12 support #210
Comments
I haven't looked into it yet and I haven't used Python 3.12 yet but I'm aware it has been out for a while now, I will check on the next release what's missing to get there, thanks! |
any news on this? |
@AndronikosKostas No news, the digikey API package hasn't been updated yet and I haven't had the chance to test Python 3.12 yet. |
This would be useful to me, as I just updated to Ubuntu 24.04 which uses Python 3.12. |
It's next on my TODO list 😄 There is a PR (peeter123/digikey-api#51) already in place, I need to test it out. It also involves the new Digi-Key API so it will take a bit more testing to verify everything is good. The |
As this gets now important for me as well as our IT wants to switch to 24.04 as well I would vote for replacing the digikey package with the fork. The maintainer hasn't done anything there in years so it's save to say he wont come back to enable 3.12 compatibility soon. There are some workarounds to get 3.11 working on newer distros but it's not convenient. |
Also this will probably be a ubuntu 24.04 specific problem which needs to be solved: actions/runner-images#10781 |
Hello @T0jan I may not have a lot of time on hands in the next few weeks, I did want to get it up and running on 3.12 at one point though... WSL 24.04 seems to be available for Windows now, that was also missing for my setup. I will start by checking that one out. |
@eeintech if you need some help on the Linux side, I have some time to spare rn. Just tell me what you would need. |
I was able to run Ki-nTree with Python3.12 and both:
So not with a single fork... and I haven't tried the Digi-Key API v4, did you? |
@eeintech doesn't the first fork automatically use the v4 API? Or do you mean just checking if it works? Also, I figured out how to get Flet and therefore Ki-nTree running on rolling release distros, if you want I can add a section on it to the README. |
@T0jan The new Digi-Key API response is slightly different, so Ki-nTree would need to adapt to it. I had created an instance on Digi-Key's developer website to test it out but haven't had the chance to update the parsing yet.
That'd be great! |
@eeintech I will see what adaptations are needed for DigiKey v4 and fix the other minor bugs still open as well in the next days |
@T0jan Awesome thanks 👍 |
Btw, there was a pending PR which I finally merged. Now that |
Have you looked into this? Besides
distutils
(removed in Python 3.12) used bydigikey-api
(peeter123/digikey-api#48), is there any other dependency holding >3.11 support back?The text was updated successfully, but these errors were encountered: