From 711f08c9e837196defb34745d6a97ff6f7635ec7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:27:15 +0200 Subject: [PATCH] Update python-bidi requirement from ==0.4.* to ==0.5.* (#4325) * Update python-bidi requirement from ==0.4.* to ==0.5.* Updates the requirements on [python-bidi](https://github.com/MeirKriheli/python-bidi) to permit the latest version. - [Release notes](https://github.com/MeirKriheli/python-bidi/releases) - [Changelog](https://github.com/MeirKriheli/python-bidi/blob/master/CHANGELOG.rst) - [Commits](https://github.com/MeirKriheli/python-bidi/compare/v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: python-bidi dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Update import --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Raphael Michel --- pyproject.toml | 2 +- src/pretix/base/invoice.py | 2 +- src/pretix/base/pdf.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e2c73fe829..79281f5b2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,7 +83,7 @@ dependencies = [ "pycparser==2.22", "pycryptodome==3.20.*", "pypdf==4.2.*", - "python-bidi==0.4.*", # Support for Arabic in reportlab + "python-bidi==0.5.*", # Support for Arabic in reportlab "python-dateutil==2.9.*", "pytz", "pytz-deprecation-shim==0.1.*", diff --git a/src/pretix/base/invoice.py b/src/pretix/base/invoice.py index 0b391cfd0d..30b1d3207d 100644 --- a/src/pretix/base/invoice.py +++ b/src/pretix/base/invoice.py @@ -30,7 +30,7 @@ from typing import Tuple import bleach import vat_moss.exchange_rates -from bidi.algorithm import get_display +from bidi import get_display from django.contrib.staticfiles import finders from django.db.models import Sum from django.dispatch import receiver diff --git a/src/pretix/base/pdf.py b/src/pretix/base/pdf.py index 96d4d1f0ee..ee11163bc7 100644 --- a/src/pretix/base/pdf.py +++ b/src/pretix/base/pdf.py @@ -49,7 +49,7 @@ from io import BytesIO import jsonschema import reportlab.rl_config -from bidi.algorithm import get_display +from bidi import get_display from django.conf import settings from django.contrib.staticfiles import finders from django.core.exceptions import ValidationError