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
Cerberus tests fail under Python 3.8 #504
Comments
thanks for reporting. a fix has been merged to the '1.3.x btw, we would have loved to continue using https://github.com/ignatenkobrain/sphinxcontrib-issuetracker |
I haven't managed to fix it yet and because the code is kinda complicated I am not sure that I do, but I might have some important info. I've tried to test the behavior with the dictionary from the test and it seems that the representation of the dictionary in the AST is different between 3.7 and 3.8. The dictionary I'm talking about:
List of nodes in Python 3.7:
List of nodes in Python 3.8:
From the documentation, it seems that the Num, Str, Bytes, NameConstant and Ellipsis are considered as deprecated and will be removed. The upstream issue is here and contains some useful info and links to other issues. I am not saying that this is the cause of the problem here but the different representation of the same thing may mean something. |
Well, I should refresh pages more frequently 😄 |
Used Cerberus version / latest commit: 1.3.1
Bug report / Feature request
I'm maintainer of Cerberus in Fedora. Python folks are trying to rebuild all packages against Python 3.8. However, cerberus one tests fail with 3.8 (but succeed with 3.7). Below you can find output.
The text was updated successfully, but these errors were encountered: