René's URL Explorer Experiment


Title: Stubgen fails with timeout for locust · Issue #9103 · python/mypy · GitHub

Open Graph Title: Stubgen fails with timeout for locust · Issue #9103 · python/mypy

X Title: Stubgen fails with timeout for locust · Issue #9103 · python/mypy

Description: Hi, I'm trying to generate type stubs for Locust and stubgen fails with a timeout (see details below). I was wondering if someone has any insight into what causes this or how to fix it. Please provide more information to help us understa...

Open Graph Description: Hi, I'm trying to generate type stubs for Locust and stubgen fails with a timeout (see details below). I was wondering if someone has any insight into what causes this or how to fix it. Please prov...

X Description: Hi, I'm trying to generate type stubs for Locust and stubgen fails with a timeout (see details below). I was wondering if someone has any insight into what causes this or how to fix it. Please ...

Opengraph URL: https://github.com/python/mypy/issues/9103

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stubgen fails with timeout for locust","articleBody":"Hi,\r\nI'm trying to generate type stubs for [Locust](https://locust.io/) and stubgen fails with a timeout (see details below).\r\nI was wondering if someone has any insight into what causes this or how to fix it.\r\n\r\nPlease provide more information to help us understand the issue:\r\n\r\n* Are you reporting a bug, or opening a feature request?\r\n    Bug\r\n\r\n* Please insert below the code you are checking with mypy,\r\n  or a mock-up repro if the source is private. We would appreciate\r\n  if you try to simplify your case to a minimal repro.\r\n\r\n    ```\r\n    pip install mypy locust\r\n    stubgen -p locust\r\n    ```\r\n\r\n* What is the actual behavior/output?\r\n    ```\r\n    Traceback (most recent call last):\r\n    File \"./venv/bin/stubgen\", line 10, in \u003cmodule>\r\n        sys.exit(main())\r\n    File \"mypy/stubgen.py\", line 1564, in main\r\n    File \"mypy/stubgen.py\", line 1422, in generate_stubs\r\n    File \"mypy/stubgen.py\", line 1183, in collect_build_targets\r\n    File \"mypy/stubgen.py\", line 1217, in find_module_paths_using_imports\r\n    File \"mypy/stubutil.py\", line 62, in walk_packages\r\n    File \"mypy/moduleinspect.py\", line 137, in get_package_properties\r\n    File \"mypy/moduleinspect.py\", line 163, in _get_from_queue\r\n    RuntimeError: Timeout waiting for subprocess\r\n    ```\r\n\r\n* What is the behavior/output you expect?\r\n    No console output and generated stubs in `out/`.\r\n\r\n* What are the versions of mypy and Python you are using?\r\n  * Python v3.8.2\r\n  * mypy 0.782\r\n\r\n* Do you see the same issue after installing mypy from Git master?\r\nYes:\r\n    ```\r\n    Traceback (most recent call last):\r\n    File \"./venv/bin/stubgen\", line 33, in \u003cmodule>\r\n        sys.exit(load_entry_point('mypy', 'console_scripts', 'stubgen')())\r\n    File \"/Users/simon/work/locust-test/mypy/mypy/stubgen.py\", line 1564, in main\r\n        generate_stubs(options)\r\n    File \"/Users/simon/work/locust-test/mypy/mypy/stubgen.py\", line 1422, in generate_stubs\r\n        py_modules, c_modules = collect_build_targets(options, mypy_opts)\r\n    File \"/Users/simon/work/locust-test/mypy/mypy/stubgen.py\", line 1183, in collect_build_targets\r\n        py_modules, c_modules = find_module_paths_using_imports(options.modules,\r\n    File \"/Users/simon/work/locust-test/mypy/mypy/stubgen.py\", line 1217, in find_module_paths_using_imports\r\n        found = list(walk_packages(inspect, packages, verbose))\r\n    File \"/Users/simon/work/locust-test/mypy/mypy/stubutil.py\", line 62, in walk_packages\r\n        prop = inspect.get_package_properties(package_name)\r\n    File \"/Users/simon/work/locust-test/mypy/mypy/moduleinspect.py\", line 137, in get_package_properties\r\n        res = self._get_from_queue()\r\n    File \"/Users/simon/work/locust-test/mypy/mypy/moduleinspect.py\", line 163, in _get_from_queue\r\n        raise RuntimeError('Timeout waiting for subprocess')\r\n    RuntimeError: Timeout waiting for subprocess\r\n    ```\r\n","author":{"url":"https://github.com/ska-kialo","@type":"Person","name":"ska-kialo"},"datePublished":"2020-07-06T14:36:31Z","url":"https://github.com/python/mypy/issues/9103"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:35a0f045-663a-d556-4466-abc3d7a29133
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id952A:1C9EFF:7638A:A60DC:6B004ECB
html-safe-nonce5dea3f9aa40f00f4e1294bc84a7885b7a4f16c889c48e8ee8a3640ef3ee28adc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTJBOjFDOUVGRjo3NjM4QTpBNjBEQzo2QjAwNEVDQiIsInZpc2l0b3JfaWQiOiI5MjA1OTU2NDE4NzExMDgwNjUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace5ea45e5df0fac60b52b6c6465bc68439ebeae926d7d07521357054d820cf559
hovercard-subject-tagissue:651591243
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/9103/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7d848a6c84ebb3537b1fe8b743c773931838fba14bcd038808541679bc5411a6/python/mypy/issues/9103
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d848a6c84ebb3537b1fe8b743c773931838fba14bcd038808541679bc5411a6/python/mypy/issues/9103
og:image:altHi, I'm trying to generate type stubs for Locust and stubgen fails with a timeout (see details below). I was wondering if someone has any insight into what causes this or how to fix it. Please prov...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameska-kialo
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
turbo-cache-controlno-preview
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/9103#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F9103
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F9103
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/9103
Reloadhttps://github.com/python/mypy/issues/9103
Reloadhttps://github.com/python/mypy/issues/9103
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/9103
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/9103
Stubgen fails with timeout for locusthttps://github.com/python/mypy/issues/9103#top
topic-stubgenhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-stubgen%22
https://github.com/ska-kialo
ska-kialohttps://github.com/ska-kialo
on Jul 6, 2020https://github.com/python/mypy/issues/9103#issue-651591243
Locusthttps://locust.io/
https://github.com/hoefling
hoeflinghttps://github.com/hoefling
on Aug 1, 2020https://github.com/python/mypy/issues/9103#issuecomment-667524094
JelleZijlstrahttps://github.com/JelleZijlstra
topic-stubgenhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-stubgen%22
on Jul 26, 2021https://github.com/python/mypy/issues/9103#event-5068799518
https://github.com/Avasam
Avasamhttps://github.com/Avasam
on Sep 7, 2022https://github.com/python/mypy/issues/9103#issuecomment-1240019618
https://github.com/ben9923
ben9923https://github.com/ben9923
on Sep 11, 2022https://github.com/python/mypy/issues/9103#issuecomment-1242827172
#13109https://github.com/python/mypy/pull/13109
@Avasamhttps://github.com/Avasam
https://github.com/Avasam
Avasamhttps://github.com/Avasam
on Sep 11, 2022https://github.com/python/mypy/issues/9103#issuecomment-1243022128
@ben9923https://github.com/ben9923
https://github.com/ben9923
ben9923https://github.com/ben9923
on Sep 12, 2022https://github.com/python/mypy/issues/9103#issuecomment-1243282060
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/Avasam
Avasamhttps://github.com/Avasam
on Sep 12, 2022https://github.com/python/mypy/issues/9103#issuecomment-1243817421
https://github.com/pyinstaller/pyinstaller/blob/develop/PyInstaller/utils/hooks/__init__.py#L1168https://github.com/pyinstaller/pyinstaller/blob/develop/PyInstaller/utils/hooks/__init__.py#L1168
https://github.com/ben9923
ben9923https://github.com/ben9923
on Sep 12, 2022https://github.com/python/mypy/issues/9103#issuecomment-1244163737
https://github.com/Avasam
Avasamhttps://github.com/Avasam
on Sep 23, 2023https://github.com/python/mypy/issues/9103#issuecomment-1732213444
pyinstaller/pyinstaller#7943https://github.com/pyinstaller/pyinstaller/pull/7943
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/9103
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/9103
topic-stubgenhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-stubgen%22
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.