Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pip to >=v22.0.3 #9731

Closed
3 of 14 tasks
Piedone opened this issue Apr 23, 2024 · 1 comment
Closed
3 of 14 tasks

Update pip to >=v22.0.3 #9731

Piedone opened this issue Apr 23, 2024 · 1 comment

Comments

@Piedone
Copy link

Piedone commented Apr 23, 2024

Tool name

pip

Tool license

MIT

Add or update?

  • Add
  • Update

Desired version

22.0.3 or greater

Approximate size

No response

Brief description of tool

Pip, the Python package manager, is installed with v22.0.2 under ubuntu-latest. This has a bug, fixed in pip v22.0.3 in January 2022, that can cause Read the Docs builds to fail, see this other issue. Updating to v22.0.3 or later fixes this issue.

On windows-latest (and also under macos-latest), pip is on v24.0, so this is also about bringing Ubuntu in sync with Windows if it can be upgraded to v24. However, v22.0.3 would suffice too for this particular user-case; nevertheless, I recommend updating pip to v24, i.e. latest.

URL for tool's homepage

https://pip.pypa.io/

Provide a basic test case to validate the tool's functionality.

`pip -V` should show "pip 22.0.3".

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

Yes, with `python -m pip install pip==22.0.3`.

Tool installation time in runtime

About a second on the 4-core default OSS runners.

Are you willing to submit a PR?

I wouldn't venture into it; the change itself should be trivial but I'm not sure about the context.

@Piedone Piedone changed the title Update pip Update pip to >=v22.0.3 Apr 23, 2024
@Alexey-Ayupov
Copy link
Collaborator

Hello @Piedone. We do not pin the pip version (please see installation script). Once the new version is available in the Ubuntu repository, the new version will be available in our Ubuntu images.

If you have any other questions feel free to reach us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants