Title: `stubtest_stdlib.py`: suppress output from pip by AlexWaygood · Pull Request #9807 · python/typeshed · GitHub
Open Graph Title: `stubtest_stdlib.py`: suppress output from pip by AlexWaygood · Pull Request #9807 · python/typeshed
X Title: `stubtest_stdlib.py`: suppress output from pip by AlexWaygood · Pull Request #9807 · python/typeshed
Description: Following #9734, there's now some fairly noisy output from pip if you run stubtest_stdlib.py locally, which I do quite a lot. This makes the output of the script hard to read. This PR suppresses the output from pip. Prior to this PR: (.venv) C:\Users\alexw\coding\typeshed>python tests/stubtest_stdlib.py Collecting mypy==1.0 Using cached mypy-1.0.0-cp311-cp311-win_amd64.whl (8.8 MB) Collecting typing-extensions>=3.10 Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting mypy-extensions>=0.4.3 Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB) Installing collected packages: typing-extensions, mypy-extensions, mypy Successfully installed mypy-1.0.0 mypy-extensions-1.0.0 typing-extensions-4.5.0 [notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: C:\Users\alexw\AppData\Local\Temp\tmp86thq0va\Scripts\python.exe -m pip install --upgrade pip Found existing installation: setuptools 65.5.0 Uninstalling setuptools-65.5.0: Successfully uninstalled setuptools-65.5.0 C:\Users\alexw\AppData\Local\Temp\tmp86thq0va\Scripts\python.exe -m mypy.stubtest --check-typeshed --custom-typeshed-dir . --allowlist tests\stubtest_allowlists\py3_common.txt --allowlist tests\stubtest_allowlists\py311.txt --allowlist tests\stubtest_allowlists\win32.txt --allowlist tests\stubtest_allowlists\win32-py311.txt Success: no issues found in 484 modules stubtest succeeded With this PR applied: (.venv) C:\Users\alexw\coding\typeshed>python tests/stubtest_stdlib.py Setting up an isolated virtual environment... C:\Users\alexw\AppData\Local\Temp\tmp1bkull8d\Scripts\python.exe -m mypy.stubtest --check-typeshed --custom-typeshed-dir . --allowlist tests\stubtest_allowlists\py3_common.txt --allowlist tests\stubtest_allowlists\py311.txt --allowlist tests\stubtest_allowlists\win32.txt --allowlist tests\stubtest_allowlists\win32-py311.txt Success: no issues found in 484 modules stubtest succeeded
Open Graph Description: Following #9734, there's now some fairly noisy output from pip if you run stubtest_stdlib.py locally, which I do quite a lot. This makes the output of the script hard to read. This PR suppresse...
X Description: Following #9734, there's now some fairly noisy output from pip if you run stubtest_stdlib.py locally, which I do quite a lot. This makes the output of the script hard to read. This PR suppr...
Opengraph URL: https://github.com/python/typeshed/pull/9807
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:d172d08d-fb13-1310-aa76-f78b9f7e09bd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 95CE:2D8919:100ED4:15AAAB:6B001D9B |
| html-safe-nonce | 85b2f137bc7c6ccdad49aca36bb5ed15e7eb3b44964a87af0dfc954bfc0aa48c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUNFOjJEODkxOToxMDBFRDQ6MTVBQUFCOjZCMDAxRDlCIiwidmlzaXRvcl9pZCI6Ijc5ODEyMDEwNDkyMDc3MDkwODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 29b07f29344293e86a064f04de80cd76955d5ced2c0151d80a83caf01f963b80 |
| hovercard-subject-tag | pull_request:1253287473 |
| 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/python/typeshed/pull/9807/files |
| twitter:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| og:image:alt | Following #9734, there's now some fairly noisy output from pip if you run stubtest_stdlib.py locally, which I do quite a lot. This makes the output of the script hard to read. This PR suppresse... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width