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

Updated supported and tested frameworks and modernized tests and packaging. #455

Merged
merged 12 commits into from
Sep 13, 2024

Conversation

danielmorell
Copy link
Collaborator

@danielmorell danielmorell commented Aug 30, 2024

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 a pyproject.toml file and added a minimal tox setup for running tests.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Maintenance
  • New release

Related issues

To get the tests to pass on all version of Python, I also had to resolve this issue.

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers assigned
  • Issue from task tracker has a link to this pull request
  • Changes have been reviewed by at least one other engineer

@danielmorell danielmorell changed the title Updated supported and tested frameworks. Updated supported and tested frameworks and modernized tests and packaging. Sep 13, 2024
@danielmorell danielmorell requested a review from alif September 13, 2024 21:27
@danielmorell danielmorell added this to the 1.1.0 milestone Sep 13, 2024
@@ -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))
Copy link

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?

Copy link
Collaborator Author

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.

@danielmorell danielmorell merged commit 4956f85 into master Sep 13, 2024
75 checks passed
@danielmorell danielmorell deleted the updated/frameworks-and-tests branch September 13, 2024 23:00
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 this pull request may close these issues.

Starlette Request change to _form attribute breaks rollbar starlette integration
2 participants