Server rental store

Python Environments

Python Environments

This article details the configuration and management of Python environments on our MediaWiki servers. Proper environment management is crucial for maintaining application stability, avoiding dependency conflicts, and facilitating reproducible builds. This guide is intended for system administrators and developers working with Python-based extensions or tools within the MediaWiki ecosystem.

Understanding Python Environments

A Python environment is a self-contained directory that contains a specific Python interpreter and a set of installed packages. This isolation prevents conflicts between different projects that might require different versions of the same package. We primarily utilize virtual environments to achieve this isolation. Without environments, installing packages globally can lead to versioning issues and break existing functionality. See Manual:Configuration for general configuration guidelines.

Tools for Environment Management

We employ several tools for creating and managing Python environments:

⚠️ *Note: All benchmark scores are approximate and may vary based on configuration. Server availability subject to stock.* ⚠️