Skip to content

Commit

Permalink
Update to new blogsite URLs (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
thejcannon authored Feb 12, 2024
1 parent 816fc6a commit a2fff63
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

{/* truncate */}

Interested in blogging about Pants? Any member of the community is encouraged to pitch topics for the [Pants Blog](https://blog.pantsbuild.org). You can DM pitches to me (@cczona) over at [pantsbuild.slack.com](https://pantsbuild.slack.com). Likewise, we encourage writing for your company blog, personal blog, or other organizations' blogs where appropriate for your topic. If you'd like a Pants maintainer's feedback on a draft post, or would like other writing assistance, we're happy to provide 1:1 support so you can feel maximum confidence in what you've written.
Interested in blogging about Pants? Any member of the community is encouraged to pitch topics for the [Pants Blog](https://pantsbuild.org/blog). You can DM pitches to me (@cczona) over at [pantsbuild.slack.com](https://pantsbuild.slack.com). Likewise, we encourage writing for your company blog, personal blog, or other organizations' blogs where appropriate for your topic. If you'd like a Pants maintainer's feedback on a draft post, or would like other writing assistance, we're happy to provide 1:1 support so you can feel maximum confidence in what you've written.

Here are some of the topics that make particularly great posts:

Expand Down
4 changes: 2 additions & 2 deletions blog/2023-03-31-two-hermetic-pythons/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Recently, [Pants got a new launcher binary](../2023-02-23-the-pants-launcher-bin

For case 1 where Pants just need _some_ Python interpreter to run scripts, we take a two-pronged approach.

For [Docker builds](../2023-02-24-pants-2-15/index.mdx) we download and sandbox a [Python Build Standalone](https://gregoryszorc.com/docs/python-build-standalone/main/?ref=blog.pantsbuild.org) (the same kind of Python interpreter the new Pants binary launcher uses). Pants no longer dictates that a supported (or any) version of Python is present in the docker image running your build. Additionally, Pants is able to choose which version, meaning we could upgrade to faster [CPython versions](https://github.com/markshannon/faster-cpython/blob/master/plan.mdx) as they are released.
For [Docker builds](../2023-02-24-pants-2-15/index.mdx) we download and sandbox a [Python Build Standalone](https://gregoryszorc.com/docs/python-build-standalone/main/) (the same kind of Python interpreter the new Pants binary launcher uses). Pants no longer dictates that a supported (or any) version of Python is present in the docker image running your build. Additionally, Pants is able to choose which version, meaning we could upgrade to faster [CPython versions](https://github.com/markshannon/faster-cpython/blob/master/plan.mdx) as they are released.

For local builds, we just use `sys.executable` (the Python interpreter that's running Pants itself). Eventually, the Pants binary launcher will be the only way to run Pants, meaning a hermetic, version-pinned interpreter will be the one-and-only way Pants is run.

Expand All @@ -41,4 +41,4 @@ Pants 2.16 has added a mechanism for plugins to provide versions of Python compa

## How to preview the new hermetic Pythons

Interested in trying out these features? Upgrade to Pants 2.16 to benefit from a hermetic internal Python. Additionally, for a hermetic Python for your code enable `pants.backend.python.providers.experimental.pyenv` to your `[GLOBAL].backend_packages` and start enjoying the benefits. As with any experimental backend, we encourage you to [share your feedback on Slack](https://www.pantsbuild.org/docs/getting-help?ref=blog.pantsbuild.org)!
Interested in trying out these features? Upgrade to Pants 2.16 to benefit from a hermetic internal Python. Additionally, for a hermetic Python for your code enable `pants.backend.python.providers.experimental.pyenv` to your `[GLOBAL].backend_packages` and start enjoying the benefits. As with any experimental backend, we encourage you to [share your feedback on Slack](https://www.pantsbuild.org/docs/getting-help)!
Loading

0 comments on commit a2fff63

Please sign in to comment.