Skip to content

Commit 705967f

Browse files
committed
chore: remove setup.py and bump major version to v6.0.0
- Completely remove setup.py. - Bump major version of the package to 6.0.0. - Update appium/version.py with a static version string for consistency. - Sync pyproject.toml and appium/version.py via semantic-release configuration. - Update CHANGELOG.md.
1 parent 21fdecb commit 705967f

4 files changed

Lines changed: 13 additions & 60 deletions

File tree

CHANGELOG.md

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

33
<!-- version list -->
44

5+
## v6.0.0 (2026-04-06)
6+
7+
### Breaking Changes
8+
9+
- Remove `setup.py` completely.
10+
11+
### Chores
12+
13+
- Bump the major version to v6.0.0.
14+
515
## v5.3.0 (2026-03-28)
616

717
### Bug Fixes

appium/version.py

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

15-
from importlib import metadata
16-
17-
18-
def _get_version():
19-
return metadata.version('Appium-Python-Client')
20-
21-
22-
version = _get_version()
15+
version = '6.0.0'

pyproject.toml

Lines changed: 2 additions & 7 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 = "6.0.0"
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/",
@@ -94,7 +89,7 @@ major_on_zero = true
9489
allow_zero_version = false
9590
no_git_verify = false
9691
tag_format = "v{version}"
97-
version_toml = ["pyproject.toml:project.version"]
92+
version_toml = ["pyproject.toml:project.version", "appium/version.py:version"]
9893

9994
[tool.semantic_release.branches.main]
10095
match = "(main|master)"

setup.py

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

0 commit comments

Comments
 (0)