diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e42b388d7b..79fc0ee7b9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,6 +12,7 @@ concurrency: env: default-python: "3.12" + minimum-supported-python: "3.8" jobs: tests: @@ -66,10 +67,10 @@ jobs: steps: - name: Checkout ${{ github.ref }} uses: actions/checkout@v4 - - 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/CHANGELOG.md b/CHANGELOG.md index de5764afc5..9002c798b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Raise more user friendly error when provided `--python` version is not found - Update `pipx run` on scripts using `/// script` and no `run` table following the updated version of PEP 723 (#1180) - Avoid repeated exception logging in a few rare cases (#1192) +- Include `tomli` into `pipx.pyz` (zipapp) so that it can be executed with Python 3.10 or earlier (#1142) ## 1.4.1