Skip to content

docs: Fix python command to python3 for compatibility#470

Closed
mushitoriami wants to merge 1 commit into
mkdocstrings:mainfrom
mushitoriami:doc-patch-2
Closed

docs: Fix python command to python3 for compatibility#470
mushitoriami wants to merge 1 commit into
mkdocstrings:mainfrom
mushitoriami:doc-patch-2

Conversation

@mushitoriami

Copy link
Copy Markdown
Contributor

For reviewers

  • I did not use AI
  • I used AI and thoroughly reviewed every code/docs change

Description of the change

The python command is not always available or guaranteed to point to python3 depending on the environment. To ensure compatibility across different systems, this PR changes the hardcoded python command to python3, aligning with the shebang in the script.

The `python` command is not always available or guaranteed to point to `python3` depending on the environment.
To ensure compatibility across different systems, this PR changes the hardcoded `python` command to `python3`,
aligning with the shebang in the script.
@pawamoy

pawamoy commented Jun 23, 2026

Copy link
Copy Markdown
Member

Thanks, but Python 2.7 was released 16 years ago, and security support ended 6 years ago. I'm not willing to support systems where Python 3 is not the default. I hope you can understand 🙂

@pawamoy pawamoy closed this Jun 23, 2026
@mushitoriami mushitoriami deleted the doc-patch-2 branch June 23, 2026 12:08
@mushitoriami

Copy link
Copy Markdown
Contributor Author

This PR was not about Python 2. It was for environments where the python command does not exist at all, and only python3 is available.
Since this can easily be worked around by creating a symlink, closing this PR is completely fine. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants