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

Getting A new release of pip is available: 21.1.1 -> 24.0 on macos-latest #862

Closed
2 of 5 tasks
IAmVigneswaran opened this issue May 9, 2024 · 6 comments
Closed
2 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@IAmVigneswaran
Copy link

Description:
For some reason, I am getting this error when building for macOS binary.

https://github.com/TheAcharya/Airlift/actions/runs/9012264975/job/24761207438#step:6:43

[notice] A new release of pip is available: 21.1.1 -> 24.0 [notice] To update, run: python3.8 -m pip install --upgrade pip

Action version:
https://github.com/TheAcharya/Airlift/actions/runs/9012264975

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

Repro steps:

This is my workflow .yml file.

https://github.com/TheAcharya/Airlift/blob/7860a2735257e7b93b3eba5fbc593ac66d8e3310/.github/workflows/release_github_text.yml#L96

Expected behavior:
Based on the action logs, Successfully installed pip-24.0 is stated.

Actual behavior:
But unsure why is Notice: A new release of pip is available: 21.1.1 -> 24.0 shown.

Could you please advise.

Thank you.

@IAmVigneswaran IAmVigneswaran added bug Something isn't working needs triage labels May 9, 2024
@IAmVigneswaran
Copy link
Author

I believe I have resolve the issue by adding this.

https://github.com/TheAcharya/Airlift/blob/beec8e516ad23f8484defbd9d344ec043e6a56bc/.github/workflows/release_github.yml#L94

        uses: actions/setup-python@v5
        env:
          PIP_DISABLE_PIP_VERSION_CHECK: 1

Thank you.

@HarithaVattikuti
Copy link
Contributor

Hello @IAmVigneswaran
Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.

@mayeut
Copy link
Contributor

mayeut commented May 18, 2024

@HarithaVattikuti, a rebuild of 3.8.10 should fix this.

@gowridurgad
Copy link

Hello @IAmVigneswaran , The issue you're encountering is due to the runner images not supporting Python version 3.8, which results in the error message. If you prefer not to see this error message, you can suppress it by adding the environment variable PIP_DISABLE_PIP_VERSION_CHECK=1 to your workflow. This will disable the version check that pip executes.

@IAmVigneswaran
Copy link
Author

@gowridurgad gowridurgad self-assigned this May 23, 2024
@gowridurgad
Copy link

Hi @IAmVigneswaran, Thanks for the confirmation, we are proceeding to close this issue as the runner images
not supporting Python version 3.8, which results in the error message. If you need any future clarifications please feel free to reach us out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants