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

write-manifest checksum does not match an existing requirements.txt that lists rsconnect

Aberta
#857 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
50/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
cli

Direção de pesquisa

Start by tracing the write-manifest flow for an existing requirements.txt, then compare the text used for its checksum with the file bundled by deploy manifest. Check how filtering differs for user-provided files, pip freeze, and uv export. Done means the manifest checksum matches the bundled file and rsconnect deploy no longer silently alters user-provided requirements.

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

Descrição

bug

When a requirements.txt file already exists, write-manifest removes every line that contains "rsconnect" before it calculates the checksum, but it does not rewrite the file. The manifest then has the checksum of the filtered text, and the file on disk still has the rsconnect lines. deploy manifest bundles the file from disk, so the checksum does not match. Found while working on #855.

rsconnect deploy is not affected, because it bundles the filtered text. But in that path we silently change a file that the user wrote.

We may want to stop filtering requirements files that the user provides, and keep the filter only for the output of pip freeze and uv export.

Linguagem predominante
Python
Estrelas
38
Forks
28
Merge médio
1d 7h
PRs com merge (30d)
14

Preparar o ambiente

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 posit-dev/rsconnect-python

Todas as issues de posit-dev/rsconnect-python

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.