[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sentry-python



Hi Eberhard,

Is anyone working on updating sentry-python <https://tracker.debian.org/pkg/sentry-python> to prevent autoremoval due to #1058422 <https://bugs.debian.org/1058422>?

I did some debugging/testing, because this bug affects our Cura packages, but I didn't get very far.

The root of the problem is a change in the Python 3.12 logging library:
https://docs.python.org/3/library/logging.html#logrecord-attributes
> Changed in version 3.12: taskName was added.

The unit tests in Debian's sentry-sdk can't cope with that.

However, it seems like upstream has already done the work to fix Python 3.12 compatibility: https://github.com/getsentry/sentry-python/issues/2480

So, it should suffice to upgrade to at least 1.34.0 (or better yet, the latest 1.x release).

Regards,
Gregor


Reply to: