Title: types-setuptools 71.1.0.20240726 fails to typecheck with pyright · Issue #12436 · python/typeshed · GitHub
Open Graph Title: types-setuptools 71.1.0.20240726 fails to typecheck with pyright · Issue #12436 · python/typeshed
X Title: types-setuptools 71.1.0.20240726 fails to typecheck with pyright · Issue #12436 · python/typeshed
Description: after upgrading, i get: error: Type of "setup" is partially unknown Type of "setup" is "(*, name: str = ..., version: str = ..., description: str = ..., long_description: str = ..., long_description_content_type: str = ..., author: str =...
Open Graph Description: after upgrading, i get: error: Type of "setup" is partially unknown Type of "setup" is "(*, name: str = ..., version: str = ..., description: str = ..., long_description: str = ..., long_descriptio...
X Description: after upgrading, i get: error: Type of "setup" is partially unknown Type of "setup" is "(*, name: str = ..., version: str = ..., description: str = ..., long_description: s...
Opengraph URL: https://github.com/python/typeshed/issues/12436
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"types-setuptools 71.1.0.20240726 fails to typecheck with pyright","articleBody":"after upgrading, i get: \r\n```\r\nerror: Type of \"setup\" is partially unknown\r\n Type of \"setup\" is \"(*, name: str = ..., version: str = ..., description: str = ..., long_description: str = ..., long_description_content_type: str = ..., author: str = ..., author_email: str = ..., maintainer: str = ..., maintainer_email: str = ..., url: str = ..., download_url: str = ..., packages: list[str] = ..., py_modules: list[str] = ..., scripts: list[str] = ..., ext_modules: Sequence[Extension] = ..., classifiers: list[str] = ..., distclass: type[Distribution] = ..., script_name: str = ..., script_args: list[str] = ..., options: Mapping[str, Any] = ..., license: str = ..., keywords: list[str] | str = ..., platforms: list[str] | str = ..., cmdclass: Mapping[str, type[Command]] = ..., data_files: list[tuple[str, list[str]]] = ..., package_dir: Mapping[str, str] = ..., obsoletes: list[str] = ..., provides: list[str] = ..., requires: list[str] = ..., command_packages: list[str] = ..., command_options: Mapping[str, Mapping[str, tuple[Any, Any]]] = ..., package_data: Mapping[str, list[str]] = ..., include_package_data: bool = ..., libraries: list[str] = ..., headers: list[str] = ..., ext_package: str = ..., include_dirs: list[str] = ..., password: str = ..., fullname: str = ..., **attrs: Unknown) -> Distribution\" (reportUnknownVariableType)\r\n```\r\n\r\nthis appears to be due to #12406, which removed the `Any` annotation from `**attrs` with no replacement, which pyright interprets as `Unknown`.","author":{"url":"https://github.com/doy-materialize","@type":"Person","name":"doy-materialize"},"datePublished":"2024-07-26T16:04:08Z","url":"https://github.com/python/typeshed/issues/12436"}
| 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:05c4e750-bae7-1bf9-d76c-9d77952f9351 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D82C:3FDF0C:9C8FCF:D08713:6B00431C |
| html-safe-nonce | 204e52dc9f667719a81cb38d6db5dc4e12777149052c71af92d8348fc14479cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODJDOjNGREYwQzo5QzhGQ0Y6RDA4NzEzOjZCMDA0MzFDIiwidmlzaXRvcl9pZCI6IjY2MzUzOTU1MDk2ODUwNzY3NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d94ce82a035a97d6dcb4ee64a0a60791d869bb33d136bdf5692d276f108ad2a0 |
| hovercard-subject-tag | issue:2432534143 |
| 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/12436/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb39c285fbe407d492970bc9dc3a9be4291c31491549b92627d6edbb270e4c5d/python/typeshed/issues/12436 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb39c285fbe407d492970bc9dc3a9be4291c31491549b92627d6edbb270e4c5d/python/typeshed/issues/12436 |
| og:image:alt | after upgrading, i get: error: Type of "setup" is partially unknown Type of "setup" is "(*, name: str = ..., version: str = ..., description: str = ..., long_description: str = ..., long_descriptio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | doy-materialize |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width