| 178 | |
| 179 | @nox.session(venv_backend="virtualenv") # botocore fails with uv |
| 180 | def 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() |