Skip to content

Commit c8374e6

Browse files
authored
Merge pull request #71 from RFCreate/python3_13
Support for Python 3.13
2 parents dca36ec + 812533f commit c8374e6

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
- "3.10"
7171
- "3.11"
7272
- "3.12"
73+
- "3.13"
7374
- "pypy-3.11"
7475
wayland-version: ["1.23.0"]
7576
wayland-protocols-version: ["1.36"]
@@ -118,7 +119,7 @@ jobs:
118119
runs-on: ubuntu-24.04
119120
needs: build-wayland
120121
env:
121-
python-version: "3.12"
122+
python-version: "3.13"
122123
wayland-version: "1.23.0"
123124
wayland-protocols-version: "1.36"
124125
steps:
@@ -149,7 +150,7 @@ jobs:
149150
name: ruff test
150151
runs-on: ubuntu-24.04
151152
env:
152-
python-version: "3.12"
153+
python-version: "3.13"
153154
wayland-version: "1.23.0"
154155
wayland-protocols-version: "1.36"
155156
steps:
@@ -167,7 +168,7 @@ jobs:
167168
runs-on: ubuntu-24.04
168169
needs: build-wayland
169170
env:
170-
python-version: "3.12"
171+
python-version: "3.13"
171172
wayland-version: "1.23.0"
172173
wayland-protocols-version: "1.36"
173174
steps:
@@ -199,7 +200,7 @@ jobs:
199200
runs-on: ubuntu-24.04
200201
needs: build-wayland
201202
env:
202-
python-version: "3.12"
203+
python-version: "3.13"
203204
wayland-version: "1.23.0"
204205
wayland-protocols-version: "1.36"
205206
steps:
@@ -233,7 +234,7 @@ jobs:
233234
name: black test
234235
runs-on: ubuntu-24.04
235236
env:
236-
python-version: "3.12"
237+
python-version: "3.13"
237238
steps:
238239
- uses: actions/checkout@v4
239240
- name: Setup Python

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
env:
1414
wayland-version: "1.23.0"
1515
wayland-protocols-version: "1.36"
16-
python-version: "3.12"
16+
python-version: "3.13"
1717
steps:
1818
- name: Install dependencies
1919
run: |
@@ -39,7 +39,7 @@ jobs:
3939
echo "PKG_CONFIG_PATH=/wayland/usr/share/pkgconfig:/wayland/usr/lib/pkgconfig" >> $GITHUB_ENV
4040
- name: Set python version
4141
run: |
42-
PYTHON_ROOT=$(find /opt/python -name cp${PYTHON_VERSION/./}-*)
42+
PYTHON_ROOT=$(find /opt/python -name "cp${PYTHON_VERSION/./}-*" -not -name "*t")
4343
echo "${PYTHON_ROOT}/bin" >> $GITHUB_PATH
4444
shell: bash
4545
env:
@@ -76,7 +76,7 @@ jobs:
7676
strategy:
7777
fail-fast: false
7878
matrix:
79-
python-version: ["3.9", "3.10", "3.11", "3.12"]
79+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
8080
steps:
8181
- name: Download wayland libraries
8282
uses: actions/download-artifact@v4
@@ -86,7 +86,7 @@ jobs:
8686
run: tar xf wayland.tar.gz -C /
8787
- name: Set python version
8888
run: |
89-
PYTHON_ROOT=$(find /opt/python -name cp${PYTHON_VERSION/./}-*)
89+
PYTHON_ROOT=$(find /opt/python -name "cp${PYTHON_VERSION/./}-*" -not -name "*t")
9090
echo "${PYTHON_ROOT}/bin" >> $GITHUB_PATH
9191
shell: bash
9292
env:
@@ -125,7 +125,7 @@ jobs:
125125
- name: Set python version
126126
run: |
127127
ls /opt/python/
128-
PYTHON_ROOT=$(find /opt/python -name pp${PYTHON_VERSION/./}-*_pp${PP_VERSION/./})
128+
PYTHON_ROOT=$(find /opt/python -name "pp${PYTHON_VERSION/./}-*_pp${PP_VERSION/./}" -not -name "*t")
129129
echo "${PYTHON_ROOT}"
130130
echo "${PYTHON_ROOT}/bin" >> $GITHUB_PATH
131131
shell: bash
@@ -158,6 +158,7 @@ jobs:
158158
- "3.10"
159159
- "3.11"
160160
- "3.12"
161+
- "3.13"
161162
- "pypy-3.11"
162163
steps:
163164
- name: Download wheels
@@ -181,7 +182,7 @@ jobs:
181182
container: quay.io/pypa/manylinux_2_34_x86_64
182183
needs: build-wayland
183184
env:
184-
python-version: "3.12"
185+
python-version: "3.13"
185186
steps:
186187
- name: Download wayland libraries
187188
uses: actions/download-artifact@v4
@@ -191,7 +192,7 @@ jobs:
191192
run: tar xf wayland.tar.gz -C /
192193
- name: Set python version
193194
run: |
194-
PYTHON_ROOT=$(find /opt/python -name cp${PYTHON_VERSION/./}-*)
195+
PYTHON_ROOT=$(find /opt/python -name "cp${PYTHON_VERSION/./}-*" -not -name "*t")
195196
echo "${PYTHON_ROOT}/bin" >> $GITHUB_PATH
196197
shell: bash
197198
env:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
hooks:
55
- id: black
66
# Use the latest supported version here
7-
language_version: python3.12
7+
language_version: python3.13
88
exclude: ^test/scanner_files/
99
- repo: https://github.com/astral-sh/ruff-pre-commit
1010
rev: v0.5.5

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.10",
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
2526
"Programming Language :: Python :: Implementation :: CPython",
2627
"Programming Language :: Python :: Implementation :: PyPy",
2728
"Topic :: Desktop Environment :: Window Managers",

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
pytest
33
pytest-cov
44
coverage
5-
coveralls
5+
coveralls>=3.3.1

0 commit comments

Comments
 (0)