-
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
Updated supported and tested frameworks and modernized tests and packaging. #455
Conversation
@@ -523,7 +525,7 @@ def test_get_request_fastapi_router(self): | |||
def root(fastapi_request: Request): | |||
current_request = rollbar.get_request() | |||
|
|||
self.assertEqual(current_request, fastapi_request) | |||
self.assertEqual(get_public_attrs(current_request), get_public_attrs(fastapi_request)) |
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.
Are the failsafe comments on this file below from GH Actions a concern?
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.
They come from the testsuite raising errors to ensure the library catches and reports errors correctly. One of these days I will make them go away, so our reports are cleaner. So, not a concern just an annoyance.
Description of the change
This PR updates and provides better documentation about the framework versions we support and test against.
The other change in this PR is to modernize our packaging and testing. I have replaced the
setup.py
file with apyproject.toml
file and added a minimal tox setup for running tests.Type of change
Related issues
To get the tests to pass on all version of Python, I also had to resolve this issue.
Checklists
Development
Code review