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

Drop support for PANTS_SHA #376

Merged
merged 5 commits into from
Mar 18, 2024
Merged

Drop support for PANTS_SHA #376

merged 5 commits into from
Mar 18, 2024

Conversation

kaos
Copy link
Member

@kaos kaos commented Mar 13, 2024

The PANTS_SHA feature was deprecated with the release 0.10.0 of scie-pants.

Broken out of #351

@kaos kaos requested a review from huonw March 13, 2024 13:34
@kaos
Copy link
Member Author

kaos commented Mar 13, 2024

This includes the changes from #375 which should land first. (i.e. only the last commit needs to be reviewed for this PR.)

@kaos kaos force-pushed the kaos/drop-PANTS_SHA-support branch from 8215abc to 1bd66c3 Compare March 13, 2024 13:41
Copy link
Contributor

@huonw huonw left a comment

Choose a reason for hiding this comment

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

Nice.

Just confirming my thought process for validating the removal of functionality that users might be using:

  • we stopped uploading wheels for every main commit in Do not publish wheels for all SHAs, and publish to PyPI from Github Actions. pants#19028, I believe, was first released in 2.17.0a0; that is, we haven't been publishing wheels for commits for some of the 2.17.x release cycle, and all of 2.18.x onwards
  • if someone is still using a specific commit from before 2.17.0a0 or earlier... then they'd presumably be happy enough pinning to a particular scie-pants version too (e.g. 0.10.8)

tools/src/scie_pants/pants_version.py Show resolved Hide resolved
tools/src/scie_pants/pants_version.py Show resolved Hide resolved
@kaos kaos merged commit 1d0aaaf into main Mar 18, 2024
8 checks passed
@kaos kaos deleted the kaos/drop-PANTS_SHA-support branch March 18, 2024 14:15
kaos added a commit that referenced this pull request May 22, 2024
~Look at the Python tag in the Pants PEX filename~ Cycle through all
supported Python versions and check the PEX download URL using HEAD for
each one to infer the Python version to use when installing Pants, when
using a version of Pants that we don't already know which version of
Python to use.

~Drop support for `PANTS_SHA`.~ Done in #376.

~Silence the install step, capturing the output to a `pants-install.log`
file in the science cache.~ Done in #375.

---------

Co-authored-by: Huon Wilson <wilson.huon@gmail.com>
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.

2 participants