Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#441 3 comentários 1 reação 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
68/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
release

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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".

Linguagem predominante
Python
Estrelas
61
Forks
48
Merge médio
5h 50min
PRs com merge (30d)
6

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de python/release-tools

Todas as issues de python/release-tools

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.