Skip to content

Commit 51f5fcd

Browse files
committed
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
1 parent 983bcd7 commit 51f5fcd

File tree

9 files changed

+2
-13
lines changed

9 files changed

+2
-13
lines changed

build/mach_initialize.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,12 @@ def initialize(topsrcdir, args=()):
146146
shutil.rmtree(deleted_dir, ignore_errors=True)
147147

148148
# We need the "mach" module to access the logic to parse virtualenv
149-
# requirements. Since that depends on "packaging" (and, transitively,
150-
# "pyparsing"), we add those to the path too.
149+
# requirements. Since that depends on "packaging", we add it to the path too.
151150
sys.path[0:0] = [
152151
os.path.join(topsrcdir, module)
153152
for module in (
154153
os.path.join("python", "mach"),
155154
os.path.join("third_party", "python", "packaging"),
156-
os.path.join("third_party", "python", "pyparsing"),
157155
)
158156
]
159157

configure.py

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
sys.path.insert(0, os.path.join(base_dir, "python", "mozboot"))
1919
sys.path.insert(0, os.path.join(base_dir, "python", "mozbuild"))
2020
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "packaging"))
21-
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "pyparsing"))
2221
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "six"))
2322
sys.path.insert(0, os.path.join(base_dir, "third_party", "python", "looseversion"))
2423
import mozpack.path as mozpath

python/mach/mach/test/test_site_activation.py

-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ def _activation_context():
314314
required_mach_sys_paths = [
315315
topsrcdir / "python" / "mach",
316316
topsrcdir / "third_party" / "python" / "packaging",
317-
topsrcdir / "third_party" / "python" / "pyparsing",
318317
topsrcdir / "third_party" / "python" / "pip",
319318
]
320319

python/mozperftest/mozperftest/runner.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ def _activate_virtualenvs():
4949
"""
5050

5151
# We need the "mach" module to access the logic to parse virtualenv
52-
# requirements. Since that depends on "packaging" (and, transitively,
53-
# "pyparsing"), we add those to the path too.
52+
# requirements. Since that depends on "packaging", we add that to the path too.
5453
sys.path[0:0] = [
5554
os.path.join(SRC_ROOT, module)
5655
for module in (
5756
os.path.join("python", "mach"),
5857
os.path.join("third_party", "python", "packaging"),
59-
os.path.join("third_party", "python", "pyparsing"),
6058
)
6159
]
6260

python/sites/common.txt

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ vendored:third_party/python/ply
4040
vendored:third_party/python/pyasn1
4141
vendored:third_party/python/pyasn1_modules
4242
vendored:third_party/python/pylru
43-
vendored:third_party/python/pyparsing
4443
vendored:third_party/python/pyrsistent
4544
vendored:third_party/python/python_dateutil
4645
vendored:third_party/python/python_slugify

python/sites/docs.txt

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ vendored:third_party/python/mohawk
6565
vendored:third_party/python/mozilla_repo_urls
6666
vendored:third_party/python/packaging
6767
vendored:third_party/python/pkgutil_resolve_name
68-
vendored:third_party/python/pyparsing
6968
vendored:third_party/python/python_dateutil
7069
vendored:third_party/python/python_slugify
7170
vendored:third_party/python/redo

python/sites/lint.txt

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ vendored:third_party/python/mohawk
1717
vendored:third_party/python/mozilla_repo_urls
1818
vendored:third_party/python/multidict
1919
vendored:third_party/python/pathspec
20-
vendored:third_party/python/pyparsing
2120
vendored:third_party/python/pyrsistent
2221
vendored:third_party/python/python_dateutil
2322
vendored:third_party/python/python_slugify

python/sites/mach.txt

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ vendored:third_party/python/mozilla_version
7474
vendored:third_party/python/packaging
7575
vendored:third_party/python/pip
7676
vendored:third_party/python/pip_tools
77-
vendored:third_party/python/pyparsing
7877
vendored:third_party/python/python-hglib
7978
vendored:third_party/python/requests
8079
vendored:third_party/python/sentry_sdk

python/sites/python-test.txt

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ vendored:third_party/python/ply
4141
vendored:third_party/python/pyasn1
4242
vendored:third_party/python/pyasn1_modules
4343
vendored:third_party/python/pylru
44-
vendored:third_party/python/pyparsing
4544
vendored:third_party/python/pyrsistent
4645
vendored:third_party/python/python_dateutil
4746
vendored:third_party/python/python_slugify

0 commit comments

Comments
 (0)