-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add Django 4.0+ compatibility #400
Conversation
I can't quite get the tests to run on my machine. I'm running macOS 12.1 with Python 3.9.10 and 3.10.1 built via pyenv. Here's the output of
Here's the output on 3.10.1:
|
Hi @ezarowny Thanks for the PR! First, Second, I don't think PyEnv supports CPython 3.9.10 at the moment. The last version supported is 3.9.9 added in v2.2.1. Here is a list of all the steps required to run the test suite with Python provided by PyEnv and virtualenv (you can tune it to your taste):
Finally, since Python 2 is no longer supported, Python 3.10 has removed the Python 2 backward compatibility layers. [1] We are aware that this is not the best solution. We plan to refactor test management and package builder. |
@bxsx got the tests running. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @ezarowny 👍
Thanks for the contribution!
Can you guys release a version with this fix? |
Yes. I just got access to our PyPI package. I will work on this. |
@danielmorell any updates? Just got bit by #399 today. |
@brettdh I am working on resolving some issues with our CI test suite. Once those are resolved, I will get a release published to PyPI. It should happen today. |
@danielmorell just another check-in, as I lost some time to this again today. |
Sorry about the delay! Almost there see #409. |
Version 0.16.3 has been published to PyPI https://pypi.org/project/rollbar/. Again, sorry that took longer than expected! |
Thanks! |
Description of the change
Django 4.0 introduces some changes designed to better handle frozen environments (see here) which broke the pyrollbar Django middleware. This change should allow pyrollbar to properly patch
ExceptionReporter.get_traceback_html
in django.views.debug for Django 4.0+.Type of change
Related Issues
Checklists
Development
Code review