mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:50:37 +00:00
contrib: Convert check-deps.sh to Python #37023
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!37023
Loading…
Reference in a new issue
No description provided.
Delete branch "check-deps-python"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This picks up #35167.
check-deps.pyreads the allowed library dependencies from the mermaid graph indoc/design/libraries.mdand follows them transitively, so the graph can drop its transitive edges and the script no longer keeps its own copy of the list. Compared tocheck-deps.sh, it also checks data symbols, and it runs on macOS, where the shell script needs bash 4.Changes compared to #35167, most of them from ryanofsky's review and the branch he shared there.
init/common.cppstays in common, andinterface_uimoves there from node. It's the same move as in #30437.nmreports as typeSand drops the extra leading underscore of Mach-O names before matching suppressions.On whether
libraries.mdcan be the source of truth (https://github.com/bitcoin/bitcoin/pull/35167#issuecomment-4337200918),check-deps.shalready took its list from that file. Where the build doesn't match the graph yet,check-deps.pyskips the library or suppresses the symbols, and says why in a comment.The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.
Conflicts
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
🔵 Suggestion · Missing negative tests leave import-parsing failures undetected
No test checks that
check-deps.pyrejects a forbidden dependency when parsing imports; no current platform is known to dropUlines.Location:
contrib/devtools/check-deps.py:208(head).🔵 Suggestion · Fail-fast guards are separated from the checker conversion
The final tree has both guards, but the conversion commit must be reviewed without its checks for unparsed library edges and empty symbol results.
Location: contrib/devtools/check-deps.py:71 (commit).
🔵 Suggestion · Stale documentation creates a temporary
wallet_toolexclusionRemoving the obsolete
libbitcoin_wallet_tooldocumentation before the conversion would avoid a temporary checker exception and separate that correction from the transitive-edge cleanup.Location: contrib/devtools/check-deps.py:60 (commit).
Review coverage was incomplete.
Reviewed:
f86744cdd7b9· Review report · Previous reportspermalink