chore: Remove setup.py and release version 6.0.0 with updates#1218
Open
Dor-bl wants to merge 4 commits intoappium:masterfrom
Open
chore: Remove setup.py and release version 6.0.0 with updates#1218Dor-bl wants to merge 4 commits intoappium:masterfrom
Dor-bl wants to merge 4 commits intoappium:masterfrom
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request removes the legacy
setup.pybuild 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:
setup.pyfile, fully transitioning the project to use PEP 517/518 build standards withpyproject.tomlas the single source of truth for packaging and dependency management.6.0.0inpyproject.toml, signaling a major version bump due to the removal ofsetup.pyand possible breaking changes.Version management improvements:
_get_version()function inappium/version.pyto handle cases where the package metadata is missing, returning'unknown'instead of raising an error.pyproject.tomlto ensure the version is tracked in bothpyproject.tomlandappium/version.py, improving consistency between code and metadata.[tool.hatch.version]section frompyproject.toml, as versioning is now managed directly through the project metadata and source file.