-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passage à poetry #49
Passage à poetry #49
Conversation
README.md
Outdated
``` | ||
|
||
#### Copier les variables d'environnement | ||
- Mettre une clef secrète et vérifier les autres valeurs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Peut-être un bout de doc sur comment générer la clé secrète ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est ajouté !
Dockerfile
Outdated
# For behave tests | ||
RUN apt-get update && apt-get install -y --no-install-recommends firefox-esr | ||
RUN wget -qO- $GECKODRIVER_URL | tar xvz -C /usr/bin/ | ||
RUN apt-get update && apt-get install -y --no-install-recommends firefox-esr && rm -rf /var/lib/apt/lists/* | ||
RUN wget -qO- ${GECKODRIVER_URL} | tar xvz -C /usr/bin/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je pense que tu peux l'enlever tant qu'on s'en sert pas.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est fait.
🎯 Objectif
Passage à poetry qui simplifie la gestion des dépendances Python en combinant configuration et scripts dans un fichier unique (pyproject.toml), assurant ainsi une lisibilité accrue. Son fichier lock garantit la reproductibilité des environnements, et sa résolution des dépendances facilite la maintenance et les mises à jour.
🔍 Implémentation
requirements.txt
àpyproject.toml
(en séparant dépendances de prod et de dev)setup.py
vide, mais une alternative pourrait être d'utiliser un requirements.txt généré par le pre-commit hookpoetry-lock
.