Repository navigation
fix(http-client-python): upgrade Python installers - #12362
Libba Lawrence (l0lawrence) wants to merge 7 commits into
Conversation
…mums Co-authored-by: Copilot App <[email protected]>
commit: |
|
All changed packages have been documented.
Show changes
|
Co-authored-by: Copilot App <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Setup can fail with older host pip versions, and subsequent generator installs can bypass the upgraded uv executable.
2 open issues
What changed in this PR
This PR updates Python installer minimums for the HTTP client emitter’s setup, tests, and CI.
Changes:
- Adds pip and uv upgrades during virtual-environment setup and test-package installation.
- Raises test dependency minimums for pip, uv, and certifi.
- Adds installer upgrades to Python CI jobs and records the change in Chronus.
| File | Description |
|---|---|
packages/http-client-python/tests/requirements/docs.txt |
Sets the documentation environment’s pip minimum. |
packages/http-client-python/tests/requirements/base.txt |
Adds pip, uv, and certifi minimums. |
packages/http-client-python/tests/install_packages.py |
Upgrades tooling before installing generated test packages. |
packages/http-client-python/eng/scripts/setup/package_manager.py |
Adds tooling upgrades when preparing generator environments. |
.github/workflows/ci-python.yml |
Upgrades installers before Python setup in CI jobs. |
.chronus/changes/python-tooling-minimums-2026-10-22.md |
Documents the tooling and dependency updates. |
Review effort: Balanced
| if package_manager == "uv": | ||
| command = host_install + ["--python", venv_context.env_exe, "--upgrade", "--prerelease=disallow"] | ||
| else: | ||
| command = host_install[:-1] + ["--python", venv_context.env_exe, "install", "--upgrade"] |
|
|
||
| return MockVenvContext(venv_path) | ||
| context = MockVenvContext(venv_path) | ||
| upgrade_tooling(context, package_manager) |
| env_builder = venv.EnvBuilder(with_pip=False) | ||
| context = env_builder.ensure_directories(venv_path) | ||
| else: | ||
| env_builder = ExtendedEnvBuilder(with_pip=True, upgrade_deps=True) |
There was a problem hiding this comment.
this technically should upgrade deps but I dont know if it guarentees the lowest min version
Python emitter diffBaseline No changes to generated output. Rendered diff: inline on the run summary, or the emitter-diff-html artifact. Informational check (eng/emitter-diff); does not block the PR. |
Co-authored-by: Copilot App <[email protected]>
|
You can try these changes here
|
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>

No description provided.