[FIX] sentry: Fix DeprecationWarning for sentry_sdk.push_scope
See: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x#scope-pushing
Hi @barsi, @versada, @naglis, @moylop260, @fernandahf, some modules you are maintaining are being modified, check this out!
@hnavarro-kernet could you rebase?
Should be rebased now @MiquelRForgeFlow
Pre-commit successful, waiting for tests/test now.
tests are red, please, could you check it?
All 4 PRs depend on each other I guess:
- https://github.com/OCA/server-tools/pull/3103
- https://github.com/OCA/server-tools/pull/3104
- https://github.com/OCA/server-tools/pull/3105
- https://github.com/OCA/server-tools/pull/3106
So maybe merge them into one?
Maybe backport from this one that should have fixed all the issues?
- https://github.com/OCA/server-tools/pull/3174
If a maintainer with approval rights want to tell me what to do I'd be happy to, if not, this has been on prod since the PR was opened so I'm not going to fight the tests.