Repository navigation
Tests: check the mflux pin against the version the MLX engine expects, and read checked-in sources as UTF-8 (main reds) - #18952
Conversation
…ked-in sources as UTF-8 (main reds)
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
1 similar comment
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Two checks are red on
mainand fail on every PR that runs them, for example the staging run for #18941:tests/studio/install/test_mlx_install.py::test_mlx_image_engine_pins_leave_the_mlx_stack_alone(studio-installshard):assert 'mflux==0.24.0'.startswith('mflux==0.22.')_MLX_DIFFUSION_PINSmust be exactlymflux==<MFLUX_VERSION>for the running interpreter, and that version must be inMFLUX_COMPATIBLE_VERSIONS. Both are read frommlx_diffusion_convert.py's source, since importing it needs numpy and the installer tests do not have it. The check is stricter than before: an installer pin that drifts from what the engine accepts at runtime now fails.tests/test_source_read_encoding.py::test_checked_in_file_reads_name_an_encoding(rest-2shard): 3 reads with the platform default encodingtests/test_adapter_unc_base_guard.py:30and:91) andtests/test_inkling2_support.py:367read_text()uses the locale code page.encoding = "utf-8"on those three reads.Only tests change.
Testing
tests/studio/install/test_mlx_install.py,tests/test_source_read_encoding.py,tests/test_adapter_unc_base_guard.py,tests/test_inkling2_support.py: 3 failed onmain. With this change, 92 passed, 4 skipped._MFLUX_PINchanged tomflux==0.23.0, a version the engine does not expect, the mflux test fails withassert 'mflux==0.23.0' == 'mflux==0.24.0'.