From 4462299fa391b7349074facc39c73767853c9d02 Mon Sep 17 00:00:00 2001 From: Jason Lam Date: Sat, 24 Aug 2024 00:52:56 +0800 Subject: [PATCH] 1.7.1: Use minimum supported Python to build zipapp (#1515) * Use minimum supported Python to build zipapp Fixes #1514 * Update release.yml * Add news fragment * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update CHANGELOG --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 5 +++-- docs/CHANGELOG.md | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 026d3871a2..1fa6d73a42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ concurrency: env: default-python: "3.12" + minimum-supported-python: "3.8" jobs: create-tag: @@ -98,10 +99,10 @@ jobs: uses: actions/checkout@v4 with: ref: "${{ needs.create-tag.outputs.release-tag }}" - - name: Set up Python ${{ env.default-python }} + - name: Set up Python ${{ env.minimum-supported-python }} uses: actions/setup-python@v5 with: - python-version: ${{ env.default-python }} + python-version: ${{ env.minimum-supported-python }} cache: "pip" - name: Install nox run: pip install nox diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index e69cf0092b..cf46f7877e 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -9,6 +9,13 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) for keeping t +## [1.7.1](https://github.com/pypa/pipx/tree/1.7.1) - 2024-08-23 + +### Bugfixes + +- Use minimum supported Python to build zipapp in release action such that `tomli` is included in it. ([#1514](https://github.com/pypa/pipx/issues/1514)) + + ## [1.7.0](https://github.com/pypa/pipx/tree/1.7.0) - 2024-08-22 ### Features