Title: stubsabot: find_first_release_with_py_typed() doesn't work when only the latest release has py.typed · Issue #9759 · python/typeshed · GitHub
Open Graph Title: stubsabot: find_first_release_with_py_typed() doesn't work when only the latest release has py.typed · Issue #9759 · python/typeshed
X Title: stubsabot: find_first_release_with_py_typed() doesn't work when only the latest release has py.typed · Issue #9759 · python/typeshed
Description: typeshed/scripts/stubsabot.py Lines 173 to 180 in da9366d async def find_first_release_with_py_typed(pypi_info: PypiInfo, *, session: aiohttp.ClientSession) -> PypiReleaseDownload | None: release_iter = pypi_info.releases_in_descending_o...
Open Graph Description: typeshed/scripts/stubsabot.py Lines 173 to 180 in da9366d async def find_first_release_with_py_typed(pypi_info: PypiInfo, *, session: aiohttp.ClientSession) -> PypiReleaseDownload | None: release_i...
X Description: typeshed/scripts/stubsabot.py Lines 173 to 180 in da9366d async def find_first_release_with_py_typed(pypi_info: PypiInfo, *, session: aiohttp.ClientSession) -> PypiReleaseDownload | None: releas...
Opengraph URL: https://github.com/python/typeshed/issues/9759
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"stubsabot: find_first_release_with_py_typed() doesn't work when only the latest release has py.typed","articleBody":"https://github.com/python/typeshed/blob/da9366d0163bb65817216bba13ec4538f0a6e6c0/scripts/stubsabot.py#L173-L180\r\n\r\nThis function returns `None` if the latest release has `py.typed` and other releases don't. This is because the first `next(release_iter)` consumes the first release and essentially hides it from the rest of this function.\r\n\r\nBroken in #9754","author":{"url":"https://github.com/Akuli","@type":"Person","name":"Akuli"},"datePublished":"2023-02-19T12:16:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/9759/typeshed/issues/9759"}
| 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:a3e600fa-3250-d853-ae10-bb81e95cfdc5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C588:CDD22:B6B567:F5AF6E:6A6194FE |
| html-safe-nonce | 9d5b8686fe8d5e255477a0def909dd00096bc19a385fe475273f40c31bae5b36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTg4OkNERDIyOkI2QjU2NzpGNUFGNkU6NkE2MTk0RkUiLCJ2aXNpdG9yX2lkIjoiODU5NTc1NTY1MzE1NTM2MjA0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 662e6c9f95116110c6dc78bf4435a44e1c2478ea182e3b3f3830e37e6fb82f36 |
| hovercard-subject-tag | issue:1590666704 |
| 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/9759/issue_layout |
| twitter:image | https://opengraph.githubassets.com/75a152b07de967d12381ab483561711589aec928fb22d277988ebcca866b5030/python/typeshed/issues/9759 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/75a152b07de967d12381ab483561711589aec928fb22d277988ebcca866b5030/python/typeshed/issues/9759 |
| og:image:alt | typeshed/scripts/stubsabot.py Lines 173 to 180 in da9366d async def find_first_release_with_py_typed(pypi_info: PypiInfo, *, session: aiohttp.ClientSession) -> PypiReleaseDownload | None: release_i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Akuli |
| hostname | github.com |
| expected-hostname | github.com |
| None | c28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c |
| 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 | cd05235d52ffb3318513d883a56c87a121015c8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width