Depreciating Python 2 / Use pyinstaller/py2app for MacOS builds
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- github-actions, macos, python
- Domaine
- build-system, cli, release
Piste de recherche
Le problème concerne la création d'un installateur macOS autonome utilisant pyinstaller ou py2app pour remplacer l'installateur actuel dépendant de Python 2. Commencez par examiner le code de l'installateur existant pour comprendre son flux d'écriture de fichiers et d'exécution. Testez la construction d'une application autonome simple avec pyinstaller dans un environnement macOS, éventuellement en utilisant GitHub Actions. 'Terminé' signifie un installateur autonome fonctionnel qui ne casse pas les fonctionnalités existantes, nécessitant des tests approfondis des opérations sur les fichiers.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
As you've probably noticed, the installer breaks fairly often due to making a change which works on Python 3, but which doesn't work on Python 2.
We've been supporting Python 2 for MacOS users, as Python 2 comes pre-installed for them, and we don't want to make them install Python 3 on their system (it would complicate the install process, and also may alter their system setup)
One way around this would be to use a tool like pyinstaller or py2app to generate a standalone installer/app which the user can just run. However doing so would probably require quite a bit of testing, as I suspect some things our installer currently does (like writing to a folder adjacent to the executable) will break in this configuration.
While developers on Windows/Linux can't do the builds on their own computers, Github Actions supports MacOS as an environment, so once it's setup properly it should be OK to maintain.
I'm mainly opening this issue in case any MacOS users/developers want to figure out some distribution method for the installer on MacOS. It probably won't happen any time soon, but I thought I should at least make an issue for it.
- Langage dominant
- JavaScript
- Étoiles
- 216
- Forks
- 12
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
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.
Autres issues de 07th-mod/python-patcher
-
SSL/TLS Errors Index PageOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
07th-mod/python-patcher#214 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
07th-mod/python-patcher#193 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
07th-mod/python-patcher#137 ·
-
enhancement help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
07th-mod/python-patcher#83 ·
-
Missing cert on Fedora LinuxOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
07th-mod/python-patcher#80 · 11 commentaires ·
Toutes les issues de 07th-mod/python-patcher
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
bug needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
apex-dev-tools/apex-log-parser#199 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue hacktoberfest help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
ReadBufferStream.addBuffer adds the full ArrayBuffer of a typed array view, and ignores its byteOffsetPeut-être pris @wayfarer3130 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Expo 57 example: pnpm install fails with ERR_PNPM_TRUST_DOWNGRADEPeut-être pris @github-actions l’a pris aujourd’hui. Ouvertebug react-native team/client-libraries
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
PostHog/posthog-js#5442 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour