Title: mypy 1.4.0 is not compatible with typing-extensions 3.10 version · Issue #15487 · python/mypy · GitHub
Open Graph Title: mypy 1.4.0 is not compatible with typing-extensions 3.10 version · Issue #15487 · python/mypy
X Title: mypy 1.4.0 is not compatible with typing-extensions 3.10 version · Issue #15487 · python/mypy
Description: Bug Report mypy 1.4.0 is not compatible with typing-extensions 3.10 version. To Reproduce Install mypy 1.4.0 on an environment where typing_extensions library has a 3.10 version Python version is used 3.11 pip3 show typing_extensions Nam...
Open Graph Description: Bug Report mypy 1.4.0 is not compatible with typing-extensions 3.10 version. To Reproduce Install mypy 1.4.0 on an environment where typing_extensions library has a 3.10 version Python version is u...
X Description: Bug Report mypy 1.4.0 is not compatible with typing-extensions 3.10 version. To Reproduce Install mypy 1.4.0 on an environment where typing_extensions library has a 3.10 version Python version is u...
Opengraph URL: https://github.com/python/mypy/issues/15487
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" mypy 1.4.0 is not compatible with typing-extensions 3.10 version","articleBody":"\r\n**Bug Report**\r\n\r\nmypy 1.4.0 is not compatible with typing-extensions 3.10 version. \r\n\r\n**To Reproduce**\r\nInstall mypy 1.4.0 on an environment where typing_extensions library has a 3.10 version \r\nPython version is used 3.11\r\n```\r\n pip3 show typing_extensions \r\nName: typing-extensions\r\nVersion: 3.10.0.2\r\nSummary: Backported and Experimental Type Hints for Python 3.5+\r\nHome-page: https://github.com/python/typing/blob/master/typing_extensions/README.rst\r\nAuthor: Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee\r\nAuthor-email: levkivskyi@gmail.com\r\nLicense: PSF\r\nLocation: /usr/local/lib/python3.11/site-packages\r\nRequires: \r\nRequired-by: mypy\r\n\r\n```\r\n\r\n```\r\npip3 list | grep mypy\r\nmypy 1.4.0\r\nmypy-extensions 1.0.0\r\n\r\n```\r\n\r\nrun \r\n`mypy .`\r\n**Expected Behavior**\r\n\r\nmypy starts and runs the analysis \r\n\r\n**Actual Behavior**\r\n```\r\nmypy . \r\nTraceback (most recent call last):\r\n File \"/usr/local/bin/mypy\", line 5, in \u003cmodule>\r\n from mypy.__main__ import console_entry\r\n File \"/usr/local/lib/python3.11/site-packages/mypy/__main__.py\", line 9, in \u003cmodule>\r\n from mypy.main import main, process_options\r\n File \"mypy/main.py\", line 14, in \u003cmodule>\r\n File \"mypy/build.py\", line 47, in \u003cmodule>\r\n File \"mypy/semanal_main.py\", line 35, in \u003cmodule>\r\n File \"mypy/checker.py\", line 27, in \u003cmodule>\r\n File \"mypy/checkexpr.py\", line 13, in \u003cmodule>\r\n File \"mypy/applytype.py\", line 5, in \u003cmodule>\r\n File \"mypy/subtypes.py\", line 8, in \u003cmodule>\r\n File \"mypy/constraints.py\", line 9, in \u003cmodule>\r\n File \"mypy/typeops.py\", line 13, in \u003cmodule>\r\n File \"mypy/copytype.py\", line 5, in \u003cmodule>\r\n File \"mypy/types.py\", line 20, in \u003cmodule>\r\n def f():\r\nImportError: cannot import name 'Self' from 'typing_extensions' (/usr/local/lib/python3.11/site-packages/typing_extensions.py)\r\n\r\n```\r\n**Your Environment**\r\n\r\n- Mypy version used: 1.4.0.\r\n- Mypy command-line flags: none\r\n- Mypy configuration options from `mypy.ini` (and other config files): none\r\n- Python version used: Python 3.11.4 (main, Jun 15 2023, 07:29:58) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin\r\n\r\n","author":{"url":"https://github.com/olgasentemova","@type":"Person","name":"olgasentemova"},"datePublished":"2023-06-21T12:20:45Z","url":"https://github.com/python/mypy/issues/15487"}
| 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:a962c9c9-41da-76a9-e36c-7b1aafa3e195 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB12:2F0104:1FE7C8D:2A5FF18:6B004E36 |
| html-safe-nonce | f2cea2576fa318ab9a7c94da364ba943e11297c078b69432a17eea372490ea09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjEyOjJGMDEwNDoxRkU3QzhEOjJBNUZGMTg6NkIwMDRFMzYiLCJ2aXNpdG9yX2lkIjoiOTEwODkyMjY0OTI0OTA3NDc0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 15dca1260f36fca7518a24301acba963404c01ee8206bb302dab0d44ce249776 |
| hovercard-subject-tag | issue:1767477957 |
| 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/15487/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a681dc65e1ba7dd8d538a1a8412f054d0b0b4c5022f8ee6174764b2a05871747/python/mypy/issues/15487 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a681dc65e1ba7dd8d538a1a8412f054d0b0b4c5022f8ee6174764b2a05871747/python/mypy/issues/15487 |
| og:image:alt | Bug Report mypy 1.4.0 is not compatible with typing-extensions 3.10 version. To Reproduce Install mypy 1.4.0 on an environment where typing_extensions library has a 3.10 version Python version is u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | olgasentemova |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| 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 | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width