-
-
Notifications
You must be signed in to change notification settings - Fork 227
sync main to develop #1207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
sync main to develop #1207
Conversation
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
updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.7 → v0.12.8](astral-sh/ruff-pre-commit@v0.12.7...v0.12.8) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
…ic version verification - Introduced should_infer method in PyProjectData to determine if version inference should proceed based on configuration. - Updated version_inference.py to utilize should_infer for handling version inference conditions. - Modified tests to reflect changes in dynamic version verification and ensure proper error handling when dynamic=['version'] is missing.
- enable dependency injecting supposed pyporject data - migrate tests to ue the api directly instead of writing
…bility - Updated the path representation in the pytest report header to replace 'site-packages' with 'site:.' and the current working directory with 'CWD:.' for improved clarity.
…missing sections - Introduced a class method `empty` in PyProjectData for creating empty instances. - Simplified the `read_pyproject` function to utilize the new `empty` method when the configuration file is missing. - Enhanced logging for missing tool sections in the TOML configuration.
- Introduced `InvalidTomlError` to handle parsing errors in TOML files. - Simplified the `read_pyproject` function by removing unnecessary exception handling for file not found. - Updated exception handling in version inference to use `InvalidTomlError` for better clarity in error logging.
- Introduced `_given_result` parameter in `read_pyproject` - expand the setuptools integration points with it - Improved error handling by allowing direct injection of `PyProjectData`, `InvalidTomlError`, or `FileNotFoundError` for better testability.
- drop magic boolean parameters - drop unused exception creator - simplify calls
the decission tree is massively simplified
…t and the part that doesnt
Its used when using the simplified activation.
[pre-commit.ci] pre-commit autoupdate
…checkout-5 Bump actions/checkout from 4 to 5
…download-artifact-5 Bump actions/download-artifact from 4 to 5
reiterate version inference
Update CHANGELOG.md
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.
No description provided.