Actions
Bug #111243
closedabsence de pytz des dépendances déclarées
Start date:
20 October 2025
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
src/authentic2/api_views.py:from pytz.exceptions import AmbiguousTimeError, NonExistentTimeError test_requirements.txt:pytz tests/test_journal.py:import pytz ...
Il me semble que c'est ça qui amène le build d'authentic2-auth-fedict à échouer (https://jenkins.entrouvert.org/job/authentic2-auth-fedict/4087/)
22:04:36 File "/var/lib/jenkins/workspace/authentic2-auth-fedict/.nox/pylint/lib/python3.11/site-packages/authentic2/api_views.py", line 42, in <module> 22:04:36 from pytz.exceptions import AmbiguousTimeError, NonExistentTimeError 22:04:36 ModuleNotFoundError: No module named 'pytz'
Updated by Frédéric Péters about 2 months ago
- Related to Bug #111532: Les tests échouent à cause de pytz added
Updated by Emmanuel Cazenave 30 days ago
- Status changed from Nouveau to En cours
- Assignee set to Emmanuel Cazenave
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/authentic/pulls/624
- Titre : WIP: misc: declare python3-pytz-deprecation-shim dependency (#111243)
- Modifications : https://git.entrouvert.org/entrouvert/authentic/pulls/624/files
Updated by Benjamin Dauvergne 28 days ago
- Related to Développement #37238: /api/users, filtre horaire lors du passage heure d'hiver added
Updated by Benjamin Dauvergne 28 days ago
- Status changed from En cours to Solution proposée
- Assignee changed from Emmanuel Cazenave to Benjamin Dauvergne
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/authentic/pulls/625
- Titre : retirer l'usage de pytz (#111243)
- Modifications : https://git.entrouvert.org/entrouvert/authentic/pulls/625/files
Updated by Benjamin Dauvergne 28 days ago
Je propose de plus simplement retirer l'usage de pytz qui a fait son temps.
Updated by Nicolas Roche (⇾ retour 02/01/2025) 27 days ago
- Status changed from Solution proposée to Solution validée
🤖 Pull request approuvée :
Updated by Benjamin Dauvergne 27 days ago
- Status changed from Solution validée to Résolu (à déployer)
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/authentic/pulls/625
- Titre : retirer l'usage de pytz (#111243)
- Modifications : https://git.entrouvert.org/entrouvert/authentic/pulls/625/files
Updated by Transition automatique 27 days ago
- Status changed from Résolu (à déployer) to Solution déployée
Actions