-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
Issue using Python 3.13 #681
Comments
According to your error stack, it seems cryptography's issue. Can you upgrade cryptography? Also, if you want to use the |
Hi @lepture , the only dependencies in my project I have are these:
I've now added
I saw the |
I've migrated the code now to
This wasn't an issue with the old code. Another issue I ran into, which I'm not sure how to fix, is how to use My new code looks like this:
And it's throwing an error:
|
Okay, after reading this: https://jose.authlib.org/en/guide/algorithms/, I've given it another shot: Now with using RSA Key instead of OctKey:
Here, I'm getting:
If I remove that cleaning part, I'm getting this:
I'm getting:
Any suggestion would be appreciated. |
Ah, this seems to be caused by user error: I was using the default registry, and I've updated to a new registry, which made things pass:
|
Unfortunately, the code still doesn't work with Python 3.13. I have this as my dependencies:
And with the above code, I'm getting this error:
Turns out, this is caused by an older version of CFFI. I was using 1.16.0, when I explicitly use CFFI 1.17.1, this fixes the issue. See python-cffi/cffi#23. I can confirm our code now works on 3.12 and 3.13. |
Describe the bug
A clear and concise description of what the bug is.
Error Stacks
To Reproduce
The only thing I'm doing is importing a library:
Expected behavior
It shouldn't fail (this code works in 3.12)
Environment:
The text was updated successfully, but these errors were encountered: