Inconsistent Python package structure when linking to license file
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 3.5k
- Fork
- 291
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tiny-pilot/tinypilot
-
bug medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
tiny-pilot/tinypilot#1419 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
tiny-pilot/tinypilot#1929 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
tiny-pilot/tinypilot#1896 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
tiny-pilot/tinypilot#1882 ·
-
Provide canonical dev setup Apertaenhancement
tiny-pilot/tinypilot#1876 · 9 commenti · 1 assegnatario ·
Tutte le issue di tiny-pilot/tinypilot
Issue simili
-
bug priority:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
NousResearch/hermes-agent#122386 · 1 commento ·
-
ai-generated
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/production-stack#1105 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100