Title: Run stubtest under different OS environments · Issue #8660 · python/typeshed · GitHub
Open Graph Title: Run stubtest under different OS environments · Issue #8660 · python/typeshed
X Title: Run stubtest under different OS environments · Issue #8660 · python/typeshed
Description: This is an issue I'm having while adding D3DShot #8652, PyAutoGUI #8654 and pywin32 stubs. Some modules are highly dependent on the OS, and as such, I have to add them to the stubtest_allowlist, even though I can run it just fine locally...
Open Graph Description: This is an issue I'm having while adding D3DShot #8652, PyAutoGUI #8654 and pywin32 stubs. Some modules are highly dependent on the OS, and as such, I have to add them to the stubtest_allowlist, ev...
X Description: This is an issue I'm having while adding D3DShot #8652, PyAutoGUI #8654 and pywin32 stubs. Some modules are highly dependent on the OS, and as such, I have to add them to the stubtest_allowlist...
Opengraph URL: https://github.com/python/typeshed/issues/8660
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Run stubtest under different OS environments","articleBody":"This is an issue I'm having while adding D3DShot #8652, ~~PyAutoGUI #8654~~ and pywin32 stubs. Some modules are highly dependent on the OS, and as such, I have to add them to the `stubtest_allowlist`, even though I can run it just fine locally.\r\n\r\nFor this reason, and to help with stub completeness (#8481), I suggest that stubtest should ~~by default be run under Windows, Linux and Darwin (just like mypy and pyright already are)~~ be configurable to run under Windows and/or Linux and/or Darwin.\r\n\r\nThis also means we should be able to specify the OS in stubtest_allowlist. Whether it's by having a specific file (`stubtest_allowlist.linux.txt`), prefixing the line (`linux:pyautogui._pyautogui_osx`) or any other proposals.","author":{"url":"https://github.com/Avasam","@type":"Person","name":"Avasam"},"datePublished":"2022-09-01T14:46:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/8660/typeshed/issues/8660"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bdfcafb6-548f-52c2-4ea6-1750f1b0f44b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8620:317CD1:8BECF3:C65C68:6A621451 |
| html-safe-nonce | 15bac93446b98fc0ca21ddf02ad16e0817522755fd2f5cc509ce22f90260b52b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjIwOjMxN0NEMTo4QkVDRjM6QzY1QzY4OjZBNjIxNDUxIiwidmlzaXRvcl9pZCI6IjgwNjcwNzM5MTIzNDkwMDQ4ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f352b6c264671eeb70df287584babdbca4ba43397d230e060b93be73957b08c7 |
| hovercard-subject-tag | issue:1358969040 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/typeshed/8660/issue_layout |
| twitter:image | https://opengraph.githubassets.com/efeb5844d69c27ae22c5a9fc45a47a839ffa7babaf54e0a44eabbd4f69bfcc62/python/typeshed/issues/8660 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/efeb5844d69c27ae22c5a9fc45a47a839ffa7babaf54e0a44eabbd4f69bfcc62/python/typeshed/issues/8660 |
| og:image:alt | This is an issue I'm having while adding D3DShot #8652, PyAutoGUI #8654 and pywin32 stubs. Some modules are highly dependent on the OS, and as such, I have to add them to the stubtest_allowlist, ev... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Avasam |
| hostname | github.com |
| expected-hostname | github.com |
| None | ccf61cb7ab435725b916ed640f57c45b2c4721db9469bc32656080efc5214b3e |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a7585b3d2ee639495a70ce464d0a18bad88ea12c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width