[Django] #36427: Resolve test suite dependency issues on Python 3.12+ by excluding pylibmc

10 views
Skip to first unread message

Django

unread,
Jun 1, 2025, 10:33:25 AM6/1/25
to django-...@googlegroups.com
#36427: Resolve test suite dependency issues on Python 3.12+ by excluding pylibmc
-------------------------------------+-------------------------------------
Reporter: bewithgaurav | Type:
| Cleanup/optimization
Status: new | Component: Testing
| framework
Version: dev | Severity: Normal
Keywords: pylibmc, | Triage Stage:
libmemcached | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
When running Django’s test suite on Linux with Python 3.12 or higher, the
installation of pylibmc fails due to two main reasons: the absence of
libmemcached development headers on fresh or CI environments, and the lack
of official support in pylibmc for Python 3.12+. This failure causes the
entire test setup to break, even though pylibmc is not essential for
running the tests themselves.

While there is an open ticket (#36153) proposing the complete removal of
pylibmc from the test requirements, this issue represents a more immediate
hurdle for contributors trying to run the test suite on up-to-date Python
environments — particularly on non-Windows systems.
--
Ticket URL: <https://code.djangoproject.com/ticket/36427>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 1, 2025, 10:42:31 AM6/1/25
to django-...@googlegroups.com
#36427: Resolve test suite dependency issues on Python 3.12+ by excluding pylibmc
-------------------------------------+-------------------------------------
Reporter: Gaurav Sharma | Owner: (none)
Type: | Status: closed
Cleanup/optimization |
Component: Testing framework | Version: dev
Severity: Normal | Resolution: invalid
Keywords: pylibmc, | Triage Stage:
libmemcached | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Gaurav Sharma):

* resolution: => invalid
* status: new => closed

Comment:

Added as invalid since an entire deprecation is needed for Python 3.12+
--
Ticket URL: <https://code.djangoproject.com/ticket/36427#comment:1>
Reply all
Reply to author
Forward
0 new messages