python / python/cpython

Allow one to use build.bat to skip building test project files entirely.

Open
#120,815 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build OS-windows type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Only useful if you wish to manually compile the interpreter in order to build a manual embed zip file to reflect changes in a branch from a clone of the repository. This would need to be opt-in and not by default though. Also allows those who only want to clone python just to build to skip them without needing to manually clean up the built test projects by hand and accidentally delete something important instead.

Great for:

  • wanting a change before a new point release is made.
  • for checking any local changes outside of tests with a project that uses an embedded interpreter.
  • those who clones the repository only to build python itself and not wanting to tests to be built at all.

Applies to:

  • 3.12
  • 3.13
  • 3.14
  • main

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with build.bat and trace how test project files are built during the interpreter build. Add an opt-in path that skips those files while preserving the default behavior, then verify that a manual interpreter or embedded build completes without test projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.