Clarify Python version requirements for contributors #6814

Manually merged
rahp124 merged 0 commits from rahp124/docs/6458-clarify-python-version-guidance into V3/develop 2026-11-21 15:29:14 +01:00
rahp124 commented 2026-10-18 22:23:39 +02:00 (Migrated from github.com)

Description of the changes

Fixes #6458.

  • Clarifies that Python 3.8.1 is the oldest supported version and the recommended version for local development, so contributors catch syntax that would not work at the compatibility floor.
  • Documents that make newenv runs python3.8 by default and that another supported interpreter can be selected with the existing PYTHON make variable.
  • AI-use disclosure: I used Codex and Claude to help review and draft this documentation update, then checked the final instructions against the current Makefile and contributor guidance.

Have the changes in this PR been tested?

Yes

  • Reproduced the reported failure with Python 3.12 only on PATH: make newenv exits 2 because python3.8 is not found.
  • Ran make newenv with Python 3.8.8 available; Red and the development requirements installed successfully.
  • Ran tox -e docs; the HTML docs build, all 6 doctests, and the Markdown build passed.
### Description of the changes Fixes #6458. - Clarifies that Python 3.8.1 is the oldest supported version and the recommended version for local development, so contributors catch syntax that would not work at the compatibility floor. - Documents that `make newenv` runs `python3.8` by default and that another supported interpreter can be selected with the existing `PYTHON` make variable. - AI-use disclosure: I used Codex and Claude to help review and draft this documentation update, then checked the final instructions against the current Makefile and contributor guidance. ### Have the changes in this PR been tested? Yes - Reproduced the reported failure with Python 3.12 only on `PATH`: `make newenv` exits 2 because `python3.8` is not found. - Ran `make newenv` with Python 3.8.8 available; Red and the development requirements installed successfully. - Ran `tox -e docs`; the HTML docs build, all 6 doctests, and the Markdown build passed.
copilot-pull-request-reviewer[bot] (Migrated from github.com) reviewed 2026-10-18 22:23:49 +02:00
copilot-pull-request-reviewer[bot] (Migrated from github.com) left a comment

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Evanroby (Migrated from github.com) reviewed 2026-10-19 09:20:56 +02:00
Evanroby (Migrated from github.com) left a comment

I will just give you an imo nitpick

I will just give you an imo nitpick
Evanroby (Migrated from github.com) commented 2026-10-19 09:16:34 +02:00

IMO this reads a bit better if the PYTHON= note goes in its own paragraph, since right now it merges with the sentence below it

IMO this reads a bit better if the `PYTHON=` note goes in its own paragraph, since right now it merges with the sentence below it
rahp124 commented 2026-11-09 08:20:48 +01:00 (Migrated from github.com)

Thanks for catching that, @Evanroby. For #6458, I added a blank line after the PYTHON= guidance in CONTRIBUTING.md so the following sentence renders as its own paragraph (commit 0c0e5d4f).

Thanks for catching that, @Evanroby. For #6458, I added a blank line after the `PYTHON=` guidance in CONTRIBUTING.md so the following sentence renders as its own paragraph (commit 0c0e5d4f).
Mrcoolgamer11 manually merged commit ac23b2fc16 into V3/develop 2026-11-21 15:29:14 +01:00
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!6814
No description provided.