openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
256 stars 80 forks source link

⬆️(dependencies) update python dependencies #2331

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dev/black (changelog) ==24.2.0 -> ==24.3.0 age adoption passing confidence
sandbox/sentry-sdk (changelog) ==1.41.0 -> ==1.42.0 age adoption passing confidence

Release Notes

psf/black (dev/black) ### [`v24.3.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2430) [Compare Source](https://togithub.com/psf/black/compare/24.2.0...24.3.0) ##### Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix [CVE-2024-21503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503). This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher. ##### Stable style - Don't move comments along with delimiters, which could cause crashes ([#​4248](https://togithub.com/psf/black/issues/4248)) - Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. ([#​4270](https://togithub.com/psf/black/issues/4270)) - Fix a bug where line-ranges exceeding the last code line would not work as expected ([#​4273](https://togithub.com/psf/black/issues/4273)) ##### Performance - Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes [CVE-2024-21503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503). ([#​4278](https://togithub.com/psf/black/issues/4278)) ##### Documentation - Note what happens when `--check` is used with `--quiet` ([#​4236](https://togithub.com/psf/black/issues/4236))
getsentry/sentry-python (sandbox/sentry-sdk) ### [`v1.42.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1420) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.41.0...1.42.0) ##### Various fixes & improvements - **New integration:** [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/) ([#​2791](https://togithub.com/getsentry/sentry-python/issues/2791)) by [@​colin-sentry](https://togithub.com/colin-sentry) We added an integration for OpenAI to capture errors and also performance data when using the OpenAI Python SDK. Useage: This integrations is auto-enabling, so if you have the `openai` package in your project it will be enabled. Just initialize Sentry before you create your OpenAI client. ```python from openai import OpenAI import sentry_sdk sentry_sdk.init( dsn="___PUBLIC_DSN___", enable_tracing=True, traces_sample_rate=1.0, ) client = OpenAI() ``` For more information, see the documentation for [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/). - Discard open OpenTelemetry spans after 10 minutes ([#​2801](https://togithub.com/getsentry/sentry-python/issues/2801)) by [@​antonpirker](https://togithub.com/antonpirker) - Propagate sentry-trace and baggage headers to Huey tasks ([#​2792](https://togithub.com/getsentry/sentry-python/issues/2792)) by [@​cnschn](https://togithub.com/cnschn) - Added Event type ([#​2753](https://togithub.com/getsentry/sentry-python/issues/2753)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Improve scrub_dict typing ([#​2768](https://togithub.com/getsentry/sentry-python/issues/2768)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 ([#​2797](https://togithub.com/getsentry/sentry-python/issues/2797)) by [@​dependabot](https://togithub.com/dependabot)

Configuration

📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.