Title: [BUG] redirect-from sphinx extension is not parallel safe · Issue #24058 · matplotlib/matplotlib · GitHub
Open Graph Title: [BUG] redirect-from sphinx extension is not parallel safe · Issue #24058 · matplotlib/matplotlib
X Title: [BUG] redirect-from sphinx extension is not parallel safe · Issue #24058 · matplotlib/matplotlib
Description: Summary CI builds the docs in parallel since #20718. This doesn't work correctly with redirects: in #24054 it raises Traceback (most recent call last): File "/home/circleci/.local/lib/python3.8/site-packages/sphinx/cmd/build.py", line 27...
Open Graph Description: Summary CI builds the docs in parallel since #20718. This doesn't work correctly with redirects: in #24054 it raises Traceback (most recent call last): File "/home/circleci/.local/lib/python3.8/sit...
X Description: Summary CI builds the docs in parallel since #20718. This doesn't work correctly with redirects: in #24054 it raises Traceback (most recent call last): File "/home/circleci/.local/lib/pyth...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24058
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] redirect-from sphinx extension is not parallel safe","articleBody":"### Summary\r\n\r\nCI builds the docs in parallel since https://github.com/matplotlib/matplotlib/pull/20718.\r\n\r\nThis doesn't work correctly with redirects: in #24054 it raises\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/cmd/build.py\", line 279, in build_main\r\n app.build(args.force_all, filenames)\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/application.py\", line 350, in build\r\n self.builder.build_update()\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/builders/__init__.py\", line 302, in build_update\r\n self.build(to_build,\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/builders/__init__.py\", line 318, in build\r\n updated_docnames = set(self.read())\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/builders/__init__.py\", line 423, in read\r\n self._read_parallel(docnames, nproc=self.app.parallel)\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/builders/__init__.py\", line 479, in _read_parallel\r\n tasks.join()\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/util/parallel.py\", line 105, in join\r\n if not self._join_one():\r\n File \"/home/circleci/.local/lib/python3.8/site-packages/sphinx/util/parallel.py\", line 126, in _join_one\r\n raise SphinxParallelError(*result)\r\nsphinx.errors.SphinxParallelError: ValueError: gallery/pyplots/dollar_ticks is already noted as redirecting to gallery/ticks/dollar_ticks\r\n\r\nSphinx parallel build error:\r\nValueError: gallery/pyplots/dollar_ticks is already noted as redirecting to gallery/ticks/dollar_ticks\r\n```\r\n\r\n(see also #21876)\r\n\r\n### Proposed fix\r\n\r\nRevert afef2e62f9f8f183b895cf1b001ea04365ee3a56.","author":{"url":"https://github.com/StefRe","@type":"Person","name":"StefRe"},"datePublished":"2022-09-30T07:51:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/24058/matplotlib/issues/24058"}
| 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:b22c299d-2b9e-0b8b-2d13-4e8be03c82c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0C0:150794:4E893:6E36F:6A50EDC3 |
| html-safe-nonce | ab496e95656e5fd86e4a429d686c0daf97d556b631c6633db798ec3c46800ce1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEMwOjE1MDc5NDo0RTg5Mzo2RTM2Rjo2QTUwRURDMyIsInZpc2l0b3JfaWQiOiIzNzEwOTczNzE0MDA4OTYwNDUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 97d3e8fcf99f76e062f08be0fbf5b747916fbf7b43ca1eb141a525605976b297 |
| hovercard-subject-tag | issue:1392005207 |
| 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/matplotlib/matplotlib/24058/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af300a128b7c8c21f0cc44db8826c5efd400dd4645f386ef41c2acc30eccbf83/matplotlib/matplotlib/issues/24058 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af300a128b7c8c21f0cc44db8826c5efd400dd4645f386ef41c2acc30eccbf83/matplotlib/matplotlib/issues/24058 |
| og:image:alt | Summary CI builds the docs in parallel since #20718. This doesn't work correctly with redirects: in #24054 it raises Traceback (most recent call last): File "/home/circleci/.local/lib/python3.8/sit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StefRe |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 5ec60191a48933536a90c8a19f47142fcd0d4739 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width