Skip to content

PEP 838: Adding python-version to pyvenv.cfg#5040

Open
konsti-openai wants to merge 1 commit into
python:mainfrom
konsti-openai:konsti/pyvenv-cfg-python-version
Open

PEP 838: Adding python-version to pyvenv.cfg#5040
konsti-openai wants to merge 1 commit into
python:mainfrom
konsti-openai:konsti/pyvenv-cfg-python-version

Conversation

@konsti-openai

@konsti-openai konsti-openai commented Jul 15, 2026

Copy link
Copy Markdown

Basic requirements (all PEP Types)

  • Read and followed PEP 1 & PEP 12
  • File created from the latest PEP template
  • PEP has next available number, & set in filename (pep-NNNN.rst), PR title (PEP 123: <Title of PEP>) and PEP header
  • Title clearly, accurately and concisely describes the content in 79 characters or less
  • Core dev/PEP editor listed as Author or Sponsor, and formally confirmed their approval
  • Author, Status (Draft), Type and Created headers filled out correctly
  • PEP-Delegate, Topic, Requires and Replaces headers completed if appropriate
  • Required sections included
    • Abstract (first section)
    • Copyright (last section; exact wording from template required)
  • [] Code is well-formatted (PEP 7/PEP 8) and is in code blocks, with the right lexer names if non-Python
  • PEP builds with no warnings, pre-commit checks pass and content displays as intended in the rendered HTML
  • Authors/sponsor added to .github/CODEOWNERS for the PEP

Standards Track requirements

Packaging track, but close enough

  • [n/a] PEP topic discussed in a suitable venue with general agreement that a PEP is appropriate
  • Suggested sections included (unless not applicable)
    • Motivation
    • Specification
    • Rationale
    • Backwards Compatibility
    • [n/a] Security Implications
    • How to Teach This
    • Reference Implementation
    • [n/a] Rejected Ideas
    • [n/a] Open Issues
    • [n/a] Acknowledgements
    • Footnotes
    • Change History
  • Python-Version set to valid (pre-beta) future Python version, if relevant
  • Any project stated in the PEP as supporting/endorsing/benefiting from the PEP formally confirmed such
  • Right before or after initial merging, PEP discussion thread created and linked to in Discussions-To and Post-History

@konsti-openai konsti-openai requested a review from a team as a code owner July 15, 2026 15:38
@python-cla-bot

python-cla-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

Comment thread peps/pep-0838.rst
Title: Adding python-version to pyvenv.cfg
Author: Konstantin Schütze <konstin@mailbox.org>
Sponsor: Alex Waygood <alex.waygood@gmail.com>
PEP-Delegate: Paul Moore <p.f.moore@gmail.com>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pfmoore I put you up as default choice for packaging PEPs, but I'm with any other delegate too.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with this, but it's borderline whether this should be a packaging or a core PEP (the pyvenv.cfg file is maintained by the stdlib venv module and machinery, not by packaging tools).

@read-the-docs-community

read-the-docs-community Bot commented Jul 15, 2026

Copy link
Copy Markdown

Documentation build overview

📚 pep-previews | 🛠️ Build #33605172 | 📁 Comparing 49d35ed against latest (8618d76)

  🔍 Preview build  

6 files changed · + 1 added · ± 5 modified

+ Added

± Modified

@konsti-openai konsti-openai force-pushed the konsti/pyvenv-cfg-python-version branch from 7c7a974 to 49d35ed Compare July 15, 2026 19:03
@konsti-openai konsti-openai changed the title PEP 837: Adding python-version to pyvenv.cfg PEP 838: Adding python-version to pyvenv.cfg Jul 15, 2026
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