From a27c2ef906ef7239d7714fe2e4adc48b2aa8a65a Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Mon, 13 Oct 2025 16:34:26 +0200 Subject: [6.0.x] Refs #35844 -- Doc'd Python 3.14 compatibility. Backport of 56977b466c33ca3da14a1ed2609172425a76a34e from main. --- tests/mail/tests.py | 2 +- tests/requirements/py3.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/mail/tests.py b/tests/mail/tests.py index f1d7fcf43e..1dba83eb8e 100644 --- a/tests/mail/tests.py +++ b/tests/mail/tests.py @@ -258,7 +258,7 @@ class MailTests(MailTestsMixin, SimpleTestCase): `surrogateescape`. Following https://github.com/python/cpython/issues/76511, newer - versions of Python (3.12.3 and 3.13) ensure that a message's + versions of Python (3.12.3 and 3.13+) ensure that a message's payload is encoded with the provided charset and `surrogateescape` is used as the error handling strategy. diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt index 7ecc3ad044..1ca26979a6 100644 --- a/tests/requirements/py3.txt +++ b/tests/requirements/py3.txt @@ -7,7 +7,7 @@ docutils >= 0.19 geoip2 >= 4.8.0 jinja2 >= 2.11.0 numpy >= 1.26.0 -Pillow >= 10.1.0; sys.platform != 'win32' or python_version < '3.14' +Pillow >= 10.1.0 # pylibmc/libmemcached can't be built on Windows. pylibmc; sys_platform != 'win32' pymemcache >= 3.4.0 -- cgit v1.3