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

ci: Manually upgrade pex version to avoid platform-flapping issue #498

Merged
merged 3 commits into from Jun 27, 2022

Conversation

achimnol
Copy link
Member

@achimnol achimnol commented Jun 27, 2022

When generating lockfiles in different architectures (x86-64/arm64), an extra platform tag (which is not used actually) becomes alternating. To avoid this issue, we could upgrade pex to 2.1.93. Also upgrade Pants from 2.12.0rc2 to 2.12.0rc3.

You don't have to do anything special. For source-based pants users, you need to manually checkout the new release tag, but there is no "release_2.12.0rc3" tag yet. As there is no significant functional differences between rc2 and rc3, you may just stay as-is.

refs pex-tool/pex#1685
refs https://github.com/pantsbuild/pants/blob/2.12.x/src/python/pants/notes/2.12.x.md

- When generating lockfiles in different architectures (x86-64/arm64),
  an extra platform tag (which is not used actually) becomes
  alternating.  To avoid this issue, we could upgrade pex to 2.1.93.
@achimnol achimnol added this to the 22.03 milestone Jun 27, 2022
@achimnol achimnol added the area:infrastructure Infrastructure-related issues label Jun 27, 2022
@achimnol achimnol self-assigned this Jun 27, 2022
@achimnol achimnol merged commit 265b4fb into main Jun 27, 2022
@achimnol achimnol deleted the ci/update-pex-version branch June 27, 2022 09:38
achimnol added a commit that referenced this pull request Jun 27, 2022
- When generating lockfiles in different architectures (x86-64/arm64),
  an extra platform tag (which is not used actually) becomes
  alternating.  To avoid this issue, we could upgrade pex to 2.1.93.
- Upgrade pants from 2.12.0rc2 to 2.12.0rc3

Backported-From: main (22.06)
Backported-To: 22.03
achimnol added a commit that referenced this pull request Jun 29, 2022
achimnol added a commit that referenced this pull request Jun 29, 2022
* refs pantsbuild/pants#15990
* Regenerated lockfiles

Backported-From: main (22.06)
Backported-To: 22.03
@Yaminyam Yaminyam added the size:L 100~500 LoC label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:infrastructure Infrastructure-related issues size:L 100~500 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants