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
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c0df310a-6289-c5d6-14d0-73a94a9a5ba3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4AE:2B2A66:397D0C:50CCDA:6970A766 |
| html-safe-nonce | 86cfa1de6948aebdf84bb18c987f74a6092a516c76cddb2afef61bd2c3a1f62d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEFFOjJCMkE2NjozOTdEMEM6NTBDQ0RBOjY5NzBBNzY2IiwidmlzaXRvcl9pZCI6IjgyNzAyMDkwOTM1ODY2OTE5NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a37e0534fb48e8d8003a60fd76d3b7e3c3e251352f5b05e7cb373ceb9e81680e |
| hovercard-subject-tag | pull_request:3191691852 |
| 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/6821/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b06a4c45c45fd0bb038b3759265ea6e38211f45d18130bc65261990be6b5972a |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0e1c4964831785bd64cb22d82e7cf2391ae01f45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width