# Django: set up its test suite with uv

DevFeed: [Django: set up its test suite with uv](<https://devfeed.tech/articles/django-set-up-its-test-suite-with-uv-77569.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/08/django-test-suite-uv/>)

Author: Adam Johnson

Published: 2026-10-07T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Django](<https://devfeed.tech/topics/django.md>), [Bun](<https://devfeed.tech/topics/bun.md>)

Tags: [django](<https://devfeed.tech/tags/django.md>), [python](<https://devfeed.tech/tags/python.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>), [uv](<https://devfeed.tech/tags/uv.md>)

## AI overview

A guide to setting up and running Django's test suite with uv. It explains how to create a virtual environment, install Django and test requirements, and skip pylibmc when its C library dependencies are difficult to compile; tests requiring pylibmc are skipped.

## Source excerpt

When contributing to Django, you'll want to run its test suite to check your changes. The official contributing docs cover setup in Running the unit tests, using a virtual environment and pip. Here's an alternative guide using uv. Setup First, clone Django and change into the repository: $ git ...