Skip to content

Commit d085279

Browse files
committed
Merge remote-tracking branch 'adafruit/main' into micropython-v1.27-merge
2 parents 6fc9542 + 83749c8 commit d085279

File tree

306 files changed

+8369
-872
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

306 files changed

+8369
-872
lines changed

.github/actions/deps/ports/espressif/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ runs:
1919
shell: bash
2020

2121
- name: Cache IDF submodules
22-
uses: actions/cache@v4
22+
uses: actions/cache@v5
2323
with:
2424
path: |
2525
.git/modules/ports/espressif/esp-idf
2626
ports/espressif/esp-idf
2727
key: submodules-idf-${{ steps.idf-commit.outputs.commit }}
2828

2929
- name: Cache IDF tools
30-
uses: actions/cache@v4
30+
uses: actions/cache@v5
3131
with:
3232
path: ${{ env.IDF_TOOLS_PATH }}
3333
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-idf-${{ steps.idf-commit.outputs.commit }}

.github/actions/deps/ports/zephyr-cp/action.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ name: Fetch Zephyr port deps
33
runs:
44
using: composite
55
steps:
6-
- name: Get libusb and mtools
6+
- name: Get Linux build dependencies
77
if: runner.os == 'Linux'
88
run: |
9+
echo "--- cpu model ---"
10+
grep "model name" /proc/cpuinfo | head -1
11+
sudo dpkg --add-architecture i386
912
sudo apt-get update
10-
sudo apt-get install -y libusb-1.0-0-dev libudev-dev mtools
13+
sudo apt-get install -y libusb-1.0-0-dev libudev-dev pkg-config mtools
14+
# We have to hold python3 so the following install works. See https://github.com/actions/runner-images/issues/13803
15+
sudo apt-mark hold python3
16+
sudo apt-get install -y libsdl2-dev:i386 libsdl2-image-dev:i386
17+
echo "PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" >> $GITHUB_ENV
1118
shell: bash
1219
- name: Setup Zephyr project
1320
uses: zephyrproject-rtos/action-zephyr-setup@v1

.github/actions/deps/python/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ runs:
1616
- name: Cache python dependencies
1717
id: cache-python-deps
1818
if: inputs.action == 'cache'
19-
uses: actions/cache@v4
19+
uses: actions/cache@v5
2020
with:
2121
path: .cp_tools
2222
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}
2323

2424
- name: Restore python dependencies
2525
id: restore-python-deps
2626
if: inputs.action == 'restore'
27-
uses: actions/cache/restore@v4
27+
uses: actions/cache/restore@v5
2828
with:
2929
path: .cp_tools
3030
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}

.github/actions/deps/submodules/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ runs:
4848

4949
- name: Cache submodules
5050
if: ${{ inputs.action == 'cache' }}
51-
uses: actions/cache@v4
51+
uses: actions/cache@v5
5252
with:
5353
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
5454
key: submodules-common-${{ hashFiles('submodule_status') }}
5555
enableCrossOsArchive: true
5656

5757
- name: Restore submodules
5858
if: ${{ inputs.action == 'restore' }}
59-
uses: actions/cache/restore@v4
59+
uses: actions/cache/restore@v5
6060
with:
6161
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
6262
key: submodules-common-${{ hashFiles('submodule_status') }}

.github/actions/mpy_cross/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
id: download-mpy-cross
1717
if: inputs.download == 'true'
1818
continue-on-error: true
19-
uses: actions/download-artifact@v4
19+
uses: actions/download-artifact@v8
2020
with:
2121
name: mpy-cross
2222
path: mpy-cross/build
@@ -36,7 +36,7 @@ runs:
3636
- name: Upload mpy-cross
3737
if: inputs.download == 'false' || steps.download-mpy-cross.outcome == 'failure'
3838
continue-on-error: true
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@v7
4040
with:
4141
name: mpy-cross
4242
path: mpy-cross/build/mpy-cross

.github/workflows/build-board-custom.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: |
7171
> custom-build && git add custom-build
7272
- name: Set up python
73-
uses: actions/setup-python@v5
73+
uses: actions/setup-python@v6
7474
with:
7575
python-version: 3.x
7676
- name: Board to port
@@ -124,7 +124,7 @@ jobs:
124124
run: make -j4 $FLAGS BOARD="$BOARD" DEBUG=$DEBUG TRANSLATION="$TRANSLATION"
125125
working-directory: ports/${{ steps.board-to-port.outputs.port }}
126126
- name: Upload artifact
127-
uses: actions/upload-artifact@v4
127+
uses: actions/upload-artifact@v7
128128
with:
129129
name: ${{ inputs.board }}-${{ inputs.language }}-${{ inputs.version }}${{ inputs.flags != '' && '-custom' || '' }}${{ inputs.debug && '-debug' || '' }}
130130
path: ports/${{ steps.board-to-port.outputs.port }}/build-${{ inputs.board }}/firmware.*

.github/workflows/build-boards.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
board: ${{ fromJSON(inputs.boards) }}
3030
steps:
3131
- name: Set up repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v6
3333
with:
3434
submodules: false
3535
show-progress: false
3636
fetch-depth: 1
3737
persist-credentials: false
3838

3939
- name: Set up python
40-
uses: actions/setup-python@v5
40+
uses: actions/setup-python@v6
4141
with:
4242
python-version: 3.x
4343

@@ -87,7 +87,7 @@ jobs:
8787
HEAD_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
8888

8989
- name: Upload artifact
90-
uses: actions/upload-artifact@v4
90+
uses: actions/upload-artifact@v7
9191
with:
9292
name: ${{ matrix.board }}
9393
path: bin/${{ matrix.board }}

.github/workflows/build-mpy-cross.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
OS_static-raspbian: linux-raspbian
2929
steps:
3030
- name: Set up repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232
with:
3333
submodules: false
3434
show-progress: false
3535
fetch-depth: 1
3636
persist-credentials: false
3737
- name: Set up python
38-
uses: actions/setup-python@v5
38+
uses: actions/setup-python@v6
3939
with:
4040
python-version: 3.x
4141
- name: Set up submodules
@@ -66,7 +66,7 @@ jobs:
6666
echo >> $GITHUB_ENV "OS=$OS"
6767
6868
- name: Upload artifact
69-
uses: actions/upload-artifact@v4
69+
uses: actions/upload-artifact@v7
7070
with:
7171
name: mpy-cross.${{ env.EX }}
7272
path: mpy-cross/build-${{ matrix.mpy-cross }}/mpy-cross.${{ env.EX }}

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
env:
2929
GITHUB_CONTEXT: ${{ toJson(github) }}
3030
- name: Set up repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232
with:
3333
submodules: false
3434
show-progress: false
3535
fetch-depth: 1
3636
persist-credentials: false
3737
- name: Set up python
38-
uses: actions/setup-python@v5
38+
uses: actions/setup-python@v6
3939
with:
4040
python-version: 3.x
4141
- name: Duplicate USB VID/PID check
@@ -114,14 +114,14 @@ jobs:
114114
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
115115
steps:
116116
- name: Set up repository
117-
uses: actions/checkout@v4
117+
uses: actions/checkout@v6
118118
with:
119119
submodules: false
120120
show-progress: false
121121
fetch-depth: 1
122122
persist-credentials: false
123123
- name: Set up python
124-
uses: actions/setup-python@v5
124+
uses: actions/setup-python@v6
125125
with:
126126
python-version: 3.x
127127
- name: Set up submodules
@@ -133,7 +133,7 @@ jobs:
133133
msgfmt --version
134134
- name: Build mpy-cross (arm64)
135135
run: make -C mpy-cross -j4 -f Makefile.m1 V=2
136-
- uses: actions/upload-artifact@v4
136+
- uses: actions/upload-artifact@v7
137137
with:
138138
name: mpy-cross-macos-arm64
139139
path: mpy-cross/build-arm64/mpy-cross-arm64
@@ -156,14 +156,14 @@ jobs:
156156
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
157157
steps:
158158
- name: Set up repository
159-
uses: actions/checkout@v4
159+
uses: actions/checkout@v6
160160
with:
161161
submodules: false
162162
show-progress: false
163163
fetch-depth: 1
164164
persist-credentials: false
165165
- name: Set up python
166-
uses: actions/setup-python@v5
166+
uses: actions/setup-python@v6
167167
with:
168168
python-version: 3.x
169169
- name: Set up submodules
@@ -177,20 +177,20 @@ jobs:
177177
pip install -r requirements-doc.txt
178178
- name: Build and Validate Stubs
179179
run: make check-stubs -j4
180-
- uses: actions/upload-artifact@v4
180+
- uses: actions/upload-artifact@v7
181181
with:
182182
name: stubs
183183
path: circuitpython-stubs/dist/*
184184
- name: Test Documentation Build (HTML)
185185
run: sphinx-build -E -W -b html -D version="$CP_VERSION" -D release="$CP_VERSION" . _build/html
186-
- uses: actions/upload-artifact@v4
186+
- uses: actions/upload-artifact@v7
187187
with:
188188
name: docs-html
189189
path: _build/html
190190
- name: Test Documentation Build (LaTeX/PDF)
191191
run: |
192192
make latexpdf
193-
- uses: actions/upload-artifact@v4
193+
- uses: actions/upload-artifact@v7
194194
with:
195195
name: docs-latexpdf
196196
path: _build/latex
@@ -260,7 +260,7 @@ jobs:
260260
which python; python --version; python -c "import cascadetoml"
261261
which python3; python3 --version; python3 -c "import cascadetoml"
262262
- name: Set up repository
263-
uses: actions/checkout@v4
263+
uses: actions/checkout@v6
264264
with:
265265
submodules: false
266266
show-progress: false
@@ -295,13 +295,13 @@ jobs:
295295
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
296296
steps:
297297
- name: Set up repository
298-
uses: actions/checkout@v4
298+
uses: actions/checkout@v6
299299
with:
300300
submodules: false
301301
show-progress: false
302302
fetch-depth: 1
303303
persist-credentials: false
304-
- uses: actions/setup-python@v5
304+
- uses: actions/setup-python@v6
305305
with:
306306
python-version: '3.13'
307307
- name: Set up Zephyr

.github/workflows/bundle_cron.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ jobs:
2929
if: startswith(github.repository, 'adafruit/')
3030
steps:
3131
- name: Set up Python 3.12
32-
uses: actions/setup-python@v5
32+
uses: actions/setup-python@v6
3333
with:
3434
python-version: 3.12
3535
- name: Load contributor cache
36-
uses: actions/cache@v4
36+
uses: actions/cache@v5
3737
with:
3838
key: "contributor-cache"
3939
path: "contributors.json"
4040
- name: Versions
4141
run: |
4242
python3 --version
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v6
4444
with:
4545
repository: 'adafruit/adabot'
4646
submodules: true

0 commit comments

Comments
 (0)