Title: The current CONTRIBUTING.md is missing initialization of Git Submodule `cpython` · Issue #1129 · python/python-docs-el · GitHub
Open Graph Title: The current CONTRIBUTING.md is missing initialization of Git Submodule `cpython` · Issue #1129 · python/python-docs-el
X Title: The current CONTRIBUTING.md is missing initialization of Git Submodule `cpython` · Issue #1129 · python/python-docs-el
Description: /type documentation Which area/kind this task is related to? /type documentation Task Description The current Contributing.md is missing a critical step for local environment setup, leading to build failures. Specifically, when following...
Open Graph Description: /type documentation Which area/kind this task is related to? /type documentation Task Description The current Contributing.md is missing a critical step for local environment setup, leading to buil...
X Description: /type documentation Which area/kind this task is related to? /type documentation Task Description The current Contributing.md is missing a critical step for local environment setup, leading to buil...
Opengraph URL: https://github.com/python/python-docs-el/issues/1129
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The current CONTRIBUTING.md is missing initialization of Git Submodule `cpython`","articleBody":"/type documentation\n\n## Which area/kind this task is related to?\n\n/type documentation\n\n## Task Description\n\nThe current Contributing.md is missing a critical step for local environment setup, leading to build failures. Specifically, when following the current instructions, the `cpython` directory remains empty because it is a Git Submodule that is not initialized by default.\n\nThis causes `pip install -r requirements.txt` to fail since it cannot find the referenced file `-r cpython/Doc/requirements.txt`.\n\nlogs:\n```txt\nERROR: Could not open requirements file: [Errno 2] No such file or directory: '/github/python-docs-el/cpython/Doc/requirements.txt'\n```\n\n**Proposed Changes:**\n\n#### **Option 1: Remote Requirements**\nIf we only need the dependency list without the full CPython source code, we can point `pip` directly to the official raw file.\n\nUpdate the first line of `requirements.txt` to:\n```text\n-r https://raw.githubusercontent.com/python/cpython/3.14/Doc/requirements.txt\n```\n\n#### **Option 2: Shallow Submodule Update**\nIf we prefer to keep the submodule for strict version locking (at commit afaa3b0), we should use a shallow clone. This downloads only the current files (~100MB) instead of the entire history.\n\nUpdate the `CONTRIBUTING.md` to submodule initialization to:\n\n```text\ngit submodule update --init --recursive --depth 1\n```\n","author":{"url":"https://github.com/leftkats","@type":"Person","name":"leftkats"},"datePublished":"2026-01-21T20:26:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1129/python-docs-el/issues/1129"}
| 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:dfe80868-b86d-a2f3-9b81-3be76fdb0290 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E276:1659BC:1580BD8:1E64C3B:69723C0B |
| html-safe-nonce | 495b192e1117aa470f5f2bee90009bcf4224e152ba42903aa674e409e7029920 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjc2OjE2NTlCQzoxNTgwQkQ4OjFFNjRDM0I6Njk3MjNDMEIiLCJ2aXNpdG9yX2lkIjoiNDM0MDE4NDY0OTAzNjg3MjcxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45e17a00e18ae6fbbb5da71a699148e507d73bf2914ded534f9e441e59c66d1d |
| hovercard-subject-tag | issue:3839902723 |
| 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/python-docs-el/1129/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9f87d2e613ead5bc60891db721f5f96f7a0b2677ba650a832f7de10d6c7a645/python/python-docs-el/issues/1129 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9f87d2e613ead5bc60891db721f5f96f7a0b2677ba650a832f7de10d6c7a645/python/python-docs-el/issues/1129 |
| og:image:alt | /type documentation Which area/kind this task is related to? /type documentation Task Description The current Contributing.md is missing a critical step for local environment setup, leading to buil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | leftkats |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3272b1e540db48cb02dab38469e01f8bc1d0ec4984ec870db3829659e109d2e3 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/python-docs-el git https://github.com/python/python-docs-el.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 772031619 |
| octolytics-dimension-repository_nwo | python/python-docs-el |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 772031619 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-el |
| 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 | 0d362c8696f774bd4bde925e900be46408550b5d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width