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

feat: SDK 2.0 Support #31

Merged
merged 21 commits into from
Apr 4, 2024
Merged

Conversation

szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Mar 7, 2024

This PR enables support for 2.0 of the Sentry SDK. The changes are likely incompatible with Sentry SDK 1.x.

We are still in process of testing this PR, hence why it is marked as a draft. We should wait to merge until we verify that Sentry tests pass when run against this pytest-sentry version

Fixes GH-27

@szokeasaurusrex szokeasaurusrex changed the title SDK 2.0 Support feat: SDK 2.0 Support Mar 8, 2024
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review March 8, 2024 10:10
pytest_sentry.py Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
antonpirker added a commit to getsentry/sentry that referenced this pull request Apr 4, 2024
Use the new Python SDK 2.0.0 in sentry.io. Some minor changes where made
in the codebase to use the new API of Python SDK 2.0.0.

This also includes using an updated version of
getsentry/pytest-sentry#31.

---------

Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
Co-authored-by: Francesco Vigliaturo <francesco.vigliaturo@sentry.io>
Co-authored-by: ArthurKnaus <arthur.knaus@sentry.io>
@szokeasaurusrex szokeasaurusrex merged commit 2ea3687 into main Apr 4, 2024
9 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/sdk-2.0-support branch April 4, 2024 14:29
szokeasaurusrex added a commit that referenced this pull request Apr 4, 2024
szokeasaurusrex added a commit that referenced this pull request Apr 4, 2024
szokeasaurusrex added a commit that referenced this pull request Apr 4, 2024
szokeasaurusrex added a commit that referenced this pull request Apr 4, 2024
szokeasaurusrex added a commit that referenced this pull request Apr 5, 2024
This reverts commit 687802f and changes the install requires version specifier. To be merged into main only after a patch release containing #32 is released.
shellmayr pushed a commit to getsentry/sentry that referenced this pull request Apr 10, 2024
Use the new Python SDK 2.0.0 in sentry.io. Some minor changes where made
in the codebase to use the new API of Python SDK 2.0.0.

This also includes using an updated version of
getsentry/pytest-sentry#31.

---------

Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
Co-authored-by: Francesco Vigliaturo <francesco.vigliaturo@sentry.io>
Co-authored-by: ArthurKnaus <arthur.knaus@sentry.io>
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.

Make pytest-sentry compatible with Sentry SDK 2.0
3 participants