write-manifest checksum does not match an existing requirements.txt that lists rsconnect
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 50/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 37
- Forks
- 28
- Merge medio
- 10 h 32 min
- PR fusionados (30 d)
- 7
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de posit-dev/rsconnect-python
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
posit-dev/rsconnect-python#786 · 1 reacción ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
posit-dev/rsconnect-python#543 · 2 comentarios ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
posit-dev/rsconnect-python#513 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
posit-dev/rsconnect-python#178 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
posit-dev/rsconnect-python#854 ·
Todos los issues de posit-dev/rsconnect-python
Issues similares
-
bug server
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sportsdataverse/sportsdataverse-py#641 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
googleapis/google-cloud-python#18532 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día