Title: 1.7.0: Cannot find implementation or library stub for module named "scribe" · Issue #16466 · python/mypy · GitHub
Open Graph Title: 1.7.0: Cannot find implementation or library stub for module named "scribe" · Issue #16466 · python/mypy
X Title: 1.7.0: Cannot find implementation or library stub for module named "scribe" · Issue #16466 · python/mypy
Description: While updating mypy package for OpenIndiana from version 1.6.1 to version 1.7.0 I noticed two new test failures: ___________________ testIgnoreImportIfNoPython3StubAvailable ___________________ data: $(BUILD_DIR)/test-data/unit/pythoneva...
Open Graph Description: While updating mypy package for OpenIndiana from version 1.6.1 to version 1.7.0 I noticed two new test failures: ___________________ testIgnoreImportIfNoPython3StubAvailable ___________________ dat...
X Description: While updating mypy package for OpenIndiana from version 1.6.1 to version 1.7.0 I noticed two new test failures: ___________________ testIgnoreImportIfNoPython3StubAvailable ___________________ dat...
Opengraph URL: https://github.com/python/mypy/issues/16466
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"1.7.0: Cannot find implementation or library stub for module named \"scribe\"","articleBody":"While updating mypy package for OpenIndiana from version 1.6.1 to version 1.7.0 I noticed two new test failures:\r\n```\r\n___________________ testIgnoreImportIfNoPython3StubAvailable ___________________\r\ndata: $(BUILD_DIR)/test-data/unit/pythoneval.test:1567:\r\nFailed: Invalid output ($(BUILD_DIR)/test-data/unit/pythoneval.test, line 1567)\r\n----------------------------- Captured stderr call -----------------------------\r\nExpected:\r\n _testIgnoreImportIfNoPython3StubAvailable.py:4: error: Library stubs not installed for \"docutils\" (diff)\r\n _testIgnoreImportIfNoPython3StubAvailable.py:4: note: Hint: \"python3 -m pip install types-docutils\" (diff)\r\n _testIgnoreImportIfNoPython3StubAvailable.py:4: note: (or run \"mypy --install-types\" to install all missing stub packages) (diff)\r\n _testIgnoreImportIfNoPython3StubAvailable.py:4: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)\r\nActual:\r\n Traceback (most recent call last): (diff)\r\n File \"/tmp/mypy-test-46a1te1g/tmp/_testIgnoreImportIfNoPython3StubAvailable.py\", line 2, in \u003cmodule> (diff)\r\n import scribe # No Python 3 stubs available for scribe (diff)\r\n ModuleNotFoundError: No module named 'scribe' (diff)\r\n\r\nAlignment of first line difference:\r\n E: _testIgnoreImportIfNoPython3StubAvailable.py:4: error: Library stubs not...\r\n A: Traceback (most recent call last):...\r\n ^\r\nUpdate the test output using --update-data -n0 (you can additionally use the -k selector to update only specific tests)\r\n__________________________ testNoPython3StubAvailable __________________________\r\ndata: $(BUILD_DIR)/test-data/unit/pythoneval.test:1580:\r\nFailed: Invalid output ($(BUILD_DIR)/test-data/unit/pythoneval.test, line 1580)\r\n----------------------------- Captured stderr call -----------------------------\r\nExpected:\r\n _testNoPython3StubAvailable.py:1: error: Cannot find implementation or library stub for module named \"scribe\"\r\n _testNoPython3StubAvailable.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports\r\n _testNoPython3StubAvailable.py:3: error: Library stubs not installed for \"docutils\" (diff)\r\n _testNoPython3StubAvailable.py:3: note: Hint: \"python3 -m pip install types-docutils\" (diff)\r\n _testNoPython3StubAvailable.py:3: note: (or run \"mypy --install-types\" to install all missing stub packages) (diff)\r\nActual:\r\n _testNoPython3StubAvailable.py:1: error: Cannot find implementation or library stub for module named \"scribe\"\r\n _testNoPython3StubAvailable.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports\r\n\r\nUpdate the test output using --update-data -n0 (you can additionally use the -k selector to update only specific tests)\r\n```","author":{"url":"https://github.com/mtelka","@type":"Person","name":"mtelka"},"datePublished":"2023-11-11T21:42:08Z","url":"https://github.com/python/mypy/issues/16466"}
| 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:7e2a164e-6827-1fe4-d523-edcdffb06a94 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE44:2148FB:2373A81:3038B61:6B002D88 |
| html-safe-nonce | cc3c6fea3382ff71d3137f0eb245a184a66d47b0277d58b298dd0b0cc19c96b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTQ0OjIxNDhGQjoyMzczQTgxOjMwMzhCNjE6NkIwMDJEODgiLCJ2aXNpdG9yX2lkIjoiMzg1MzI2Njk1OTc4OTQ2OTA2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe00bc91b98ab2f8edb2012a9393727048be1ae4487a761e843030d39ae926db |
| hovercard-subject-tag | issue:1989128502 |
| 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/16466/issue_layout |
| twitter:image | https://opengraph.githubassets.com/899efe8034f7fef2f619b85864993039ed42a93272ace0200312d4dfef7c1b07/python/mypy/issues/16466 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/899efe8034f7fef2f619b85864993039ed42a93272ace0200312d4dfef7c1b07/python/mypy/issues/16466 |
| og:image:alt | While updating mypy package for OpenIndiana from version 1.6.1 to version 1.7.0 I noticed two new test failures: ___________________ testIgnoreImportIfNoPython3StubAvailable ___________________ dat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mtelka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width