-
Notifications
You must be signed in to change notification settings - Fork 20
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
Propagate scie-pants' version into the pants invocation #246
Propagate scie-pants' version into the pants invocation #246
Conversation
5cc176b
to
6e2daa5
Compare
NB. this version was published as 0.9.0, but `PANTS_BOOTSTRAP_VERSION=report pants` reports itself | ||
as 0.9.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there was just a small mistake in setting the version in Cargo.toml in #239. I don't think it causes problems, just thought it'd be sensible to call out why 0.9.1 seems to be missed so people don't get confused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no clue how I messed that up, lol
This updates Pants to require and check for the scie-pants launcher binary version: we need version 0.9 or earlier, to have support for the new distribution model. This syncs with pantsbuild/scie-pants#246 (which will become scie-pants 0.9.2 / 0.9.3), which sets the `SCIE_PANTS_VERSION` environment variable when running pants. This will be cherry-picked back as far as we support, to help users upgrade their launcher earlier. Fixes #19600
…uild#19654) This updates Pants to require and check for the scie-pants launcher binary version: we need version 0.9 or earlier, to have support for the new distribution model. This syncs with pantsbuild/scie-pants#246 (which will become scie-pants 0.9.2 / 0.9.3), which sets the `SCIE_PANTS_VERSION` environment variable when running pants. This will be cherry-picked back as far as we support, to help users upgrade their launcher earlier. Fixes pantsbuild#19600
…-pick of #19654) (#19655) This updates Pants to require and check for the scie-pants launcher binary version: we need version 0.9 or earlier, to have support for the new distribution model. This syncs with pantsbuild/scie-pants#246 (which will become scie-pants 0.9.2 / 0.9.3), which sets the `SCIE_PANTS_VERSION` environment variable when running pants. This will be cherry-picked back as far as we support, to help users upgrade their launcher earlier. Fixes #19600
This updates Pants to require and check for the scie-pants launcher binary version: we need version 0.9 or earlier, to have support for the new distribution model. This syncs with pantsbuild/scie-pants#246 (which will become scie-pants 0.9.2 / 0.9.3), which sets the `SCIE_PANTS_VERSION` environment variable when running pants. This will be cherry-picked back as far as we support, to help users upgrade their launcher earlier. Fixes #19600
…-pick of #19654) (#19694) This updates Pants to require and check for the scie-pants launcher binary version: we need version 0.9 or later, to have support for the new distribution model. This syncs with pantsbuild/scie-pants#246 (which will become scie-pants 0.9.2 / 0.9.3), which sets the `SCIE_PANTS_VERSION` environment variable when running pants. This will be cherry-picked back as far as we support, to help users upgrade their launcher earlier. Fixes #19600 Co-authored-by: Huon Wilson <huon@exoflare.io>
This sets the
SCIE_PANTS_VERSION
env var when invoking pants, so that pants can read it and encourage users to upgrade if they need to.For example, 2.17 will be the last release that supports the PyPI-based distribution model and Pants 2.18 will require scie-pants 0.9 or greater. So, in pantsbuild/pants#19600, we're planning to have pants 2.17 encourage users to upgrade
scie-pants
if it's too old.This PR preps for the release too, by bumping the version and adding a changelog entry. As part of this, I noticed the 0.9.0 release was accidentally configured as 0.9.1 in Cargo.toml, so updated the changelog to mention this.