Skip to content

Commit

Permalink
Fix CI job to include tomli in zipapp (#1194)
Browse files Browse the repository at this point in the history
* fix(ci): Build zipapp using Python 3.8

* docs: Update CHANGELOG.md
  • Loading branch information
sgryjp authored Jan 6, 2024
1 parent b922713 commit 98c803f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

env:
default-python: "3.12"
minimum-supported-python: "3.8"

jobs:
tests:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 98c803f

Please sign in to comment.