Opened 2 months ago

Closed 2 months ago

#36427 closed Cleanup/optimization (invalid)

Resolve test suite dependency issues on Python 3.12+ by excluding pylibmc

Reported by: Gaurav Sharma Owned by:
Component: Testing framework Version: dev
Severity: Normal Keywords: pylibmc, libmemcached
Cc: Gaurav Sharma Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (1)

comment:1 by Gaurav Sharma, 2 months ago

Resolution: invalid
Status: newclosed

Added as invalid since an entire deprecation is needed for Python 3.12+

Note: See TracTickets for help on using tickets.
Back to Top