Conversation
This update introduces the tag for nodes in graph visualizations, allowing for human-readable labels while maintaining valid Python identifiers as function names. The changes include: - Documentation updates to explain the usage of in visualizations. - Modifications to the graph creation logic to utilize when available. - New tests to ensure is correctly applied in visualizations and that HTML characters are properly escaped. - Example functions demonstrating the use of in a new resource file. This feature improves the readability of visualizations for stakeholders while keeping the codebase Pythonic.
…special characters are properly escaped in the label.
This update improves the handling of the display_name tag in graph visualizations by adding support for cases where display_name is a list. The first element of the list will now be used as the display name. Additionally, new tests have been added to verify this functionality, ensuring that the correct display names are rendered in the graph output. This enhancement contributes to better readability and usability of visualizations.
- Update PeriodIndex API to use from_fields() for pandas 2.2+ compatibility - Add pytest.importorskip for mlflow tests on Python 3.14+ Fixes apache#1450
Contributor
Author
Contributor
|
@Exudev linting error it seems. |
- Add collect_ignore in plugin_tests/h_ray/conftest.py for Python 3.14+ - Fix ruff.toml lint.per-file-ignores to per-file-ignores for CI compatibility Fixes apache#1467
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.
Summary
Add
collect_ignoretoplugin_tests/h_ray/conftest.pyto skip ray tests on Python 3.14, where ray is not available.Ray is already excluded from installation on Python 3.14 in
pyproject.toml, but the test files were still being collected, causingModuleNotFoundError: No module named 'ray'during test collection.Changes
plugin_tests/h_ray/conftest.pyto skiptest_h_ray.pyandtest_parse_ray_remote_options_from_tags.pyon Python 3.14+Follows the same
collect_ignorepattern used intests/conftest.pyfor polars, plotly, xgboost, lightgbm, kedro, and mlflow.Fixes #1467