codrsquad / codrsquad/portable-python
provide post-build hook capability prior to creating .tar.gz
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 86
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
There are several cases I can imagine for this. In my case, I have a very common one.
We have the well-known issue where the bundled urllib leverages the bundled openssl which comes with no certificate file, and thus cannot verify any certificates out of the box.
With a post-build hook, we could export a cacert.pem file from the system or from another location and bundle it with the .tar.gz. That would also require us patching some source somewhere to instruct the bundled openssl to use it. There are a few options for that part.
Obviously, we can un-tar, modify, and re-tar, but I don't want to do that.
Another common case I can imagine would be to do pip install of some extra packages prior to bundling (I'm not sure if that can actually work or not, but I believe so.).
Alternatively, if you'd prefer to provide some first-class mechanism for solving the "lack of a bundled cacert" problem, that would help us with the immediate issue so that would be great as well.
Anyway, feedback welcome.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Direzione di ricerca
La issue non nomina file, test o punti di ingresso della build. Inizia individuando il passaggio della build che crea il .tar.gz e verificando come vengono assemblati i file e i pacchetti inclusi. Il lavoro è completato quando esiste una fase post-build documentata che può modificare il bundle prima dell'archiviazione, con un percorso testato per aggiungere file come cacert.pem.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100