Commit Graph
55 Commits
Author SHA1 Message Date
Sylvestre Ledru b6a8a23df1 Bug 1910311 - Update to sphinx 7.4.7 r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D217911
2024-08-08 07:32:50 +00:00
Stanca Serban 2412069810 Backed out 2 changesets (bug 1910311) as requested by Sylvestre.
Backed out changeset 5b8997293aaa (bug 1910311)
Backed out changeset d9bfe8fcbecf (bug 1910311)
2024-07-30 11:55:46 +03:00
Sylvestre Ledru a0989ed0f0 Bug 1910311 - Update to sphinx 7.4.7 r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D217911
2024-07-29 18:58:49 +00:00
Sylvestre Ledru 2c73c90c3c Bug 1908672 - Update to sphinx 7.4.6 r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D216954
2024-07-18 16:09:42 +00:00
Sylvestre Ledru 483a51ca63 Bug 1908322 - Update to sphinx 7.4.5 r=firefox-source-docs-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D216797
2024-07-17 11:10:40 +00:00
Sylvestre Ledru 9efa3908cc Bug 1892670 - Upgrade some mach doc dependencies r=firefox-source-docs-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D208109
2024-04-22 18:57:20 +00:00
Sylvestre Ledru c143e87aa2 Bug 1891375 - Update to sphinx 7.2.6 r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D206585
2024-04-15 14:35:48 +00:00
Logan Rosen d2dee99fd1 Bug 1854149 - upgrade to Sphinx 7.1.2 r=sylvestre,firefox-source-docs-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189725
2024-03-21 18:24:18 +00:00
Sylvestre Ledru ff0f5452d5 no bug - doc: upgrade sphinx-copybutton from 0.5.1 to 0.5.2 r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D204352
2024-03-21 09:21:14 +00:00
Sylvestre Ledru 3796b461e3 Bug 1828390 - doc: upgrade to myst-parser 2.0 (fixes link issues) r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D204334
2024-03-12 12:06:23 +00:00
ahochheiden a7c29534e9 Bug 1843209 - Regenerate the third_party/python lockfile with Python 3.8 as the minimum version r=firefox-build-system-reviewers,glandium,mach-reviewers,ahal
If this is not done, the next person to vendor will also make all of the changes in this commit, which is unnecessary noise.

Differential Revision: https://phabricator.services.mozilla.com/D183450
2023-12-12 03:52:01 +00:00
Andrew Halberstadt 8d7924010f Bug 1854327 - [docs] Upgrade Sphinx==6.2.1 + other dependencies, r=firefox-source-docs-reviewers,mach-reviewers,sylvestre,championshuttler,ahochheiden
Also remove dependencies that we don't depend on directly. I assume these were
previously added to get a lockfile of sorts, but maintaining our dependencies'
dependencies manually is an excercise in futility.

Let's forget about locking, and if it becomes a problem implement locking into
mach's sites logic.

Differential Revision: https://phabricator.services.mozilla.com/D195300
2023-12-04 21:26:17 +00:00
Andrew Halberstadt ada279d7cb Bug 1867848 - [docs] Stop processing Markdown frontmatter, r=firefox-source-docs-reviewers,necko-reviewers,mach-reviewers,championshuttler,valentin,sylvestre,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D195284
2023-12-04 21:26:13 +00:00
Cosmin Sabou 4d28b93ff6 Backed out 2 changesets (bug 1843209) for python3 related browser accessible failures. CLOSED TREE
Backed out changeset 052214d67a99 (bug 1843209)
Backed out changeset 36c5e6c2819f (bug 1843209)
2023-11-23 02:41:22 +02:00
ahochheiden 6d5d8d77dd Bug 1843209 - Regenerate the third_party/python lockfile with Python 3.8 as the minimum version r=firefox-build-system-reviewers,glandium,mach-reviewers,ahal
If this is not done, the next person to vendor will also make all of the changes in this commit, which is unnecessary noise.

Differential Revision: https://phabricator.services.mozilla.com/D183450
2023-11-22 20:07:42 +00:00
Kagami Sascha Rosylight 0c9a556309 Bug 1861659 - Update to mots 0.10.0 r=zeid,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D192076
2023-10-27 17:11:17 +00:00
Julien Cristau 19787dd229 Bug 1858455 - update vendored json-e to 4.5.3 r=mach-reviewers,releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D190700
2023-10-12 08:13:23 +00:00
ahochheiden 137cdeabce Bug 1855716 - Move jsonschema, pyrsistent, and pkgutil_resolve_name dependencies back into mach.txt instead of specifying them in individual sites r=mach-reviewers,ahal
D180501 made the original change that this patch undoes. An earlier
change in that stack inadvertently silently disabled Telemetry, which
hid this issue.

The problem is that `glean` (which we optionally install in the `mach`
site also needs `jsonschema` (and `jsonschema` depends on `pyrsistent`
and `pkgutil_resolve_name`). Since our vendored version was no longer
specified in the `mach.txt` site, it pulled a different version
(`4.19.1`) from the vendored version (`4.17.3`) which causes issues in
the `wpt` site.

Since glean explicitly needs `jsonschema` it never should have been
taken out of the `mach` site, so this patch corrects that mistake.

Differential Revision: https://phabricator.services.mozilla.com/D189553
2023-09-28 20:42:50 +00:00
Connor Sheehan fe70aea21e Bug 1854496: update vendored aiohttp/requests and add new dependencies r=firefox-build-system-reviewers,mach-reviewers,ahochheiden
Update `aiohttp` to version 3.8.5 and `requests` to version 2.31.0,
and vendor their respective dependencies. Add all the new dependencies
to the various required site virtualenv requirements files.

Differential Revision: https://phabricator.services.mozilla.com/D188904
2023-09-25 14:22:11 +00:00
Logan Rosen 4a0f461ae4 Bug 1750450 - update to Sphinx 5.3.0 r=sylvestre,firefox-source-docs-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D187860
2023-09-11 07:16:10 +00:00
Logan Rosen 673c4dae7f Bug 1786490 - remove references to vendored pyparsing r=sylvestre,mach-reviewers,ahal,ahochheiden
Not necessary because pyparsing is no longer a dependency of packaging, so it is no longer vendored.

Differential Revision: https://phabricator.services.mozilla.com/D186411
2023-09-06 16:14:30 +00:00
Tom Marble 42cca5a7ec Bug 1779473 - Add TOML support to manifestparser r=jmaher,ahal
ManifestParser will read TOML files, if present, when use_toml=True
Added tomlkit as a third_party python package
Added poetry-core and tomlkit to pypi (separately as Bug 1845383, Bug 1844787)
Adds TOML test coverage
Adds tomlkit as a dependency of mozharness (in test_archive.py)
Added tomlkit to virtualenv_modules in testing/mozharness/configs/unittests
Removes dependency on six

testing/tools/mach_test_package_initialize.py
- Corrected SEARCH_PATHS

testing/mozharness/mozharness/mozilla/testing/per_test_base.py
- moved `from manifestparser import TestManifest` into function call
  to avoid harness inability to locate the internal artifact
- Removed linter warnings

testing/mozbase/manifestparser/manifestparser/manifestparser.py
- Removed linter warnings
- Updated logger usage pattern
- Simplifed _read logic, refactored get_fp_filename()
- Improve context for `include:` logging message
- Defer `import mozlog` until the point of use

testing/mozbase/manifestparser/manifestparser/toml.py
- Removed linter warnings
- Removed unused logger
- Improved readability of read_toml()

testing/mozbase/manifestparser/manifestparser/ini.py
- Removed linter warnings
- Removed unused logger

testing/mozbase/manifestparser/manifestparser/filters.py
- Removed linter warnings

testing/mozbase/manifestparser/tests/test_chunking.py
- Removed linter warnings

Bumped manifestparser version to 2.2.31

Differential Revision: https://phabricator.services.mozilla.com/D184020
2023-07-27 20:16:19 +00:00
ahochheiden ab506f6507 Bug 1808732 - Move various dependencies out of the mach site to either the specific site they're needed in (like build, or lint), and/or to common` r=firefox-build-system-reviewers,glandium
Now that we selectively load command modules, and activate the command
virtualenv much earlier in the mach process, a lot of the module
dependencies specified in `mach.txt` are no longer necessary there. With
their removal from `mach.txt` they will no longer be automatically
inherited by every site, which reduces potential dependency conflicts
for specific sites.

The `common` site still effectively has the same set of dependencies.
This is the default site that all commands use unless otherwise
specified. Most commands use this site, and going through every command
and seeing if a dependency is or isn't needed, then deciding if or if
not to create a new site for that command made sense was too time
consuming to do here.

Essentially the idea here going forward is that if you're trying to
add/update a new dependency to a command that is currently defaulting to
the `common` site and there is a conflict with one of the dependencies
in `common` you can move your command to a new site specifically for
your command, and you will have the minimal possible set of dependencies
a mach command can have, improving the odds that you can add the
module(s) you need for your command.

Depends on D180500

Differential Revision: https://phabricator.services.mozilla.com/D180501
2023-07-25 00:24:53 +00:00
Natalia Csoregi cacfbf2c5f Backed out changeset 49a85b3b07e0 (bug 1808732) as per request. a=backout 2023-07-19 17:29:41 +03:00
ahochheiden ee86a5187f Bug 1808732 - Move various dependencies out of the mach site to either the specific site they're needed in (like build, or lint), and/or to common` r=firefox-build-system-reviewers,glandium
Now that we selectively load command modules, and activate the command
virtualenv much earlier in the mach process, a lot of the module
dependencies specified in `mach.txt` are no longer necessary there. With
their removal from `mach.txt` they will no longer be automatically
inherited by every site, which reduces potential dependency conflicts
for specific sites.

The `common` site still effectively has the same set of dependencies.
This is the default site that all commands use unless otherwise
specified. Most commands use this site, and going through every command
and seeing if a dependency is or isn't needed, then deciding if or if
not to create a new site for that command made sense was too time
consuming to do here.

Essentially the idea here going forward is that if you're trying to
add/update a new dependency to a command that is currently defaulting to
the `common` site and there is a conflict with one of the dependencies
in `common` you can move your command to a new site specifically for
your command, and you will have the minimal possible set of dependencies
a mach command can have, improving the odds that you can add the
module(s) you need for your command.

Depends on D180500

Differential Revision: https://phabricator.services.mozilla.com/D180501
2023-07-19 05:09:01 +00:00
Sandor Molnar 28a570d783 Backed out 6 changesets (bug 1842700, bug 1695312, bug 1808732) for causing lint failures. CLOSED TREE
Backed out changeset 0413a48d4f03 (bug 1808732)
Backed out changeset 2839c2d35459 (bug 1695312)
Backed out changeset eab5cdaf4bc9 (bug 1695312)
Backed out changeset a35da3fce458 (bug 1695312)
Backed out changeset 6d2a2dd4790b (bug 1695312)
Backed out changeset b8cf086066cf (bug 1842700)
2023-07-13 15:01:55 +03:00
ahochheiden 7ee972528f Bug 1808732 - Move various dependencies out of the mach site to either the specific site they're needed in (like build, or lint), and/or to common` r=firefox-build-system-reviewers,glandium
Now that we selectively load command modules, and activate the command
virtualenv much earlier in the mach process, a lot of the module
dependencies specified in `mach.txt` are no longer necessary there. With
their removal from `mach.txt` they will no longer be automatically
inherited by every site, which reduces potential dependency conflicts
for specific sites.

The `common` site still effectively has the same set of dependencies.
This is the default site that all commands use unless otherwise
specified. Most commands use this site, and going through every command
and seeing if a dependency is or isn't needed, then deciding if or if
not to create a new site for that command made sense was too time
consuming to do here.

Essentially the idea here going forward is that if you're trying to
add/update a new dependency to a command that is currently defaulting to
the `common` site and there is a conflict with one of the dependencies
in `common` you can move your command to a new site specifically for
your command, and you will have the minimal possible set of dependencies
a mach command can have, improving the odds that you can add the
module(s) you need for your command.

Depends on D180500

Differential Revision: https://phabricator.services.mozilla.com/D180501
2023-07-13 05:41:21 +00:00
Eemeli Aro 5f09a82803 Bug 1812539 - Update to compare-locales 9.0.1, fluent.migrate 0.12.0, and fluent.syntax 0.19.0. r=flod,glandium
Differential Revision: https://phabricator.services.mozilla.com/D178299
2023-05-23 10:58:33 +00:00
Zeid 80ff8eeef2 Bug 1817289: generate exported mots in mach doc r=sheehan,firefox-source-docs-reviewers,sylvestre
- generate exported index.rst file in mach doc
- stop tracking docs/mots/index.rst, add it to ignore files
- add mots.yaml to sphinx-docs sparse profile
- add mots to requirements

Differential Revision: https://phabricator.services.mozilla.com/D170116
2023-04-18 17:20:55 +00:00
Sylvestre Ledru b0cfa58c65 Bug 1828410 - update markdown & sphinx-markdown-tables r=firefox-source-docs-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D175621
2023-04-17 12:04:06 +00:00
ogiorgis bf75043a51 Bug 1824659 - upgrade sphinx to 5.1.1 r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D174113
2023-04-01 13:22:53 +00:00
ogiorgis 21d28f6118 Bug 1824659 - upgrade sphinx to version 5 r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D173704
2023-03-30 08:01:21 +00:00
ogiorgis 2441601cae Bug 1824659 - replace sphinx panel by sphinx design r=firefox-source-docs-reviewers,perftest-reviewers,sylvestre,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173680
2023-03-30 08:01:21 +00:00
ogiorgis f073c25e08 Bug 1808026 - upgrade doc dependencies r=firefox-source-docs-reviewers,marco DONTBUILD
Depends on D173517

Differential Revision: https://phabricator.services.mozilla.com/D173518
2023-03-24 18:30:53 +00:00
ogiorgis 8ab34101d2 Bug 1808026 - upgrade Pygments r=firefox-source-docs-reviewers,marco DONTBUILD
Depends on D173516

Differential Revision: https://phabricator.services.mozilla.com/D173517
2023-03-24 18:30:52 +00:00
ogiorgis a8c1c4bcdc Bug 1808026 - upgrade sphinx r=firefox-source-docs-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D173516
2023-03-24 18:30:52 +00:00
Barret Rennie 614e74345c Bug 1821243 - Update to jsonschema 4.17.3 r=ahochheiden
We are using features from modern JSONSchema drafts, like dependantRequired, in
the Firefox Messaging System schemas. jsonschema 3.x does not support these
features. Experimenter is also being updated to 4.17.3 and we want to keep our
validation tests in sync with Experimenter.

Differential Revision: https://phabricator.services.mozilla.com/D172457
2023-03-16 20:27:01 +00:00
Cristian Tuns 837b5ca4e5 Backed out 2 changesets (bug 1821243) for causing xpcshell failures on test_RemoteSettingsExperimentLoader_updateRecipes.js CLOSED TREE
Backed out changeset 39df97ca8253 (bug 1821243)
Backed out changeset bbb8006a0784 (bug 1821243)
2023-03-16 15:16:58 -04:00
Barret Rennie f5a10f7fa3 Bug 1821243 - Update to jsonschema 4.17.3 r=ahochheiden
We are using features from modern JSONSchema drafts, like dependantRequired, in
the Firefox Messaging System schemas. jsonschema 3.x does not support these
features. Experimenter is also being updated to 4.17.3 and we want to keep our
validation tests in sync with Experimenter.

Differential Revision: https://phabricator.services.mozilla.com/D172457
2023-03-16 17:50:21 +00:00
Marian-Vasile Laza 46bfe444e2 Backed out 2 changesets (bug 1821243) for xpcshell failures on test_reach_experiments.js. CLOSED TREE
Backed out changeset 44a860152c39 (bug 1821243)
Backed out changeset e34a680accf0 (bug 1821243)
2023-03-16 03:42:46 +02:00
Barret Rennie 10748a3dbe Bug 1821243 - Update to jsonschema 4.17.3 r=ahochheiden
We are using features from modern JSONSchema drafts, like dependantRequired, in
the Firefox Messaging System schemas. jsonschema 3.x does not support these
features. Experimenter is also being updated to 4.17.3 and we want to keep our
validation tests in sync with Experimenter.

Differential Revision: https://phabricator.services.mozilla.com/D172457
2023-03-16 00:23:55 +00:00
Ben Hearsum 645ad14a82 Bug 1822165: Bump sphinxcontrib-mermaid to latest version r=releng-reviewers,gbrown
This allows us to use more modern mermaid syntax and features. I know we pinned this to an old version quite awhile ago (https://bugzilla.mozilla.org/show_bug.cgi?id=1693140), but it appears that those issues have since been fixed. At the very least, diagrams appear to have no issues rendering.

Differential Revision: https://phabricator.services.mozilla.com/D172563
2023-03-14 20:15:05 +00:00
Sandor Molnar 13787c7779 Backed out 5 changesets (bug 1774569) because changes are incompatible with flake8. CLOSED TREE
Backed out changeset ac6c7441099b (bug 1774569)
Backed out changeset 1081432f3f97 (bug 1774569)
Backed out changeset 111d7f2021c3 (bug 1774569)
Backed out changeset 2cc0b2a54106 (bug 1774569)
Backed out changeset cb45ff55284c (bug 1774569)
2023-03-07 23:21:19 +02:00
Alex Hochheiden 36fd06274e Bug 1774569 - Vendor jsonschema at 4.10.0 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D171760
2023-03-07 08:08:45 +00:00
Alex Hochheiden 7c0a32980b Bug 1774569 - Vendor importlib_metadata at 6.0.0 r=firefox-build-system-reviewers,glandium,ahal
This version is compatible with `poetry` `1.4.0` and removes blockers for various other ongoing projects.

https://github.com/python/importlib_metadata/blob/main/CHANGES.rst#v660

Differential Revision: https://phabricator.services.mozilla.com/D150813
2023-03-07 08:08:45 +00:00
Cristian Tuns 8e9b64bcad Backed out 6 changesets (bug 1734402, bug 1774569) for causing build bustages Python related CLOSED TREE
Backed out changeset c8fefbece0f6 (bug 1774569)
Backed out changeset 5ae4dd2cfcbe (bug 1774569)
Backed out changeset e027acb00eb5 (bug 1774569)
Backed out changeset 5b820a21a13c (bug 1774569)
Backed out changeset 2b022e4e2607 (bug 1774569)
Backed out changeset 39ff773cfa63 (bug 1734402)
2023-03-07 00:46:00 -05:00
Alex Hochheiden 704f2d155f Bug 1774569 - Vendor jsonschema at 4.10.0 r=ahal
`Poetry` version `1.4` depends on `jsonschema>=4.10.0`. Unfortunately, our current implementation of `./mach vendor python` cannot see that specific dependency, because it specific to the `vendor` site.

`glean-parser` depends on `jsonschema>=3.2`, and when the lockfile is generated, it pulls in `jsonschema==3.2`, which causes an incompatibility with `poetry` in the `vendor` site.

Fortunately the loose dependencies of `glean-parser` and `poetry` are compatible, the lockfile just doesn't know it. As such, if we explicitly specify `jsonschema==4.10.0`, the compatibility in the `vendor` site is resolved.

This is a temporary workaround and will be resolved by either vendoring `poetry` itself, or adding `lockfiles` to every site.

Differential Revision: https://phabricator.services.mozilla.com/D171760
2023-03-07 04:16:01 +00:00
Norisz Fay 93387d4606 Backed out 2 changesets (bug 1808026) for causing python failures CLOSED TREE
Backed out changeset 80627767254a (bug 1808026)
Backed out changeset c33452202b5c (bug 1808026)
2023-03-01 18:50:04 +02:00
ogiorgis b337666fd9 Bug 1808026 - upgrade doc dependencies r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D171227
2023-03-01 11:28:54 +00:00
ogiorgis 018678a095 Bug 1808026 - upgrade Pygments r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D171225
2023-03-01 11:28:54 +00:00