Title: Run C API Clippy with its crate-local PyO3 configuration by youknowdot · Pull Request #9385 · RustPython/RustPython · GitHub
Open Graph Title: Run C API Clippy with its crate-local PyO3 configuration by youknowdot · Pull Request #9385 · RustPython/RustPython
X Title: Run C API Clippy with its crate-local PyO3 configuration by youknowdot · Pull Request #9385 · RustPython/RustPython
Description: Summary Separate C API linting from the generic workspace Clippy invocation: Exclude rustpython-capi as a selected workspace Clippy target. Run cargo clippy --locked --all-targets -- -Dwarnings from crates/capi. Cargo invoked at the workspace root does not load member-crate configuration. The dedicated invocation uses the existing crates/capi/.cargo/config.toml: PYO3_NO_PYTHON=1 and the RustPython 3.15 RustPython-abi3t-3.15 PyO3 configuration. No new feature or ABI fallback is introduced. Root benchmarks retain their independent configuration. The C API library can still be a dependency of another selected workspace crate. The exclusion separates its explicitly selected test/example/bench targets from the root build context; it does not remove all C API production code from the workspace dependency graph. The edited steps are shared by Linux and conditional macOS/Windows Clippy. Existing filters, matrices, environment, caches, permissions, features, exports, fixtures, and runtime test commands are unchanged. This is complementary to #9270's build/export work, not a modification of its contributor branch or a replacement for its export inventory. Validation Normal repository hooks passed. Existing YAML parser confirmed shared Clippy anchors and unchanged other jobs; reversing the exact fragment restores the baseline bytes. Offline zizmor 1.31.1 reports the same four existing low-severity self-repository findings on baseline and candidate (exit 12 on both). No new findings or suppression changes; this is not a clean scan. Bounded Linux compile-only validation passed: cargo clippy --locked --offline --all-targets -- -Dwarnings, invoked from crates/capi with the existing ABI3T configuration. No local C API tests, interpreter startup, lifecycle operations, or other runtime tests are executed. --all-targets compiles targets; it does not run tests. Linux lint evidence does not establish Windows/macOS or runtime correctness. Standard existing hosted CI remains responsible for its unchanged jobs on the new head. AI assistance: OpenAI Codex, disclosed in the commit trailer. Local lint validation used the exact candidate based on f3c443a. Before publication, main advanced to 30b8239d only through unrelated wasm JavaScript package updates (#9377 and #9378); workflow, Cargo and C API inputs were unchanged. The tested candidate was not rebased. Hosted CI must validate its actual merge context separately.
Open Graph Description: Summary Separate C API linting from the generic workspace Clippy invocation: Exclude rustpython-capi as a selected workspace Clippy target. Run cargo clippy --locked --all-targets -- -Dwarnings fr...
X Description: Summary Separate C API linting from the generic workspace Clippy invocation: Exclude rustpython-capi as a selected workspace Clippy target. Run cargo clippy --locked --all-targets -- -Dwarnings fr...
Opengraph URL: https://github.com/RustPython/RustPython/pull/9385
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a0d16e9e-888f-27f6-dfdd-96f1713bfde2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB76:1FE434:1606342:1D0FBA9:6B01FE44 |
| html-safe-nonce | cdf20ff805f7d6a17eb058e5c5912236aa2a93cf8db6e93f281008358922335a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjc2OjFGRTQzNDoxNjA2MzQyOjFEMEZCQTk6NkIwMUZFNDQiLCJ2aXNpdG9yX2lkIjoiMjY0NTI2MzkwNDA2NTg0Njg1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ee28b99f488e15d1791cc7aebcc03387b644b87466f7a766ce517cc422046c0 |
| hovercard-subject-tag | pull_request:5012607236 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9385/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Summary Separate C API linting from the generic workspace Clippy invocation: Exclude rustpython-capi as a selected workspace Clippy target. Run cargo clippy --locked --all-targets -- -Dwarnings fr... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width