Skip to content

Commit 06a3d0b

Browse files
authored
Merge branch 'master' into remove-app-strings-fallback-16370282440067229945
2 parents 2025fdd + 0f549c3 commit 06a3d0b

8 files changed

Lines changed: 58 additions & 85 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Release
22

33
on:
44
workflow_dispatch:
5-
push:
6-
branches: [ master ]
5+
# push:
6+
# branches: [ master ]
77

88
permissions:
99
contents: write

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
<!-- version list -->
44

5+
## v5.3.1 (2026-04-19)
6+
7+
### Bug Fixes
8+
9+
- Replace assert with ValueError for state validation
10+
([#1219](https://github.com/appium/python-client/pull/1219),
11+
[`2193837`](https://github.com/appium/python-client/commit/2193837fc0af579231f08315431c6a2347bc2b65))
12+
13+
### Chores
14+
15+
- **deps-dev**: Bump ruff from 0.15.10 to 0.15.11
16+
([#1217](https://github.com/appium/python-client/pull/1217),
17+
[`30dad44`](https://github.com/appium/python-client/commit/30dad44a9ab991c14134119b876ca80c21d10e88))
18+
19+
- **deps-dev**: Bump ruff from 0.15.7 to 0.15.8
20+
([#1210](https://github.com/appium/python-client/pull/1210),
21+
[`7181b20`](https://github.com/appium/python-client/commit/7181b201d0cd94561fe5f07e8bcb0bf03b8ca0e0))
22+
23+
- **deps-dev**: Bump ruff from 0.15.8 to 0.15.9
24+
([#1214](https://github.com/appium/python-client/pull/1214),
25+
[`21fdecb`](https://github.com/appium/python-client/commit/21fdecbdf975515087e4c88e04c3356b288f5ac6))
26+
27+
- **deps-dev**: Bump ruff from 0.15.9 to 0.15.10
28+
([#1216](https://github.com/appium/python-client/pull/1216),
29+
[`9016e94`](https://github.com/appium/python-client/commit/9016e9431dd9e8c0218e1499c516dcf70642b7e4))
30+
31+
532
## v5.3.0 (2026-03-28)
633

734
### Bug Fixes

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ download and unarchive the source tarball (Appium-Python-Client-X.X.tar.gz).
2626
```shell
2727
tar -xvf Appium-Python-Client-X.X.tar.gz
2828
cd Appium-Python-Client-X.X
29-
python setup.py install
29+
pip install .
3030
```
3131

3232
3. Install from source via [GitHub](https://github.com/appium/python-client).
3333

3434
```shell
3535
git clone git@github.com:appium/python-client.git
3636
cd python-client
37-
python setup.py install
37+
pip install .
3838
```
3939

4040
## Compatibility Matrix

appium/version.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from importlib import metadata
15+
from importlib.metadata import version as _metadata_version
1616

17-
18-
def _get_version():
19-
return metadata.version('Appium-Python-Client')
20-
21-
22-
version = _get_version()
17+
version = _metadata_version('Appium-Python-Client')

appium/webdriver/webdriver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ def _update_command_executor(self, keep_alive: bool) -> None:
303303
direct_port = 'directConnectPort'
304304
direct_path = 'directConnectPath'
305305

306-
assert self.caps, 'Driver capabilities must be defined'
306+
if not self.caps:
307+
raise ValueError('Driver capabilities must be defined')
307308
if not {direct_protocol, direct_host, direct_port, direct_path}.issubset(set(self.caps)):
308309
message = 'Direct connect capabilities from server were:\n'
309310
for key in [direct_protocol, direct_host, direct_port, direct_path]:

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "Appium-Python-Client"
33
description = "Python client for Appium"
4-
version = "5.3.0"
4+
version = "5.3.1"
55
readme = "README.md"
66
license = "Apache-2.0"
77
license-files = ["LICENSE"]
@@ -64,11 +64,6 @@ dev = [
6464
requires = ["hatchling"]
6565
build-backend = "hatchling.build"
6666

67-
[tool.hatch.version]
68-
source = "regex"
69-
path = "appium/version.py"
70-
pattern = "(?P<version>\\d+\\.\\d+\\.\\d+)"
71-
7267
[tool.hatch.build]
7368
exclude = [
7469
"test/",

setup.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

uv.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)