Skip to content

Fixing failing pip check#131

Merged
amontanez24 merged 7 commits into
mainfrom
issue-130
Oct 22, 2024
Merged

Fixing failing pip check#131
amontanez24 merged 7 commits into
mainfrom
issue-130

Conversation

@amontanez24
Copy link
Copy Markdown
Contributor

@amontanez24 amontanez24 commented Oct 21, 2024

resolves #130

Starting at version 24.2, pip started using the tags on the wheel files as part of its check. The problem is torch mislabeled most of the tags for their wheels on python 3.8. This means that even for the versions that have a wheel matching torch-x.y.z-cp39-none-macosx_11_0_arm64.whl, pip check fails because the wheels are tagged as x86.

We can either limit our pip version to under 24.2 or just run these tests on x86 (macos-13) where the pip check will pass. I went with the latter since this will also let us test on mac with an x86 chip.

The gabrielfalcao/pyenv-action@v18 no longer seems to be working and it doesn't seem to be maintained so I think we can drop it.

@amontanez24 amontanez24 requested a review from a team as a code owner October 21, 2024 22:06
@amontanez24 amontanez24 requested review from frances-h, gsheni and lajohn4747 and removed request for a team and frances-h October 21, 2024 22:06
Copy link
Copy Markdown
Contributor

@lajohn4747 lajohn4747 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is reasonable, we eventually will move away since python 3.8 is EOL. Also good to finally get past this age of mac arm vs x86 on python

@amontanez24 amontanez24 merged commit 72f4ba1 into main Oct 22, 2024
@amontanez24 amontanez24 deleted the issue-130 branch October 22, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pip check fails with pip==24.2 on minimum tests

3 participants