Skip to content

Commit 98c803f

Browse files
authored
Fix CI job to include tomli in zipapp (#1194)
* fix(ci): Build zipapp using Python 3.8 * docs: Update CHANGELOG.md
1 parent b922713 commit 98c803f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ concurrency:
1212

1313
env:
1414
default-python: "3.12"
15+
minimum-supported-python: "3.8"
1516

1617
jobs:
1718
tests:
@@ -66,10 +67,10 @@ jobs:
6667
steps:
6768
- name: Checkout ${{ github.ref }}
6869
uses: actions/checkout@v4
69-
- name: Set up Python ${{ env.default-python }}
70+
- name: Set up Python ${{ env.minimum-supported-python }}
7071
uses: actions/setup-python@v5
7172
with:
72-
python-version: ${{ env.default-python }}
73+
python-version: ${{ env.minimum-supported-python }}
7374
cache: "pip"
7475
- name: Install nox
7576
run: pip install nox

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Raise more user friendly error when provided `--python` version is not found
55
- Update `pipx run` on scripts using `/// script` and no `run` table following the updated version of PEP 723 (#1180)
66
- Avoid repeated exception logging in a few rare cases (#1192)
7+
- Include `tomli` into `pipx.pyz` (zipapp) so that it can be executed with Python 3.10 or earlier (#1142)
78

89
## 1.4.1
910

0 commit comments

Comments
 (0)