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

Why is macos-latest job for Python3.10 leading to an error? #576

Open
purva-thakre opened this issue Apr 30, 2024 · 4 comments
Open

Why is macos-latest job for Python3.10 leading to an error? #576

purva-thakre opened this issue Apr 30, 2024 · 4 comments

Comments

@purva-thakre
Copy link
Collaborator

purva-thakre commented Apr 30, 2024

Noticed the following when all the jobs passed successfully in a PR. The jobs for macos in Python3.10 give an error that we should upgrade to the latest version of pip.

image

Can't really figure out why the error specifies python3.10 -m pip install --upgrade pip when both jobs use python -m pip install --upgrade pip

python -m pip install --upgrade pip

python -m pip install --upgrade pip

@purva-thakre
Copy link
Collaborator Author

Interestingly, Mitiq also gets similar warnings for macos.

image
https://github.com/unitaryfund/mitiq/actions/runs/8899188557

@purva-thakre
Copy link
Collaborator Author

@vprusso Should we downgrade the macos-latest version in the runner? I think the notice is related to actions/runner-images#9770 (comment)

@purva-thakre purva-thakre changed the title Why is macos-latest job for Python3.10 leading to a Notice? Why is macos-latest job for Python3.10 leading to an error? May 1, 2024
@purva-thakre purva-thakre added this to the v1.0.8 milestone May 1, 2024
@purva-thakre purva-thakre removed the help wanted Extra attention is needed label May 1, 2024
@purva-thakre purva-thakre self-assigned this May 1, 2024
@purva-thakre
Copy link
Collaborator Author

purva-thakre commented May 1, 2024

Per unitaryfund/mitiq#2339 (comment), this issue might also need to be closed. Will update later today or tomorrow.

@purva-thakre
Copy link
Collaborator Author

Went over this with Vincent. The Notice does not make sense. If we click on one of the Annotations in Mitiq, it provides a more verbose output for how the runner is installing things.

The runner manages to upgrade pip on its own, also states the latest version of pip was installed but later follows it up with the notice in the screenshot.

https://github.com/unitaryfund/mitiq/actions/runs/8899188557/job/24437954297#step:3:28

image
image
image

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

1 participant