Title: types-protobuf fails pre-commit cache · Issue #11254 · python/typeshed · GitHub
Open Graph Title: types-protobuf fails pre-commit cache · Issue #11254 · python/typeshed
X Title: types-protobuf fails pre-commit cache · Issue #11254 · python/typeshed
Description: when configuring pre-commit mypy to run with types-protobuf, for example: - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.8.0 hooks: - id: mypy additional_dependencies: - types-protobuf it fails with the following: mypy..........
Open Graph Description: when configuring pre-commit mypy to run with types-protobuf, for example: - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.8.0 hooks: - id: mypy additional_dependencies: - types-protobuf ...
X Description: when configuring pre-commit mypy to run with types-protobuf, for example: - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.8.0 hooks: - id: mypy additional_dependencies: - types-protobuf ...
Opengraph URL: https://github.com/python/typeshed/issues/11254
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"types-protobuf fails pre-commit cache","articleBody":"when configuring pre-commit mypy to run with `types-protobuf`, for example:\r\n```\r\n - repo: https://github.com/pre-commit/mirrors-mypy\r\n rev: v1.8.0\r\n hooks:\r\n - id: mypy\r\n additional_dependencies:\r\n - types-protobuf\r\n```\r\n\r\n\r\nit fails with the following:\r\n\r\n```\r\nmypy.....................................................................Failed\r\n- hook id: mypy\r\n- exit code: 2\r\n\r\nmypy: can't read file '/home/runner/.cache/pre-commit/repoem44ysms/py_env-python3.10/lib/python3.10/site-packages//google': No such file or directory\r\n```\r\n\r\ni suspect its related to https://github.com/python/typeshed/pull/11249, but not sure - @AlexWaygood @hauntsaninja i would appreciate your insights here","author":{"url":"https://github.com/Itay4","@type":"Person","name":"Itay4"},"datePublished":"2024-01-07T08:51:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/11254/typeshed/issues/11254"}
| 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:dc6ed92d-93d6-3d37-c166-54cf263f98f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC86:E2378:3414839:4744A16:6A4F0E8D |
| html-safe-nonce | 3d5af4325aec82f885ffb2fe28f3bb9c8e21643a6226c75b0cd725d0e0f936e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzg2OkUyMzc4OjM0MTQ4Mzk6NDc0NEExNjo2QTRGMEU4RCIsInZpc2l0b3JfaWQiOiIxMzkyMzY3OTYwMzY2OTc2NjUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0154f6a2776c56dab33e893f7a8bf5fc37bc8ac5d5f0ce0abb7e0af3ef412d61 |
| hovercard-subject-tag | issue:2069046063 |
| 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/11254/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9f2c310008b41f65c3c52d45b5525b0167f59f76fccd47b463c271102fbf5bdf/python/typeshed/issues/11254 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9f2c310008b41f65c3c52d45b5525b0167f59f76fccd47b463c271102fbf5bdf/python/typeshed/issues/11254 |
| og:image:alt | when configuring pre-commit mypy to run with types-protobuf, for example: - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.8.0 hooks: - id: mypy additional_dependencies: - types-protobuf ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Itay4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width