#36664: Python 3.15 compatibility.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mike Edmunds):
Just a heads up that the markers in tests/requirements/py3.txt should
probably be `sys_platform` rather than `sys.platform`. Also, there's no
numpy wheel available for 3.150b1 on macOS, and the build requirements
seem complex, so I just disabled it like was already done for win32.
{{{#!patch
Index: tests/requirements/py3.txt
===================================================================
diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt
--- a/tests/requirements/py3.txt (revision
05a5244b8924c47cc5b1332dd15aaa1be6abbe1e)
+++ b/tests/requirements/py3.txt (date 1778696468353)
@@ -6,8 +6,8 @@
docutils >= 0.22
geoip2 >= 4.8.0
jinja2 >= 2.11.0
-numpy >= 1.26.0; sys.platform != 'win32' or python_version < '3.15'
-Pillow >= 10.1.0; sys.platform != 'win32' or python_version < '3.15'
+numpy >= 1.26.0; sys_platform != 'win32' and sys_platform != 'darwin' or
python_version < '3.15'
+Pillow >= 10.1.0; sys_platform != 'win32' or python_version < '3.15'
# pylibmc/libmemcached can't be built on Windows.
pylibmc; sys_platform != 'win32'
pymemcache >= 3.4.0
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36664#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019e229922e9-a5b732c3-82da-4110-919a-cd3079ae2346-000000%40eu-central-1.amazonses.com.