From a2fff630afbf657d1414cd8854f7d944c9e6d006 Mon Sep 17 00:00:00 2001 From: Josh Cannon Date: Mon, 12 Feb 2024 13:29:17 -0600 Subject: [PATCH] Update to new blogsite URLs (#146) --- .../index.mdx | 2 +- .../2023-03-31-two-hermetic-pythons/index.mdx | 4 +- src/pages/versions/index.md | 46 +++++++++---------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/blog/2023-03-02-write-or-speak-about-pants-communitys-favorite-topics/index.mdx b/blog/2023-03-02-write-or-speak-about-pants-communitys-favorite-topics/index.mdx index 7edadef68..2ca52fd65 100644 --- a/blog/2023-03-02-write-or-speak-about-pants-communitys-favorite-topics/index.mdx +++ b/blog/2023-03-02-write-or-speak-about-pants-communitys-favorite-topics/index.mdx @@ -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: diff --git a/blog/2023-03-31-two-hermetic-pythons/index.mdx b/blog/2023-03-31-two-hermetic-pythons/index.mdx index 77fc83f9f..dd4f15804 100644 --- a/blog/2023-03-31-two-hermetic-pythons/index.mdx +++ b/blog/2023-03-31-two-hermetic-pythons/index.mdx @@ -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. @@ -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)! diff --git a/src/pages/versions/index.md b/src/pages/versions/index.md index 90f588f68..d9ce1154f 100644 --- a/src/pages/versions/index.md +++ b/src/pages/versions/index.md @@ -1,23 +1,23 @@ -| Pants version | Docs | Changelog | Highlights | -| :------------ | :----------------------------------------------------- | :------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 2.19 | [/2.19](/2.19.x/docs/introduction/how-does-pants-work) | | [Blog: Pants 2.19.0 is released!](https://blog.pantsbuild.org/pants-2-19-0-is-released/) | -| 2.18 | [/2.18](/2.18.x/docs/introduction/how-does-pants-work) | | [Blog: Pants 2.18.0 is released!](https://blog.pantsbuild.org/pants-2-18-0-is-released/) | -| 2.17 | [/2.17](/2.17.x/docs/introduction/how-does-pants-work) | [2.17.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.17.x.md) | [Blog: Pants 2.17.0 is released!](https://blog.pantsbuild.org/pants-2-17-0-is-released/) | -| 2.16 | [/2.16](/2.16.x/docs/introduction/how-does-pants-work) | [2.16.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.16.x.md) | [Blog: Pants 2.16.0 is here!](https://blog.pantsbuild.org/pants-2-16-0/) | -| 2.15 | [/2.15](/2.15.x/docs/introduction/how-does-pants-work) | [2.15.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.15.x.md) | [Blog: Pants 2.15: Easier multi-platform workflows, Docker build support, automatic code cleanup, and more!](https://blog.pantsbuild.org/pants-2-15/) | -| 2.14 | [/2.14](/2.14.x/docs/introduction/how-does-pants-work) | [2.14.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.14.x.md) | [Blog: Pants 2.14: Less boilerplate, more Rust, better support for Go monorepos, interactive debugging support, and more!](https://blog.pantsbuild.org/pants-2-14/) | -| 2.13 | [/2.13](/2.13.x/docs/introduction/how-does-pants-work) | [2.13.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.13.x.md) | [Blog: Pants 2.13: Easier at the command line, easier parallel execution in CI, Kotlin support, and better Python and JVM support!](https://blog.pantsbuild.org/introducing-pants-2-13/) | -| 2.12 | [/2.12](/2.12.x/docs/introduction/how-does-pants-work) | [2.12.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.12.x.md) | [Blog: Pants 2.12: Improved performance for common cases, IDE support for Java and Scala](https://blog.pantsbuild.org/pants-2-12/) | -| 2.11 | [/2.11](/2.11.x/docs/introduction/how-does-pants-work) | [2.11.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.11.x.md) | [Blog: Introducing 2.11](https://blog.pantsbuild.org/introducing-pants-2-11/) | -| 2.10 | [/2.10](/2.10.x/docs/introduction/how-does-pants-work) | [2.10.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.10.x.md) | [Blog: Introducing 2.10](https://blog.pantsbuild.org/pants-2-10/) [Blog: Multiple lockfiles in Python repos](https://blog.pantsbuild.org/multiple-lockfiles-python/) | -| 2.9 | [/2.9](/2.9.x/docs/introduction/how-does-pants-work) | [2.9.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.9.x.md) | [Blog: Introducing 2.9](https://blog.pantsbuild.org/pants-2-9/) [Blog: JVM dependency inference](https://blog.pantsbuild.org/automatically-unlocking-concurrent-builds-and-fine-grained-caching-on-the-jvm-with-dependency-inference/) | -| 2.8 | [/2.8](/2.8.x/docs/introduction/how-does-pants-work) | [2.8.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.8.x.md) | [Blog: Introducing 2.8](https://blog.pantsbuild.org/introducing-pants-2-8/) [Blog: Golang support](https://blog.pantsbuild.org/golang-support-pants-28/)
[Blog: PEP 517 support](https://blog.pantsbuild.org/pants-supports-pep-517/) | -| 2.7 | [/2.7](/2.7.x/docs/introduction/how-does-pants-work) | [2.7.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.7.x.md) | [Blog: introducing 2.7](https://blog.pantsbuild.org/introducing-pants-2-7/) [Blog: experience contributing Yapf](https://blog.pantsbuild.org/contributing-yapf-support/)
[Blog: Docker support](https://blog.pantsbuild.org/docker-support/)
[Blog: Streamlining packaging with Docker](https://blog.pantsbuild.org/pants-pex-and-docker/) | -| 2.6 | [/2.6](/2.6.x/docs/introduction/how-does-pants-work) | [2.6.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.6.x.md) | [Blog: introducing 2.6](https://blog.pantsbuild.org/introducing-pants-2-6/) [Blog: Poetry support](https://blog.pantsbuild.org/poetry-support-for-pants-2-6/) | -| 2.5 | [/2.5](/2.5.x/docs/introduction/how-does-pants-work) | [2.5.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.5.x.md) | [Blog: introducing 2.5](https://blog.pantsbuild.org/introducing-pants-2-5/)
[Blog: Apple Silicon](https://blog.pantsbuild.org/how-we-added-apple-silicon-support-to-pants/) | -| 2.4 | [/2.4](/2.4.x/docs/introduction/how-does-pants-work) | [2.4.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.4.x.md) | [Blog: introducing 2.4](https://blog.pantsbuild.org/introducing-pants-build-2-4-0/) | -| 2.3 | [/2.3](/2.3.x/docs/introduction/how-does-pants-work) | [2.3.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.3.x.md) | [Blog: introducing 2.3](https://blog.pantsbuild.org/introducing-pants-2-3-0/)
[Blog: Tailoring Pants to your codebase](https://blog.pantsbuild.org/tailoring-pants-to-your-codebase/) | -| 2.2 | [/2.2](/2.2.x/docs/introduction/how-does-pants-work) | [2.2.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.2.x.md) | [Blog: Pants 2.2 adds dependency inference for Protobuf](https://blog.pantsbuild.org/pants-2-2-adds-dependency-inference-for-protobuf/) | -| 2.1 | [/2.1](/2.1.x/docs/introduction/how-does-pants-work) | [2.1.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.1.x.rst) | [Blog: Unlocking incremental Python 3 migrations with Pants](https://blog.pantsbuild.org/python-3-migrations/) | -| 2.0 | [/2.0](/2.0.x/docs/introduction/how-does-pants-work) | [2.0.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.0.x.rst) | [How to upgrade from Pants 1 to Pants 2](https://www.pantsbuild.org/v1.30/docs/how-to-upgrade-to-the-v2-engine)
[Blog: Introducing Pants v2](https://blog.pantsbuild.org/introducing-pants-v2/) | -| ≤ 1.30 | [archive](https://v1.pantsbuild.org) | | | +| Pants version | Docs | Changelog | Highlights | +| :------------ | :----------------------------------------------------- | :------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| 2.19 | [/2.19](/2.19.x/docs/introduction/how-does-pants-work) | | [Blog: Pants 2.19.0 is released!](/blog/2024/01/24/pants-2-19) | +| 2.18 | [/2.18](/2.18.x/docs/introduction/how-does-pants-work) | | [Blog: Pants 2.18.0 is released!](/blog/2023/11/14/pants-2.18.0-is-released) | +| 2.17 | [/2.17](/2.17.x/docs/introduction/how-does-pants-work) | [2.17.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.17.x.md) | [Blog: Pants 2.17.0 is released!](/blog/2023/08/30/pants-2-17-0-is-released) | +| 2.16 | [/2.16](/2.16.x/docs/introduction/how-does-pants-work) | [2.16.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.16.x.md) | [Blog: Pants 2.16.0 is here!](/blog/2023/06/16/pants-2-16-0) | +| 2.15 | [/2.15](/2.15.x/docs/introduction/how-does-pants-work) | [2.15.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.15.x.md) | [Blog: Pants 2.15: Easier multi-platform workflows, Docker build support, automatic code cleanup, and more!](/blog/2023/02/24/pants-2-15) | +| 2.14 | [/2.14](/2.14.x/docs/introduction/how-does-pants-work) | [2.14.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.14.x.md) | [Blog: Pants 2.14: Less boilerplate, more Rust, better support for Go monorepos, interactive debugging support, and more!](/blog/2022/10/26/pants-2-14) | +| 2.13 | [/2.13](/2.13.x/docs/introduction/how-does-pants-work) | [2.13.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.13.x.md) | [Blog: Pants 2.13: Easier at the command line, easier parallel execution in CI, Kotlin support, and better Python and JVM support!](/blog/2022/09/01/introducing-pants-2-13) | +| 2.12 | [/2.12](/2.12.x/docs/introduction/how-does-pants-work) | [2.12.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.12.x.md) | [Blog: Pants 2.12: Improved performance for common cases, IDE support for Java and Scala](/blog/2022/06/29/pants-2-12) | +| 2.11 | [/2.11](/2.11.x/docs/introduction/how-does-pants-work) | [2.11.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.11.x.md) | [Blog: Introducing 2.11](/blog/2022/05/02/introducing-pants-2-11) | +| 2.10 | [/2.10](/2.10.x/docs/introduction/how-does-pants-work) | [2.10.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.10.x.md) | [Blog: Introducing 2.10](/blog/2022/03/23/introducing-pants-2-10) [Blog: Multiple lockfiles in Python repos](/blog/2022/05/25/multiple-lockfiles-python) | +| 2.9 | [/2.9](/2.9.x/docs/introduction/how-does-pants-work) | [2.9.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.9.x.md) | [Blog: Introducing 2.9](/blog/2022/01/12/pants-2-9) [Blog: JVM dependency inference](/blog/2021/11/22/automatically-unlocking-concurrent-builds-and-fine-grained-caching-on-the-jvm-with-dependency-inference) | +| 2.8 | [/2.8](/2.8.x/docs/introduction/how-does-pants-work) | [2.8.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.8.x.md) | [Blog: Introducing 2.8](/blog/2021/11/17/introducing-pants-2-8) [Blog: Golang support](/blog/2021/11/10/golang-support-pants-28)
[Blog: PEP 517 support](/blog/2021/10/27/pants-supports-pep-517) | +| 2.7 | [/2.7](/2.7.x/docs/introduction/how-does-pants-work) | [2.7.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.7.x.md) | [Blog: introducing 2.7](/blog/2021/09/27/introducing-pants-2-7) [Blog: experience contributing Yapf](/blog/2021/09/27/contributing-yapf-support)
[Blog: Docker support](/blog/2021/09/28/docker-support)
[Blog: Streamlining packaging with Docker](/blog/2021/10/13/pants-pex-and-docker) | +| 2.6 | [/2.6](/2.6.x/docs/introduction/how-does-pants-work) | [2.6.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.6.x.md) | [Blog: introducing 2.6](/blog/2021/08/02/introducing-pants-2-6) [Blog: Poetry support](/blog/2021/07/29/poetry-support-for-pants-2-6) | +| 2.5 | [/2.5](/2.5.x/docs/introduction/how-does-pants-work) | [2.5.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.5.x.md) | [Blog: introducing 2.5](/blog/2021/05/20/introducing-pants-2-5)
[Blog: Apple Silicon](/blog/2021/06/21/how-we-added-apple-silicon-support-to-pants) | +| 2.4 | [/2.4](/2.4.x/docs/introduction/how-does-pants-work) | [2.4.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.4.x.md) | [Blog: introducing 2.4](/blog/2021/04/30/introducing-pants-build-2-4-0) | +| 2.3 | [/2.3](/2.3.x/docs/introduction/how-does-pants-work) | [2.3.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.3.x.md) | [Blog: introducing 2.3](/blog/2021/03/22/introducing-pants-2-3-0)
[Blog: Tailoring Pants to your codebase](/blog/2021/03/19/tailoring-pants-to-your-codebase) | +| 2.2 | [/2.2](/2.2.x/docs/introduction/how-does-pants-work) | [2.2.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.2.x.md) | [Blog: Pants 2.2 adds dependency inference for Protobuf](/blog/2021/02/22/pants-2-2-adds-dependency-inference-for-protobuf) | +| 2.1 | [/2.1](/2.1.x/docs/introduction/how-does-pants-work) | [2.1.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.1.x.rst) | [Blog: Unlocking incremental Python 3 migrations with Pants](/blog/2020/11/17/python-3-migrations) | +| 2.0 | [/2.0](/2.0.x/docs/introduction/how-does-pants-work) | [2.0.x.md](https://github.com/pantsbuild/pants/blob/main/src/python/pants/notes/2.0.x.rst) | [How to upgrade from Pants 1 to Pants 2](https://www.pantsbuild.org/v1.30/docs/how-to-upgrade-to-the-v2-engine)
[Blog: Introducing Pants v2](/blog/2020/10/27/introducing-pants-v2) | +| ≤ 1.30 | [archive](https://v1.pantsbuild.org) | | |