Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 65c56af

Browse filesBrowse files
Update pip and wheel
1 parent 0d82fec commit 65c56af
Copy full SHA for 65c56af

File tree

Expand file treeCollapse file tree

6 files changed

+20
-18
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+20
-18
lines changed

‎internal_deps.bzl

Copy file name to clipboardExpand all lines: internal_deps.bzl
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def examples():
4444
name = "examples_boto",
4545
requirements = "@rules_python//examples/boto:requirements.txt",
4646
)
47-
pip_import(
48-
name = "examples_extras",
49-
requirements = "@rules_python//examples/extras:requirements.txt",
50-
)
47+
# pip_import(
48+
# name = "examples_extras",
49+
# requirements = "@rules_python//examples/extras:requirements.txt",
50+
# )

‎internal_setup.bzl

Copy file name to clipboardExpand all lines: internal_setup.bzl
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ load(
44
"@examples_boto//:requirements.bzl",
55
_boto_install = "pip_install",
66
)
7-
load(
8-
"@examples_extras//:requirements.bzl",
9-
_extras_install = "pip_install",
10-
)
7+
# load(
8+
# "@examples_extras//:requirements.bzl",
9+
# _extras_install = "pip_install",
10+
# )
1111

1212
# Imports for examples.
1313
load(
@@ -35,4 +35,4 @@ def rules_python_internal_setup():
3535
_helloworld_install()
3636
_version_install()
3737
_boto_install()
38-
_extras_install()
38+
# _extras_install()

‎packaging/piptool.py

Copy file name to clipboardExpand all lines: packaging/piptool.py
+7-6Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,13 @@ def extract_packages(package_names):
7373
def pip_main(argv):
7474
# Extract the certificates from the PAR following the example of get-pip.py
7575
# https://github.com/pypa/get-pip/blob/430ba37776ae2ad89/template.py#L164-L168
76-
cert_tmpdir = tempfile.mkdtemp()
77-
cert_path = os.path.join(cert_tmpdir, "cacert.pem")
78-
atexit.register(lambda: shutil.rmtree(cert_tmpdir, ignore_errors=True))
79-
with open(cert_path, "wb") as cert:
80-
cert.write(pkgutil.get_data("pip._vendor.requests", "cacert.pem"))
81-
argv = ["--isolated", "--disable-pip-version-check", "--cert", cert_path] + argv
76+
# cert_tmpdir = tempfile.mkdtemp()
77+
# cert_path = os.path.join(cert_tmpdir, "cacert.pem")
78+
# atexit.register(lambda: shutil.rmtree(cert_tmpdir, ignore_errors=True))
79+
# with open(cert_path, "wb") as cert:
80+
# cert.write(pkgutil.get_data("pip._vendor.requests", "cacert.pem"))
81+
# argv = ["--isolated", "--disable-pip-version-check", "--cert", cert_path] + argv
82+
argv = ["--isolated", "--disable-pip-version-check"] + argv
8283
return pip.main(argv)
8384

8485
from packaging.whl import Wheel

‎python/requirements.txt

Copy file name to clipboard
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
pip==9.0.3
2-
setuptools==44.0.0
3-
wheel==0.30.0a0
1+
pip==20.3.4
2+
setuptools==44.1.1
3+
wheel==0.37.1
4+
certifi==2021.10.8
45

56
# For tests
67
mock==2.0.0

‎tools/piptool.par

Copy file name to clipboard
494 KB
Binary file not shown.

‎tools/whltool.par

Copy file name to clipboard
944 Bytes
Binary file not shown.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.