Skip to content

Commit 3bb2021

Browse files
authored
ci: use py 3.14 (#1193)
* ci: use py 3.14 * modify signature * override * move ignore
1 parent aa41b80 commit 3bb2021

File tree

5 files changed

+1265
-727
lines changed

5 files changed

+1265
-727
lines changed

.github/workflows/functional-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Set up Python
7979
uses: actions/setup-python@v6
8080
with:
81-
python-version: 3.12
81+
python-version: 3.14
8282

8383
- name: Cache uv modules
8484
uses: actions/cache@v5
@@ -184,10 +184,10 @@ jobs:
184184
disable-animations: false
185185
script: echo "Generated AVD snapshot for caching."
186186

187-
- name: Set up Python 3.12
187+
- name: Set up Python 3.14
188188
uses: actions/setup-python@v6
189189
with:
190-
python-version: 3.12
190+
python-version: 3.14
191191

192192
- name: Cache uv modules
193193
uses: actions/cache@v5
@@ -266,10 +266,10 @@ jobs:
266266
sudo udevadm control --reload-rules
267267
sudo udevadm trigger --name-match=kvm
268268
269-
- name: Set up Python 3.12
269+
- name: Set up Python 3.14
270270
uses: actions/setup-python@v6
271271
with:
272-
python-version: 3.12
272+
python-version: 3.14
273273

274274
- name: Install Node.js
275275
uses: actions/setup-node@v6

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
15+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1616
steps:
1717
- uses: actions/checkout@v6
1818
- name: Set up Python ${{ matrix.python-version }}

appium/webdriver/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def switch_to(self) -> MobileSwitchTo:
400400
return MobileSwitchTo(self)
401401

402402
# MJSONWP for Selenium v4
403-
@property
403+
@property # type: ignore[override]
404404
def orientation(self) -> str:
405405
"""
406406
Gets the current orientation of the device

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ Repository = "https://github.com/appium/python-client"
3636
Issues = "https://github.com/appium/python-client/issues"
3737
Changelog = "https://github.com/appium/python-client/blob/master/CHANGELOG.md"
3838

39-
[tool.uv]
40-
dev-dependencies = [
39+
[dependency-groups]
40+
dev = [
4141
"httpretty~=1.1",
42-
"mock~=5.2",
4342
"mypy~=1.17",
4443
"pre-commit~=4.2",
4544
"pytest~=8.4",

0 commit comments

Comments
 (0)