René's URL Explorer Experiment


Title: [update_lib] show deps by youknowone · Pull Request #6821 · RustPython/RustPython · GitHub

Open Graph Title: [update_lib] show deps by youknowone · Pull Request #6821 · RustPython/RustPython

X Title: [update_lib] show deps by youknowone · Pull Request #6821 · RustPython/RustPython

Description: cc @ShaharNaveh @moreal @terryluan12 To understand better what lib is related to its dependencies $ python3 scripts/update_lib deps dis [+] lib: cpython/Lib/dis.py [+] test: cpython/Lib/test/test_dis.py soft_deps: - [ ] dis (native: _opcode, sys) - [ ] collections (native: _collections, _weakref, itertools, sys) - [ ] copy - [ ] copyreg - [ ] operator (native: _operator, builtins) - [x] functools - [x] typing - [ ] types (native: _types, sys) - [x] _collections_abc, functools - [ ] weakref (native: _weakref, atexit, gc, itertools, sys) - [ ] _weakrefset (native: _weakref) - [ ] types - [ ] copy - [x] _collections_abc - [ ] operator (native: _operator, builtins) - [x] functools - [ ] reprlib (native: _thread, builtins, itertools, math, sys) - [x] _collections_abc, heapq, keyword - [ ] io (native: _io, _thread, errno, msvcrt, sys) - [ ] codecs (native: _codecs, builtins, sys) - [ ] encodings (native: _codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr, _codecs_tw, _multibytecodec, _win_cp_codecs, binascii, sys, unicodedata, zlib) - [ ] quopri (native: binascii, sys) - [ ] getopt (native: sys) - [ ] gettext (native: builtins, errno, sys) - [ ] locale (native: _locale, builtins, sys) - [ ] os (native: nt, posix, sys) - [ ] ntpath (native: _winapi, nt, sys) - [ ] posixpath (native: errno, posix, pwd, sys) - [ ] subprocess (native: _posixsubprocess, _winapi, builtins, errno, fcntl, grp, msvcrt, pwd, select, sys, time) - [ ] io - [x] _collections_abc, abc, stat, warnings - [ ] encodings - [x] _collections_abc, functools, re, warnings - [ ] os (native: nt, posix, sys) - [ ] io, ntpath, posixpath, subprocess - [x] _collections_abc, abc, stat, warnings - [ ] struct (native: _struct) - [ ] copy, operator - [x] re, warnings - [ ] os (native: nt, posix, sys) - [ ] io, ntpath, posixpath, subprocess - [x] _collections_abc, abc, stat, warnings - [ ] io - [ ] codecs, io - [x] base64, bz2, re, stringprep - [x] warnings - [ ] locale (native: _locale, builtins, sys) - [ ] encodings, os - [x] _collections_abc, functools, re, warnings - [ ] os (native: nt, posix, sys) - [ ] io, ntpath, posixpath, subprocess - [x] _collections_abc, abc, stat, warnings - [x] _collections_abc, abc, stat, warnings - [ ] opcode (native: _opcode, builtins) - [ ] _opcode_metadata - [ ] types (native: _types, sys) - [x] _collections_abc, functools - [x] argparse Summary by CodeRabbit New Features Added automated library dependency checking workflow with GitHub Actions integration and PR commenting Added CLI command to analyze and display module dependencies with hierarchical views Bug Fixes Improved error handling and path validation in library operations Enhanced robustness in AST parsing and file operations with safer fallback handling Tests Added comprehensive test coverage for dependency analysis and path validation ✏️ Tip: You can customize this high-level summary in your review settings.

Open Graph Description: cc @ShaharNaveh @moreal @terryluan12 To understand better what lib is related to its dependencies $ python3 scripts/update_lib deps dis [+] lib: cpython/Lib/dis.py [+] test: cpython/Lib...

X Description: cc @ShaharNaveh @moreal @terryluan12 To understand better what lib is related to its dependencies $ python3 scripts/update_lib deps dis [+] lib: cpython/Lib/dis.py [+] test: cpython/Lib...

Opengraph URL: https://github.com/RustPython/RustPython/pull/6821

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c0df310a-6289-c5d6-14d0-73a94a9a5ba3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4AE:2B2A66:397D0C:50CCDA:6970A766
html-safe-nonce86cfa1de6948aebdf84bb18c987f74a6092a516c76cddb2afef61bd2c3a1f62d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEFFOjJCMkE2NjozOTdEMEM6NTBDQ0RBOjY5NzBBNzY2IiwidmlzaXRvcl9pZCI6IjgyNzAyMDkwOTM1ODY2OTE5NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca37e0534fb48e8d8003a60fd76d3b7e3c3e251352f5b05e7cb373ceb9e81680e
hovercard-subject-tagpull_request:3191691852
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/6821/files
twitter:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
og:image:altcc @ShaharNaveh @moreal @terryluan12 To understand better what lib is related to its dependencies $ python3 scripts/update_lib deps dis [+] lib: cpython/Lib/dis.py [+] test: cpython/Lib...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb06a4c45c45fd0bb038b3759265ea6e38211f45d18130bc65261990be6b5972a
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0e1c4964831785bd64cb22d82e7cf2391ae01f45
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6821%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6821%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
Reloadhttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
Reloadhttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
RustPython https://patch-diff.githubusercontent.com/RustPython
RustPythonhttps://patch-diff.githubusercontent.com/RustPython/RustPython
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.4k https://patch-diff.githubusercontent.com/login?return_to=%2FRustPython%2FRustPython
Star 21.7k https://patch-diff.githubusercontent.com/login?return_to=%2FRustPython%2FRustPython
Code https://patch-diff.githubusercontent.com/RustPython/RustPython
Issues 276 https://patch-diff.githubusercontent.com/RustPython/RustPython/issues
Pull requests 92 https://patch-diff.githubusercontent.com/RustPython/RustPython/pulls
Discussions https://patch-diff.githubusercontent.com/RustPython/RustPython/discussions
Actions https://patch-diff.githubusercontent.com/RustPython/RustPython/actions
Projects 0 https://patch-diff.githubusercontent.com/RustPython/RustPython/projects
Wiki https://patch-diff.githubusercontent.com/RustPython/RustPython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/RustPython/RustPython/security
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
Insights https://patch-diff.githubusercontent.com/RustPython/RustPython/pulse
Code https://patch-diff.githubusercontent.com/RustPython/RustPython
Issues https://patch-diff.githubusercontent.com/RustPython/RustPython/issues
Pull requests https://patch-diff.githubusercontent.com/RustPython/RustPython/pulls
Discussions https://patch-diff.githubusercontent.com/RustPython/RustPython/discussions
Actions https://patch-diff.githubusercontent.com/RustPython/RustPython/actions
Projects https://patch-diff.githubusercontent.com/RustPython/RustPython/projects
Wiki https://patch-diff.githubusercontent.com/RustPython/RustPython/wiki
Security https://patch-diff.githubusercontent.com/RustPython/RustPython/security
Insights https://patch-diff.githubusercontent.com/RustPython/RustPython/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://patch-diff.githubusercontent.com/youknowone
RustPython:mainhttps://patch-diff.githubusercontent.com/RustPython/RustPython/tree/main
youknowone:show-depshttps://patch-diff.githubusercontent.com/youknowone/RustPython/tree/show-deps
Conversation 9 https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821
Commits 3 https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/commits
Checks 8 https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/checks
Files changed https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
[update_lib] show deps https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#top
Show all changes 3 commits https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
23d886f show_deps youknowone Jan 20, 2026 https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/commits/23d886f2d379b0bf90ffeeaed639a92606494515
3178783 soft deps tree youknowone Jan 20, 2026 https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/commits/3178783d2630dbb7f5ecd7c0a76ec0a349442ce9
af13255 show deps CI youknowone Jan 20, 2026 https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/commits/af1325523ae10ff6ea27f260939421f231510944
Clear filters https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
lib-deps-check.yaml https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-71c1ded5e737c1b492380715610a9eb89b56943d7719701fff84e8efab7d88c3
__main__.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-e5e91f91aa4ae36d84cf16b087cdb9a3dc333afe1bee5de6065ca41cbbde610d
auto_mark.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-72081e06d618606cd7165ef269d484cea8b7ae839569cf0d19b2356cdc5bf69d
copy_lib.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-b06d7a018aa79ef90aa3180ba7aa057607c4a4aa2d92305b717f07d296e609e3
deps.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-bbb9099426d044c9fbceb4c8ad192003caf7bddd10a51085e2218f3ed4c76416
io_utils.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-652a90329e765061ad29914d142efa4caf49fd0e2b87df4a675539ab3ea66d0c
path.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-92d45f3309ae35dbb45f15983adde9ba0eca925cbba0fff00964b675a3c4f102
quick.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-9f63824d9b5f67a13d794e9e39cc024f8f178fa642d312a39aa79867ea05d437
show_deps.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-930593b790734260962a206646c96fd4d5cb2f9c0a3e01d1acfdd82d33bf8e37
test_copy_lib.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-3b0adf3c5328e3ad2b4f719136aa2d9a1e17c70410e5c91858de9ca51f51a994
test_deps.py https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-8e8d14c0f70a90393656e25dc709b107c8eadf51fd1523b8a09753930a5c1749
.github/workflows/lib-deps-check.yamlhttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-71c1ded5e737c1b492380715610a9eb89b56943d7719701fff84e8efab7d88c3
View file https://patch-diff.githubusercontent.com/youknowone/RustPython/blob/af1325523ae10ff6ea27f260939421f231510944/.github/workflows/lib-deps-check.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/{{ revealButtonHref }}
coderabbitaihttps://patch-diff.githubusercontent.com/apps/coderabbitai
Jan 20, 2026https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#r2709041280
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
coderabbitaihttps://patch-diff.githubusercontent.com/apps/coderabbitai
Jan 20, 2026https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#r2709041301
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
scripts/update_lib/__main__.pyhttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-e5e91f91aa4ae36d84cf16b087cdb9a3dc333afe1bee5de6065ca41cbbde610d
View file https://patch-diff.githubusercontent.com/youknowone/RustPython/blob/af1325523ae10ff6ea27f260939421f231510944/scripts/update_lib/__main__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-e5e91f91aa4ae36d84cf16b087cdb9a3dc333afe1bee5de6065ca41cbbde610d
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-e5e91f91aa4ae36d84cf16b087cdb9a3dc333afe1bee5de6065ca41cbbde610d
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-e5e91f91aa4ae36d84cf16b087cdb9a3dc333afe1bee5de6065ca41cbbde610d
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-e5e91f91aa4ae36d84cf16b087cdb9a3dc333afe1bee5de6065ca41cbbde610d
scripts/update_lib/auto_mark.pyhttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-72081e06d618606cd7165ef269d484cea8b7ae839569cf0d19b2356cdc5bf69d
View file https://patch-diff.githubusercontent.com/youknowone/RustPython/blob/af1325523ae10ff6ea27f260939421f231510944/scripts/update_lib/auto_mark.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-72081e06d618606cd7165ef269d484cea8b7ae839569cf0d19b2356cdc5bf69d
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-72081e06d618606cd7165ef269d484cea8b7ae839569cf0d19b2356cdc5bf69d
scripts/update_lib/copy_lib.pyhttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-b06d7a018aa79ef90aa3180ba7aa057607c4a4aa2d92305b717f07d296e609e3
View file https://patch-diff.githubusercontent.com/youknowone/RustPython/blob/af1325523ae10ff6ea27f260939421f231510944/scripts/update_lib/copy_lib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-b06d7a018aa79ef90aa3180ba7aa057607c4a4aa2d92305b717f07d296e609e3
https://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files#diff-b06d7a018aa79ef90aa3180ba7aa057607c4a4aa2d92305b717f07d296e609e3
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
Please reload this pagehttps://patch-diff.githubusercontent.com/RustPython/RustPython/pull/6821/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.