File tree Expand file tree Collapse file tree 6 files changed +20
-18
lines changed
Filter options
Expand file tree Collapse file tree 6 files changed +20
-18
lines changed
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def examples():
44
44
name = "examples_boto" ,
45
45
requirements = "@rules_python//examples/boto:requirements.txt" ,
46
46
)
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
+ # )
Original file line number Diff line number Diff line change 4
4
"@examples_boto//:requirements.bzl" ,
5
5
_boto_install = "pip_install" ,
6
6
)
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
+ # )
11
11
12
12
# Imports for examples.
13
13
load (
@@ -35,4 +35,4 @@ def rules_python_internal_setup():
35
35
_helloworld_install ()
36
36
_version_install ()
37
37
_boto_install ()
38
- _extras_install ()
38
+ # _extras_install()
Original file line number Diff line number Diff line change @@ -73,12 +73,13 @@ def extract_packages(package_names):
73
73
def pip_main (argv ):
74
74
# Extract the certificates from the PAR following the example of get-pip.py
75
75
# 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
82
83
return pip .main (argv )
83
84
84
85
from packaging .whl import Wheel
Original file line number Diff line number Diff line change 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
4
5
5
6
# For tests
6
7
mock == 2.0.0
You can’t perform that action at this time.
0 commit comments