Title: Bug related to the RustPython `rich` vendor on Windows 11 25H2. · Issue #8341 · RustPython/RustPython · GitHub
Open Graph Title: Bug related to the RustPython `rich` vendor on Windows 11 25H2. · Issue #8341 · RustPython/RustPython
X Title: Bug related to the RustPython `rich` vendor on Windows 11 25H2. · Issue #8341 · RustPython/RustPython
Description: Pillow won't compile because RustPython doesn't have complete C bindings (I know this), but this error is strange because it's not related to compilation—it's a bug related to the vendor-specific version of rich on Windows 11 25H2. I'm u...
Open Graph Description: Pillow won't compile because RustPython doesn't have complete C bindings (I know this), but this error is strange because it's not related to compilation—it's a bug related to the vendor-specific v...
X Description: Pillow won't compile because RustPython doesn't have complete C bindings (I know this), but this error is strange because it's not related to compilation—it's a bug related to the v...
Opengraph URL: https://github.com/RustPython/RustPython/issues/8341
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug related to the RustPython `rich` vendor on Windows 11 25H2.","articleBody":"Pillow won't compile because RustPython doesn't have complete C bindings (I know this), but this error is strange because it's not related to compilation—it's a bug related to the vendor-specific version of `rich` on Windows 11 25H2.\n\nI'm using the latest version from the `main` branch.\n\n```yaml\nC:\\Windows\\System32\u003epip install pillow\nCollecting pillow\n Downloading pillow-12.3.0.tar.gz (47.0 MB)\nERROR: Exception:---------------------------- 0.0/47.0 MB ? eta -:--:--\nTraceback (most recent call last):\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\cli\\progress_bars.py\", line 69, in _rich_download_progress_bar\n for chunk in iterable:\n ^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\network\\utils.py\", line 65, in response_chunks\n for chunk in response.raw.stream(\n ~~~~~~~~~~~~~~~~~~~^\n chunk_size,\n ^^^^^^^^^^^\n ...\u003c22 lines\u003e...\n decode_content=False,\n ^^^^^^^^^^^^^^^^^^^^^\n ):\n ^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\urllib3\\response.py\", line 1251, in stream\n data = self.read(amt=amt, decode_content=decode_content)\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\urllib3\\response.py\", line 1106, in read\n data = self._raw_read(amt)\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\urllib3\\response.py\", line 1022, in _raw_read\n data = self._fp_read(amt, read1=read1) if not fp_closed else b\"\"\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\urllib3\\response.py\", line 1005, in _fp_read\n return self._fp.read(amt) if amt is not None else self._fp.read()\n ~~~~~~~~~~~~~^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\cachecontrol\\filewrapper.py\", line 100, in read\n data: bytes = self.__fp.read(amt)\n ~~~~~~~~~~~~~~^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\git\\checkouts\\rustpython-63090cdce5e18442\\cc30cd5\\Lib\\http\\client.py\", line 484, in read\n s = self.fp.read(amt)\n File \"C:\\Users\\Vinícius\\.cargo\\git\\checkouts\\rustpython-63090cdce5e18442\\cc30cd5\\Lib\\socket.py\", line 729, in readinto\n return self._sock.recv_into(b)\n ~~~~~~~~~~~~~~~~~~~~^^^\n File \"C:\\Users\\Vinícius\\.cargo\\git\\checkouts\\rustpython-63090cdce5e18442\\cc30cd5\\Lib\\ssl.py\", line 1304, in recv_into\n return self.read(nbytes, buffer)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\git\\checkouts\\rustpython-63090cdce5e18442\\cc30cd5\\Lib\\ssl.py\", line 1138, in read\n return self._sslobj.read(len, buffer)\nKeyboardInterrupt\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\cli\\base_command.py\", line 109, in _run_wrapper\n status = _inner_run()\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\cli\\base_command.py\", line 102, in _inner_run\n return self.run(options, args)\n ~~~~~~~~^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\cli\\req_command.py\", line 101, in wrapper\n return func(self, options, args)\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\commands\\install.py\", line 479, in run\n requirement_set = resolver.resolve(\n reqs, check_supported_wheels=not options.target_dir\n )\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\resolver.py\", line 99, in resolve\n result = self._result = resolver.resolve(\n ~~~~~~~~~~~~~~~~^\n collected.requirements, max_rounds=limit_how_complex_resolution_can_be\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n )\n ^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\resolvelib\\resolvers\\resolution.py\", line 601, in resolve\n state = resolution.resolve(requirements, max_rounds=max_rounds)\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\resolvelib\\resolvers\\resolution.py\", line 434, in resolve\n self._add_to_criteria(self.state.criteria, r, parent=None)\n ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\resolvelib\\resolvers\\resolution.py\", line 150, in _add_to_criteria\n if not criterion.candidates:\n ^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\resolvelib\\structs.py\", line 194, in __bool__\n return bool(self._sequence)\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\found_candidates.py\", line 165, in __bool__\n self._bool = any(self)\n ~~~^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\found_candidates.py\", line 149, in \u003cgenexpr\u003e\n return (c for c in iterator if id(c) not in self._incompatible_ids)\n ^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\found_candidates.py\", line 39, in _iter_built\n candidate = func()\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\factory.py\", line 182, in _make_candidate_from_link\n base: BaseCandidate | None = self._make_base_candidate_from_link(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n link, template, name, version\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n )\n ^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\factory.py\", line 228, in _make_base_candidate_from_link\n self._link_candidate_cache[link] = LinkCandidate(\n ~~~~~~~~~~~~~^\n link,\n ^^^^^\n ...\u003c3 lines\u003e...\n version=version,\n ^^^^^^^^^^^^^^^^\n )\n ^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\candidates.py\", line 326, in __init__\n super().__init__(\n ~~~~~~~~~~~~~~~~^\n link=link,\n ^^^^^^^^^^\n ...\u003c4 lines\u003e...\n version=version,\n ^^^^^^^^^^^^^^^^\n )\n ^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\candidates.py\", line 168, in __init__\n self.dist = self._prepare()\n ~~~~~~~~~~~~~^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\candidates.py\", line 246, in _prepare\n dist = self._prepare_distribution()\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\resolution\\resolvelib\\candidates.py\", line 337, in _prepare_distribution\n return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\operations\\prepare.py\", line 542, in prepare_linked_requirement\n return self._prepare_linked_requirement(req, parallel_builds)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\operations\\prepare.py\", line 613, in _prepare_linked_requirement\n local_file = unpack_url(\n link,\n ...\u003c4 lines\u003e...\n hashes,\n )\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\operations\\prepare.py\", line 180, in unpack_url\n file = get_http_url(\n link,\n ...\u003c2 lines\u003e...\n hashes=hashes,\n )\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\operations\\prepare.py\", line 121, in get_http_url\n from_path, content_type = download(link, temp_dir.path)\n ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\network\\download.py\", line 193, in __call__\n self._process_response(download, resp)\n ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\network\\download.py\", line 210, in _process_response\n for chunk in chunks:\n ^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_internal\\cli\\progress_bars.py\", line 68, in _rich_download_progress_bar\n with progress:\n ^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\progress.py\", line 1189, in __exit__\n self.stop()\n ~~~~~~~~~^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\progress.py\", line 1175, in stop\n self.live.stop()\n ~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\live.py\", line 162, in stop\n with self.console:\n ^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\console.py\", line 870, in __exit__\n self._exit_buffer()\n ~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\console.py\", line 826, in _exit_buffer\n self._check_buffer()\n ~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\console.py\", line 2038, in _check_buffer\n self._write_buffer()\n ~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\console.py\", line 2074, in _write_buffer\n legacy_windows_render(buffer, LegacyWindowsTerm(self.file))\n ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\_windows_renderer.py\", line 53, in legacy_windows_render\n term.erase_line()\n ~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\_win32_console.py\", line 460, in erase_line\n FillConsoleOutputCharacter(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~^\n self._handle, \" \", length=cells_to_erase, start=start_coordinates\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n )\n ^\n File \"C:\\Users\\Vinícius\\.cargo\\bin\\Lib\\site-packages\\pip\\_vendor\\rich\\_win32_console.py\", line 148, in FillConsoleOutputCharacter\n _FillConsoleOutputCharacterW(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n std_handle,\n ^^^^^^^^^^^\n ...\u003c3 lines\u003e...\n byref(num_written),\n ^^^^^^^^^^^^^^^^^^^\n )\n ^\nTypeError: Unsupported argument type\n```","author":{"url":"https://github.com/CVFA1","@type":"Person","name":"CVFA1"},"datePublished":"2026-07-21T00:58:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8341/RustPython/issues/8341"}
| 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:b8119e6e-054b-e365-ef9b-d9c34ab937f8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAA8:26BD66:733236:A44F8F:6A620E81 |
| html-safe-nonce | 9ca053c478d4e9cb6bce984ca32513fd2acfcd2bde81d5686aa296b592df4c67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUE4OjI2QkQ2Njo3MzMyMzY6QTQ0RjhGOjZBNjIwRTgxIiwidmlzaXRvcl9pZCI6IjgxNjIyNDExMTQ3OTM5NzEzMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c753ef723ca45a17479ae22e99895028d16bfa1ca334840ea29d6b0962feb1cd |
| hovercard-subject-tag | issue:4934337273 |
| 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/RustPython/RustPython/8341/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a8c8bc2d1585b111da282da843f1f7a18519df29b986383aa2c2d2fa2aa6fab/RustPython/RustPython/issues/8341 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a8c8bc2d1585b111da282da843f1f7a18519df29b986383aa2c2d2fa2aa6fab/RustPython/RustPython/issues/8341 |
| og:image:alt | Pillow won't compile because RustPython doesn't have complete C bindings (I know this), but this error is strange because it's not related to compilation—it's a bug related to the vendor-specific v... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CVFA1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | be9a4d9589756e22b427637ffbf1123a96e067050e57f5cec403e3080a650ca4 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 7b5509702f01f876c214a2cbb142690847de0019 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width