Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
271 changes: 75 additions & 196 deletions content/index.md
Original file line number Diff line number Diff line change
@@ -1,196 +1,75 @@
---
title: '{% data variables.product.github %}{% ifversion fpt or ghec %}.com{% endif %} Help Documentation'
featuredLinks:
gettingStarted:
- /get-started/git-basics/set-up-git
- /authentication/connecting-to-github-with-ssh
- /repositories/creating-and-managing-repositories
- /get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
popular:
- /pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
- /authentication
- /copilot/how-tos/get-code-suggestions/get-ide-code-suggestions
- /get-started/git-basics/managing-remote-repositories
- /pages
redirect_from:
- /github
- /articles
- /common-issues-and-questions
- /troubleshooting-common-issues
- /early-access/github/enforcing-best-practices-with-github-policies
- /github/enforcing-best-practices-with-github-policies/index
- /early-access/github/enforcing-best-practices-with-github-policies/about-github-policies
- /github/enforcing-best-practices-with-github-policies/about-github-policies
- /early-access/github/enforcing-best-practices-with-github-policies/constraints
- /github/enforcing-best-practices-with-github-policies/constraints
- /early-access/github/enforcing-best-practices-with-github-policies/contexts
- /github/enforcing-best-practices-with-github-policies/contexts
- /early-access/github/enforcing-best-practices-with-github-policies/expressions
- /github/enforcing-best-practices-with-github-policies/expressions
- /early-access/github/enforcing-best-practices-with-github-policies/getting-started
- /early-access/github/enforcing-best-practices-with-github-policies/github-policies-vision
- /github/enforcing-best-practices-with-github-policies/github-policies-vision
- /early-access/github/enforcing-best-practices-with-github-policies/onboarding
- /github/enforcing-best-practices-with-github-policies/onboarding
- /early-access/github/enforcing-best-practices-with-github-policies/overview
- /github/enforcing-best-practices-with-github-policies/overview
- /early-access/github/enforcing-best-practices-with-github-policies/release-notes
- /github/enforcing-best-practices-with-github-policies/release-notes
- /early-access/github/enforcing-best-practices-with-github-policies/resources
- /github/enforcing-best-practices-with-github-policies/resources
- /early-access/github/enforcing-best-practices-with-github-policies/sharing
- /github/enforcing-best-practices-with-github-policies/sharing
- /early-access/github/enforcing-best-practices-with-github-policies/syntax
- /github/enforcing-best-practices-with-github-policies/syntax
- /site-policy/site-policy-deprecated/github-ae-data-protection-agreement
- /site-policy/site-policy-deprecated/github-ae-product-specific-terms
versions:
fpt: '*'
ghes: '*'
ghec: '*'
children:
- search
- get-started
- enterprise-onboarding
- account-and-profile
- subscriptions-and-notifications
- authentication
- repositories
- admin
- billing
- site-policy
- organizations
- code-security
- pull-requests
- issues
- actions
- copilot
- codespaces
- integrations
- migrations
- packages
- search-github
- apps
- webhooks
- rest
- graphql
- github-cli
- discussions
- sponsors
- communities
- pages
- education
- desktop
- early-access
- support
- video-transcripts
- contributing
- github-models
- nonprofit
childGroups:
- name: Get started
octicon: RocketIcon
children:
- get-started
- migrations
- account-and-profile
- subscriptions-and-notifications
- authentication
- billing
- site-policy
- name: Collaborative coding
octicon: CommentDiscussionIcon
children:
- codespaces
- repositories
- pull-requests
- discussions
- integrations
- name: GitHub Copilot
octicon: CopilotIcon
children:
- copilot
- copilot/get-started/plans
- copilot/how-tos/get-code-suggestions/get-ide-code-suggestions
- copilot/how-tos/use-copilot-agents/coding-agent
- copilot/tutorials
- copilot/tutorials/copilot-chat-cookbook
- copilot/tutorials/customization-library
- name: CI/CD and DevOps
octicon: GearIcon
children:
- actions
- packages
- pages
- name: Security and quality
octicon: ShieldLockIcon
children:
- code-security/how-tos/secure-your-secrets
- code-security/how-tos/secure-your-supply-chain
- code-security/how-tos/scan-code-for-vulnerabilities
- code-security/how-tos/maintain-quality-code
- name: Client apps
octicon: DeviceMobileIcon
children:
- github-cli
- get-started/using-github/github-mobile
- desktop
- name: Project management
octicon: ProjectIcon
children:
- issues
- issues/planning-and-tracking-with-projects
- search-github
- name: Enterprise and teams
octicon: OrganizationIcon
children:
- organizations
- code-security/how-tos/secure-at-scale
- enterprise-onboarding
- admin
- name: Developers
octicon: CodeSquareIcon
children:
- apps
- rest
- graphql
- webhooks
- github-models
- name: Community
octicon: GlobeIcon
children:
- communities
- sponsors
- education
- nonprofit
- support
- contributing
- name: More docs
octicon: PencilIcon
children:
- codeql
- electron
- npm
- gh-wa
externalProducts:
electron:
id: electron
name: Electron
href: 'https://electronjs.org/docs/latest'
external: true
codeql:
id: codeql
name: CodeQL query writing
href: 'https://codeql.github.com/docs'
external: true
npm:
id: npm
name: npm
href: 'https://docs.npmjs.com/'
external: true
gh-wa:
id: gh-wa
name: GitHub Well-Architected
href: 'https://wellarchitected.github.com/'
external: true
---
#**User:** @boomboomtxzzit-coder
**

## @boomboomtxzzit-coder

The failing job log indicates this error:

Version 3.7 was not found in the local cache
Version 3.7 with arch x64 not found

This means the workflow is trying to use Python 3.7, which is not available on the runner.

**Solution:**
1. Change the Python version in your workflow file (likely .github/workflows/django.yml) to a currently supported version, such as 3.8, 3.9, 3.10, or newer.

**Code Suggestion:**
Find this section in your workflow file:
```yaml
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.7
```
Replace with, for example:
```yaml
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.10
```
**Tip:** Visit the available versions manifest linked in the error for all supported Python versions.

After updating, commit and push the workflow change. Your CI should succeed if no other issues exist.

## Copilot

You're right — the runner can't find Python 3.7. Change the workflow to a supported Python version (3.8/3.9/3.10/3.11). Suggested minimal change:

Replace this:
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.7

With, for example:
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.10

(You can also set 3.11 if your code supports it, or use a matrix to test multiple versions.)

Would you like me to:
1) Update .github/workflows/django.yml in the repository and push a new branch (I can create a branch named update-python-3.10 with the change), or
2) Provide the exact git commands/patch to apply locally, or
3) Just leave this suggestion and you’ll update it yourself?

If you want me to push the change, confirm which Python version to use (3.10 by default) and whether to create the branch/update the existing PR branch. I’ll also need permission to modify the repo (I can proceed if you confirm).

## @boomboomtxzzit-coder

Proceed if congratulations

## Copilot

GitHub Copilot Chat Assistant — I tried to read the repo to update .github/workflows/django.yml but got an access error: "The requested resource was not found or you do not have access to it."

I can proceed, but I need one of the following from you:
- Confirm you want me to create a branch (suggested name: update-python-3.10) and update .github/workflows/django.yml to use python-version: 3.10, and confirm I should push that change to the repo and open a branch (I will then call the write tool). Also confirm the Python version (3.10 by default) and branch name.
OR
- Make the repo publicly accessible / ensure the GitHub integration has permission so I can read and write to it, then tell me to proceed.
OR
- Paste the current .github/workflows/django.yml contents here (or allow me to fetch the file URL), and I will provide an exact patch or the git commands/patch you can apply locally.

Which option do you want? If "proceed", confirm the Python version (3.10 unless you prefer another) and the branch name.
Loading