aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach
Commit message (Collapse)AuthorAgeFilesLines
* change terminal wrapper library from blessing to blessed to support running ↵TIN TUN AUNG2025-02-062-6/+6
| | | | | mach test-wpt on windows. (#35327) Signed-off-by: rayguo17 <rayguo17@gmail.com>
* mach: remove python2 compatibility code (#33410)Jonathan Schwender2024-09-116-22/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * util.py: Remove six We don't need to support python2 anymore, so we can just use `str(x)` instead of `six.ensure_str(x)` Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * config.py: Remove six We don't need to support python2 anymore, so we can just use `str(x)` instead of `six.ensure_str(x)` Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * main.py: Remove six We don't need to support python2 anymore, so we can just use `str(x)` instead of `six.ensure_str(x)` Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * main.py: Fix `--settings` being ignored Previously `paths` was unused in this function, and the usage for the settings_file would have no effect. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * terminal.py: Remove `six` Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * registrar.py: Remove `six` Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * mach/util.py: Remove `six` Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * mach: Remove python2 from the list of programming languages Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Fix build script error.because starting with Python 3.9, the util module was ↵season2023-11-291-1/+1
| | | | 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)
* mach: use `importlib` module instead of `imp` (#30645)Mukilan Thiyagarajan2023-10-301-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mach: use `importlib` module instead of `imp` `imp` module has been deprecated since python 3.4 and has been removed in 3.12. The recommended alternative is to use the `importlib` module that was introduced in python 3.1 This is required to fix the CI failures in macos builds since GitHub runner images for macos-13 now use python 3.12 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * mach: use `importlib` module instead of `imp` `imp` module has been deprecated since python 3.4 and has been removed in 3.12. The recommended alternative is to use the `importlib` module that was introduced in python 3.1 This is required to fix the CI failures in macos builds since GitHub runner images for macos-13 now use python 3.12 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Stop using distutils (#30638)Martin Robinson2023-10-281-4/+2
| | | | This is removed from Python 3.12 so we can no longer rely on it. All of this functionality is either in `setuptools` or `shutil`.
* Make `mach` work on Python 3.11Andreu Botella2023-01-221-1/+1
|
* Update more deprecated python imports.Max von Forell2021-12-262-3/+3
| | | | Signed-off-by: Max von Forell <max@vonforell.de>
* Update deprecated python import.Josh Matthews2021-12-211-1/+1
|
* Vendor mach-1.0.0.Josh Matthews2021-12-2122-0/+2849
|
* Upgrade mach to 0.6; stop vendoring mach.Corey Farwell2016-05-0235-3790/+0
| | | | | | | | | | When I originally rewrote Servo's mach bootstrapping (using virtualenv w/ requirements.txt in #7103), I didn't specify mach as a requirement because a new version hadn't been published in a while. Now that 0.6 is out, I asked the mach maintainers to publish a new version on PyPI, so now we can fetch it like the other Python dependencies. Fixes https://github.com/servo/servo/issues/10728.
* Upgrade to latest mach from mozilla-centralMatt Brubeck2015-10-022-6/+25
|
* Update mach from gecko treeJames Graham2015-07-0118-520/+785
|
* Remove unused imports in the Python filesCorey Farwell2015-05-315-15/+2
| | | | Found using flake8
* Update mach to latest changes from mozilla-centralMatthew Rasmus2014-11-233-26/+109
| | | | | | | Updates the way mach mixes unrecognized arguments and predefined arguments (see [mozilla bug 1076649](https://bugzilla.mozilla.org/show_bug.cgi?id=1076649) for details on this change).
* Cargoify servoJack Moffitt2014-09-0831-0/+3436