Skip to content

[Python] Fix wheel verification tests in cel_basic_test.py - #126

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1015692158
Nov 6, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1015692158

Conversation

@dmitriplotnikov

@dmitriplotnikov dmitriplotnikov commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

[Python] Fix wheel verification tests in cel_basic_test.py

  1. Use plain_value() instead of value() when asserting the list result of lists.range(3) in test_standard_extensions, since value() returns a list of _CelListItemAccessor instances.
  2. Exclude cel_basic_test.py's directory from the importlib.metadata.distributions search path in test_wheel_package_contents so that cibuildwheel inspects the installed .dist-info wheel in site-packages rather than the build directory's .egg-info.

@copybara-service copybara-service Bot changed the title No public description [Python] Fix wheel verification tests in cel_basic_test.py Nov 6, 2026
1. Use `plain_value()` instead of `value()` when asserting the list result of `lists.range(3)` in `test_standard_extensions`, since `value()` returns a list of `_CelListItemAccessor` instances.
2. Exclude `cel_basic_test.py`'s directory from the `importlib.metadata.distributions` search path in `test_wheel_package_contents` so that `cibuildwheel` inspects the installed `.dist-info` wheel in `site-packages` rather than the build directory's `.egg-info`.

PiperOrigin-RevId: 1015811456
@copybara-service
copybara-service Bot merged commit 1876da3 into main Nov 6, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_1015692158 branch November 6, 2026 21:29
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