Skip to content

Skip ray tests on Python 3.14#1473

Open
Exudev wants to merge 14 commits intoapache:mainfrom
Exudev:main
Open

Skip ray tests on Python 3.14#1473
Exudev wants to merge 14 commits intoapache:mainfrom
Exudev:main

Conversation

@Exudev
Copy link
Contributor

@Exudev Exudev commented Feb 9, 2026

Summary

Add collect_ignore to plugin_tests/h_ray/conftest.py to 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, causing ModuleNotFoundError: No module named 'ray' during test collection.

Changes

  • Updated plugin_tests/h_ray/conftest.py to skip test_h_ray.py and test_parse_ray_remote_options_from_tags.py on Python 3.14+

Follows the same collect_ignore pattern used in tests/conftest.py for polars, plotly, xgboost, lightgbm, kedro, and mlflow.

Fixes #1467

Exudev and others added 12 commits January 16, 2026 23:37
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
@Exudev Exudev marked this pull request as ready for review February 9, 2026 00:07
@Exudev
Copy link
Contributor Author

Exudev commented Feb 9, 2026

@skrawcz

@skrawcz
Copy link
Contributor

skrawcz commented Feb 9, 2026

@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
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.

test failure for python 3.14 -- need to exclude ray.

2 participants