MCPcopy
hub / github.com/urllib3/urllib3 / downstream_botocore

Function downstream_botocore

noxfile.py:180–195  ·  view source on GitHub ↗
(session: nox.Session)

Source from the content-addressed store, hash-verified

178
179@nox.session(venv_backend="virtualenv") # botocore fails with uv
180def downstream_botocore(session: nox.Session) -> None:
181 root = os.getcwd()
182 tmp_dir = session.create_tmp()
183
184 session.cd(tmp_dir)
185 git_clone(session, "https://github.com/boto/botocore")
186 session.chdir("botocore")
187 session.run("git", "rev-parse", "HEAD", external=True)
188 session.run("python", "scripts/ci/install")
189
190 session.cd(root)
191 session.install(".", silent=False)
192 session.cd(f"{tmp_dir}/botocore")
193
194 session.run("python", "-c", "import urllib3; print(urllib3.__version__)")
195 session.run("python", "scripts/ci/run-tests")
196
197
198@nox.session()

Callers

nothing calls this directly

Calls 3

git_cloneFunction · 0.85
installMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected