codrsquad / codrsquad/portable-python
provide post-build hook capability prior to creating .tar.gz
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 86
- Forks
- 13
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
L’issue ne mentionne aucun fichier, test ou point d’entrée du build. Commencez par localiser l’étape du build qui crée le .tar.gz et examiner comment les fichiers et paquets inclus sont assemblés. La tâche est terminée lorsqu’une étape post-build documentée peut modifier le bundle avant son archivage, avec un chemin testé pour ajouter des fichiers comme cacert.pem.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- build-system
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100