Skip to content
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 compatability #347

Closed
MaxAvonic opened this issue Oct 3, 2023 · 1 comment
Closed

Python 3.12 compatability #347

MaxAvonic opened this issue Oct 3, 2023 · 1 comment

Comments

@MaxAvonic
Copy link

We were using the latest python version for our docker version and this updated to 3.12 today.
While building a new release as of now, we came across this issue.
We do not have this issue when building our image with python 3.11

image

@otaviojacobi
Copy link
Contributor

Hello @MaxAvonic thanks for raising but I could not reproduce. I created a empty conda environement with python 3.12.0 installed, ran a clean pip install balena-sdk from scratch and ran our test suite and manually tested a basic example and everything worked. More over, I ran our CI with Python 3.12 and everything is fine: #348

Now looking at your error I see it is caused because a bug on a version of the typing_extensions library which was already fixed on python/typing_extensions#162 and on our SDK we defined this library version as "*" here, which means, any version. I suspect that in your build process some other library or some caching is setting this library aswell using an outdated version that has the bug, could you please ensure you set typing_extensions library to latest and check if it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants