Skip to content

Commit

Permalink
Use Python 3.13 in the GitHub workflows
Browse files Browse the repository at this point in the history
Python 3.13 is the current version and was released over a month ago
(see https://devguide.python.org/versions). The dependencies we use now
support Python 3.13, most importantly `fonttools` which uses OS-specific
builds and for which compatibility got introduced in
fonttools/fonttools#3656 and the corresponding
`cp313` wheels for all distributions are published on
https://pypi.org/project/fonttools/#files.

Moreover, we fix forgotten `npx` usage in the font tests README which
was encountered while testing this patch.
  • Loading branch information
timvandermeij committed Nov 12, 2024
1 parent 6676492 commit 9137386
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fluent_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Python 3.12
- name: Use Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
cache: 'pip'

- name: Install Fluent dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/font_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Use Python 3.12
- name: Use Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
cache: 'pip'

- name: Install Fonttools
Expand Down
2 changes: 1 addition & 1 deletion test/font/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ it before running the font tests:
python3 -m venv venv
source venv/bin/activate
pip install fonttools
gulp fonttest
npx gulp fonttest
```

0 comments on commit 9137386

Please sign in to comment.