Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Feature freeze: delete unnecessary files from new 3.x branch

Aperta
#441 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
release

Direzione di ricerca

Start by tracing the release automation used when the first beta branches a new 3.x line, then compare its intended behavior with python/cpython issue 158399. The change is done when the listed main-only files are removed from the new branch, missing files produce warnings rather than failures, and the release automation still completes successfully.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Short version: automate https://github.com/python/cpython/issues/158399.

Longer version:

There's a number of files that are only needed in the main branch, for example:

.github/CONTRIBUTING.rst
.github/dependabot.yml
.github/ISSUE_TEMPLATE/
.github/PULL_REQUEST_TEMPLATE.md
.github/SECURITY.md
.github/workflows/add-issue-header.yml
.github/workflows/new-bugs-announce-notifier.yml
.github/workflows/project-updater.yml
.github/workflows/stale.yml
.well-known/funding-manifest-urls

At the feature freeze, when we branch off main as part of the first beta release and create a new branch (for example, this will next happen when we create 3.16 in May 2027), let's have the script delete these files from the new 3.x branch.

The script shouldn't fail if a file isn't found -- we may have removed it from main. If so, we could print a warning something like "filename.ext not found. If no longer in main, remove from this script".

Lingua principale
Python
Stelle
61
Fork
48
Merge medio
5h 50m
PR unite (30g)
6

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/release-tools

Tutte le issue di python/release-tools

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.