8000 Added importlib + reqs to pip-compile for python < 3.8 (#781) · comius/rules_python@d484807 · GitHub
[go: up one dir, main page]

Skip to content

Commit d484807

Browse files
authored
Added importlib + reqs to pip-compile for python < 3.8 (bazel-contrib#781)
1 parent 73300c0 commit d484807

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

python/pip_install/repositories.bzl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,21 @@ _RULE_DEPS = [
6767
"https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl",
6868
"4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a",
6969
),
70+
(
71+
"pypi__importlib_metadata",
72+
"https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl",
73+
"bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359",
74+
),
75+
(
76+
"pypi__zipp",
77+
"https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl",
78+
"8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656",
79+
),
80+
(
81+
"pypi__more_itertools",
82+
"https://files.pythonhosted.org/packages/bd/3f/c4b3dbd315e248f84c388bd4a72b131a29f123ecacc37ffb2b3834546e42/more_itertools-8.13.0-py3-none-any.whl",
83+
"c5122bffc5f104d37c1626b8615b511f3427aa5389b94d61e5ef8236bfbc3ddb",
84+
),
7085
]
7186

7287
_GENERIC_WHEEL = """\

python/pip_install/requirements.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def compile_pip_requirements(
7676
requirement("pip_tools"),
7777
requirement("setuptools"),
7878
requirement("tomli"),
79+
requirement("importlib_metadata"),
80+
requirement("zipp"),
81+
requirement("more_itertools"),
7982
]
8083

8184
attrs = {

0 commit comments

Comments
 (0)
0