Skip to content

chore: Remove setup.py and release version 6.0.0 with updates#1218

Open
Dor-bl wants to merge 4 commits intoappium:masterfrom
Dor-bl:remove-setup-py-bump-major-version-15520390993002351116
Open

chore: Remove setup.py and release version 6.0.0 with updates#1218
Dor-bl wants to merge 4 commits intoappium:masterfrom
Dor-bl:remove-setup-py-bump-major-version-15520390993002351116

Conversation

@Dor-bl
Copy link
Copy Markdown
Contributor

@Dor-bl Dor-bl commented Apr 17, 2026

This pull request removes the legacy setup.py build file and updates the versioning and packaging configuration to modern Python standards, including improved version management and error handling. The most important changes are summarized below:

Build system modernization:

  • Removed the obsolete setup.py file, fully transitioning the project to use PEP 517/518 build standards with pyproject.toml as the single source of truth for packaging and dependency management.
  • Updated the project version to 6.0.0 in pyproject.toml, signaling a major version bump due to the removal of setup.py and possible breaking changes.

Version management improvements:

  • Enhanced the _get_version() function in appium/version.py to handle cases where the package metadata is missing, returning 'unknown' instead of raising an error.
  • Updated pyproject.toml to ensure the version is tracked in both pyproject.toml and appium/version.py, improving consistency between code and metadata.
  • Removed the [tool.hatch.version] section from pyproject.toml, as versioning is now managed directly through the project metadata and source file.

Dor-bl and others added 4 commits April 7, 2026 05:00
- 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.
@Dor-bl Dor-bl changed the title Remove setup.py and release version 6.0.0 with updates Chore: Remove setup.py and release version 6.0.0 with updates Apr 17, 2026
@Dor-bl Dor-bl changed the title Chore: Remove setup.py and release version 6.0.0 with updates chore: Remove setup.py and release version 6.0.0 with updates Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant