servo/python
Jonathan Schwender c9548d82ef
bootstrap: Avoid needless sudo when pkgs are installed (#33281)
- Previously on fedora `./mach bootstrap` would always detect it needs to
  reinstall packages and require root permissions.
- use custom queryformat for `rpm -qa` to to just get the package name
  (e.g. `openssl-libs` instead of `openssl-libs-3.2.2-3.fc40.i686`
- Use a list to store the output result instead of one string
- Fedora (40) installs `zlib-ng` instead of `zlib` and `libjpeg-turbo` instead
  of `libjpeg`, meaning that `rpm` / dnf commands report `zlib` as not installed.
  Specifying the actually installed package avoids this problem.

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
2024-09-02 06:56:38 +00:00
..
mach Fix build script error.because starting with Python 3.9, the util module was moved from importlib to a separate top-level module called importlib.util. Therefore, if you are using Python 3.9 or later and you receive an AttributeError stating that module 'importlib' has no attribute 'util', it is likely due to a compatibility issue with your code. You can fix this issue by updating your code to import importlib.util directly (#30796) 2023-11-29 16:45:51 +00:00
servo bootstrap: Avoid needless sudo when pkgs are installed (#33281) 2024-09-02 06:56:38 +00:00
tidy mach: fix test-tidy to handle missing merge commit (#32551) 2024-06-19 07:01:58 +00:00
wpt ci: Fix the WPT export job after the repository change (#33228) 2024-08-29 09:26:04 +00:00
mach_bootstrap.py mach: Add support for paths with spaces on Windows (#32936) 2024-08-05 14:42:21 +00:00
README.md Reorganize Servo's WPT Python scripts 2023-04-20 12:24:55 +02:00
requirements.txt build(deps): bump setuptools from 68.2.2 to 70.0.0 in /python (#32781) 2024-07-15 18:57:33 +00:00
tox.ini Added tox.ini 2016-05-08 12:10:48 +02:00

This directory contains various Python modules used to support servo development.

servo

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.

tidy

servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.

wpt

servo-wpt is a module with support scripts for running, importing, exporting, updating manifests, and updating expectations for WPT tests.