Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Inconsistent Python package structure when linking to license file

Abierto
#1,899 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
build-system

Línea de trabajo

No repository file or test is named; begin with the packaging or license-linking entry point and the discussion in pull request 1898. Reproduce the MarkupSafe 3.0.2 installation on macOS and Raspberry Pi, compare the two dist-info license paths, and consider the issue done when both layouts are handled or the online-license workaround is implemented.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

As discovered here, it seems like Python package's can have different structures depending on how they were packaged/built.

For example, on my macOS development machine, installing MarkupSafe==3.0.2, results in the the license file to be located at:

venv/lib/python3.9/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt

However, on a Raspberry Pi device, installing MarkupSafe==3.0.2, results in the the license file to be located at:

venv/lib/python3.9/site-packages/markupsafe-3.0.2.dist-info/licenses/LICENSE.txt

I suspect these differences stem from how the package is built for multiple different architectures.

As a temporary workaround, we can try link to the package's online license file.

Lenguaje dominante
Python
Estrellas
3.5k
Forks
291
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tiny-pilot/tinypilot

Todos los issues de tiny-pilot/tinypilot

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.