-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
test_generate_json_schema failing as of 0.9.2 #15707
Comments
Line 5474 is the one in question:
#[cfg(any(feature = "test-rules", test))] // < !!!
if checker.enabled(Rule::UnreachableCode) {
/* ... */
} #15278 fixed the issue, but did not revert the attributes. |
This will be fixed with #15627 |
@dhruvmanila I don't think so. #15278 fixed |
I don't think we're sure of promoting it yet, so for now we should just fix the JSON schema generation. cc @dylwil3 who's taking the lead on this specific issue. |
Now that I rechecked it, @dylwil3 did say that the rule should be kept in test-only realm:
It has been two weeks since then, though, and there don't seem to be any new issues. Maybe it's time? |
Thanks for the quick fix! |
Includes a patch with a recent commit from upstream to fix a failing test. See: astral-sh/ruff#15707 Closes: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/78284
Description
As of 0.9.2, the test_generate_json_schema test fails when building from source. Of note, we build with the default features.
Full build output is here: https://paste.sr.ht/~whynothugo/41004049e3a4f9d2098bec4593a68fd949bd5cd4
The output for this specific test starts at line 1816 and is 4251 lines long.
This error is produced when building the Alpine packages. The build steps can be summarised as:
The text was updated successfully, but these errors were encountered: