Title: Rethink how we package typeshed · Issue #5307 · python/mypy · GitHub
Open Graph Title: Rethink how we package typeshed · Issue #5307 · python/mypy
X Title: Rethink how we package typeshed · Issue #5307 · python/mypy
Description: Currently, we have a rather complicated method of finding data files. The current method we use to distribute typeshed is ripe for issues with finding the files. I think we should stop playing whack-a-mole with issues and ship typeshed d...
Open Graph Description: Currently, we have a rather complicated method of finding data files. The current method we use to distribute typeshed is ripe for issues with finding the files. I think we should stop playing whac...
X Description: Currently, we have a rather complicated method of finding data files. The current method we use to distribute typeshed is ripe for issues with finding the files. I think we should stop playing whac...
Opengraph URL: https://github.com/python/mypy/issues/5307
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rethink how we package typeshed","articleBody":"Currently, we have a rather complicated method of finding data files. The current method we use to distribute typeshed is [ripe](https://github.com/python/mypy/issues/5300) [for](https://github.com/python/mypy/issues/5121) [issues](https://github.com/python/mypy/issues/5022) [with](https://github.com/python/mypy/issues/4852) [finding](https://github.com/python/mypy/issues/3988) [the](https://github.com/python/mypy/issues/3761) [files](https://github.com/python/mypy/issues/3211).\r\n\r\nI think we should stop playing whack-a-mole with issues and ship typeshed differently. Here are two ideas:\r\n\r\n1. Ship typeshed as a subpackage of mypy, while still keeping it a module. I originally proposed this in https://github.com/python/mypy/issues/4143 but was hung up on the symlinks in typeshed (which no longer exist). This would involve:\r\n - moving the submodule into the mypy package.\r\n - updating setup.py to use package_data\r\n - adding these files to MANIFEST.in to be picked up in sdists\r\n2. Release typeshed as its own package and pin to a particular version. This was attempted in https://github.com/python/typeshed/pull/2025 but it was abandoned.\r\n\r\nI have no particular preference for one over the other, but I think both are better than the current method.","author":{"url":"https://github.com/emmatyping","@type":"Person","name":"emmatyping"},"datePublished":"2018-07-03T00:21:19Z","url":"https://github.com/python/mypy/issues/5307"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d5b9810f-41fe-3c0d-c23b-1679edec02d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99C4:7F150:19A8FE2:21F82BC:6B0024E5 |
| html-safe-nonce | aa4e83fde1754277e3f0569f1a84eb1a430396bfb44c84d609f8256e17c83050 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUM0OjdGMTUwOjE5QThGRTI6MjFGODJCQzo2QjAwMjRFNSIsInZpc2l0b3JfaWQiOiIxODU1MTU3NTE1NTIwNTgyODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e27ddaf241133d1fa46c7ffdd939f92da9eef79c8bfb453200edbbd9bd0fe643 |
| hovercard-subject-tag | issue:337704467 |
| 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/mypy/5307/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78116ee06911bf99895757f012254d877162aee78acc9f03496c386bd20448d9/python/mypy/issues/5307 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78116ee06911bf99895757f012254d877162aee78acc9f03496c386bd20448d9/python/mypy/issues/5307 |
| og:image:alt | Currently, we have a rather complicated method of finding data files. The current method we use to distribute typeshed is ripe for issues with finding the files. I think we should stop playing whac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | emmatyping |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width