Skip to content

Commit 2f13208

Browse files
authored
Merge branch 'main' into fix-get_children
2 parents fca806f + 72c6c36 commit 2f13208

File tree

8 files changed

+231
-205
lines changed

8 files changed

+231
-205
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
lint:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
18+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
1919
with:
2020
python-version: "3.9"
2121
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
@@ -26,7 +26,7 @@ jobs:
2626
name: Lint Commit Messages
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
29+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
3030
with:
3131
fetch-depth: 0
3232
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6
@@ -41,19 +41,21 @@ jobs:
4141
- "3.11"
4242
- "3.12"
4343
- "3.13"
44+
- "3.14"
45+
- "3.14t"
4446
os:
4547
- ubuntu-latest
4648
extension:
4749
- "skip_cython"
4850
- "use_cython"
4951
runs-on: ${{ matrix.os }}
5052
steps:
51-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
53+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
5254
- name: Install libs
5355
run: sudo apt-get install -y dbus-daemon python3-gi libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
5456
- uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
5557
- name: Set up Python
56-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
58+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
5759
with:
5860
python-version: ${{ matrix.python-version }}
5961
cache: "poetry"
@@ -68,7 +70,7 @@ jobs:
6870
- name: Test with Pytest
6971
run: dbus-run-session -- poetry run pytest --cov-report=xml --timeout=5
7072
- name: Upload coverage to Codecov
71-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5
73+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
7274
with:
7375
token: ${{ secrets.CODECOV_TOKEN }}
7476

@@ -78,7 +80,7 @@ jobs:
7880

7981
steps:
8082
- name: Checkout code
81-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
83+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
8284
- uses: uraimo/run-on-arch-action@1c358dc49363439f8c563ce8f93005f7fe76b849 # v3
8385
name: Run commands
8486
id: runcmd
@@ -98,12 +100,12 @@ jobs:
98100
benchmark:
99101
runs-on: ubuntu-latest
100102
steps:
101-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
103+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
102104
- name: Install libs
103105
run: sudo apt-get install -y dbus-daemon python3-gi libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
104106
- uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
105107
- name: Setup Python 3.13
106-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
108+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
107109
with:
108110
python-version: 3.13
109111
cache: "poetry"
@@ -112,8 +114,9 @@ jobs:
112114
REQUIRE_CYTHON=1 poetry install --only=main,dev
113115
shell: bash
114116
- name: Run benchmarks
115-
uses: CodSpeedHQ/action@0b6e7a3d96c9d2a6057e7bcea6b45aaf2f7ce60b # v3
117+
uses: CodSpeedHQ/action@4348f634fa7309fe23aac9502e88b999ec90a164 # v3
116118
with:
119+
mode: instrumentation
117120
token: ${{ secrets.CODSPEED_TOKEN }}
118121
run: dbus-run-session -- poetry run pytest --no-cov -vvvvv --codspeed tests/benchmarks
119122

@@ -134,28 +137,28 @@ jobs:
134137
newest_release_tag: ${{ steps.release_tag.outputs.newest_release_tag }}
135138

136139
steps:
137-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
140+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
138141
with:
139142
fetch-depth: 0
140143
ref: ${{ github.head_ref || github.ref_name }}
141144

142145
# Do a dry run of PSR
143146
- name: Test release
144-
uses: python-semantic-release/python-semantic-release@2896129e02bb7809d2cf0c1b8e9e795ee27acbcf # v10.2.0
147+
uses: python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
145148
if: github.ref_name != 'main'
146149
with:
147150
no_operation_mode: true
148151

149152
# On main branch: actual PSR + upload to PyPI & GitHub
150153
- name: Release
151-
uses: python-semantic-release/python-semantic-release@2896129e02bb7809d2cf0c1b8e9e795ee27acbcf # v10.2.0
154+
uses: python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
152155
id: release
153156
if: github.ref_name == 'main'
154157
with:
155158
github_token: ${{ secrets.GITHUB_TOKEN }}
156159

157160
- name: Publish package distributions to PyPI
158-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1
161+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
159162
if: steps.release.outputs.released == 'true'
160163

161164
- name: Publish package distributions to GitHub Releases
@@ -187,28 +190,21 @@ jobs:
187190
- os: macos-latest
188191
musl: "musllinux"
189192
steps:
190-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
193+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
191194
with:
192195
ref: "v${{ needs.release.outputs.newest_release_tag }}"
193196
fetch-depth: 0
194-
# Used to host cibuildwheel
195-
- name: Set up Python
196-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
197-
198-
- name: Install cibuildwheel
199-
run: python -m pip install cibuildwheel==2.22.0
200197

201198
- name: Build wheels
202-
run: python -m cibuildwheel --output-dir wheelhouse
203-
# to supply options, put them in 'env', like:
199+
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
204200
env:
205201
CIBW_SKIP: "*p36-* *p37-* *p38-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}"
206202
CIBW_BEFORE_ALL_LINUX: apt-get install -y gcc || yum install -y gcc || apk add gcc
207203
CIBW_BUILD_VERBOSITY: 3
208204
REQUIRE_CYTHON: 1
209205
CIBW_ARCHS_LINUX: ${{ matrix.os == 'ubuntu-24.04-arm' && 'aarch64' || 'auto' }}
210206

211-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
207+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
212208
with:
213209
path: ./wheelhouse/*.whl
214210
name: wheels-${{ matrix.os }}-${{ matrix.musl }}
@@ -221,12 +217,12 @@ jobs:
221217
id-token: write
222218
contents: write
223219
steps:
224-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
220+
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v4
225221
with:
226222
# unpacks default artifact into dist/
227223
# if `name: artifact` is omitted, the action will create extra parent dir
228224
pattern: wheels-*
229225
path: dist
230226
merge-multiple: true
231227

232-
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
228+
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0

.github/workflows/hacktoberfest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: browniebroke/hacktoberfest-labeler-action@4b84e14a51c188ef9fb917854ae8310440c27bae # v2.3.0
15+
- uses: browniebroke/hacktoberfest-labeler-action@72564cc2b8f1cd239fb6880cca150a1b8b6b027b # v2.6.0
1616
with:
1717
github_token: ${{ secrets.GH_PAT }}

.github/workflows/issue-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
issue-manager:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: tiangolo/issue-manager@f94f76c8fa2c48bb2982a099c29a0caadb92917e # 0.5.1
21+
- uses: tiangolo/issue-manager@2fb3484ec9279485df8659e8ec73de262431737d # 0.6.0
2222
with:
2323
token: ${{ secrets.GITHUB_TOKEN }}
2424
config: >

.github/workflows/labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
labels:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
1515
- name: Set up Python
16-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
16+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
1717
with:
1818
python-version: 3.8
1919
- name: Install labels

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ci:
99

1010
repos:
1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v4.8.3
12+
rev: v4.9.1
1313
hooks:
1414
- id: commitizen
1515
stages: [commit-msg]
@@ -33,12 +33,12 @@ repos:
3333
- id: prettier
3434
args: ["--tab-width", "2"]
3535
- repo: https://github.com/asottile/pyupgrade
36-
rev: v3.20.0
36+
rev: v3.21.0
3737
hooks:
3838
- id: pyupgrade
3939
args: [--py39-plus]
4040
- repo: https://github.com/astral-sh/ruff-pre-commit
41-
rev: v0.12.9
41+
rev: v0.14.2
4242
hooks:
4343
- id: ruff
4444
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)