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

respx fails to build with Python 3.10 #135

Closed
fabaff opened this issue Mar 1, 2021 · 4 comments
Closed

respx fails to build with Python 3.10 #135

fabaff opened this issue Mar 1, 2021 · 4 comments

Comments

@fabaff
Copy link

fabaff commented Mar 1, 2021

There is a build failure with Python 3.10:

TypeError: traceback_exception_init() got an unexpected keyword argument 'compact'

For the full details please check https://bugzilla.redhat.com/show_bug.cgi?id=1927699

Thanks

@lundberg
Copy link
Owner

lundberg commented Mar 2, 2021

Thanks for reporting. Gave a quick look, and the stack trace smells tests 3:rd party issue, i.e. trio (?).

@lundberg
Copy link
Owner

lundberg commented Mar 2, 2021

I marked the TrioBackend test case to be skipped on 3.10 for now, seems to solve this issue.

@fabaff please verify, and I'll merge #137.

@tirkarthi
Copy link

trio has an issue on this : python-trio/trio#1899

@hrnciar
Copy link

hrnciar commented Mar 25, 2021

Hello, I can confirm respx builds with Python3.10 with this patch until trio is fixed. Thank you.

https://copr.fedorainfracloud.org/coprs/g/python/python3.10/build/2097379/

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

Successfully merging a pull request may close this issue.

4 participants