Project

General

Profile

Actions

Bug #111243

closed

absence de pytz des dépendances déclarées

Added by Frédéric Péters about 2 months ago. Updated 10 days ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
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'

Related issues 2 (0 open2 closed)

Related to Plugin Carte eID (fedict/bosa) - Bug #111532: Les tests échouent à cause de pytzFerméGael Pasgrimaud28 October 2025

Actions
Related to Authentic 2 - Développement #37238: /api/users, filtre horaire lors du passage heure d'hiverFerméBenjamin Dauvergne27 October 2019

Actions
Actions #1

Updated by Frédéric Péters about 2 months ago

  • Related to Bug #111532: Les tests échouent à cause de pytz added
Actions #2

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 :

Actions #3

Updated by Benjamin Dauvergne 28 days ago

Actions #4

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 :

Actions #5

Updated by Benjamin Dauvergne 28 days ago

Je propose de plus simplement retirer l'usage de pytz qui a fait son temps.

Actions #6

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 :

Actions #7

Updated by Benjamin Dauvergne 27 days ago

  • Status changed from Solution validée to Résolu (à déployer)

🤖 Pull request fusionnée :

Actions #8

Updated by Transition automatique 27 days ago

  • Status changed from Résolu (à déployer) to Solution déployée
Actions #9

Updated by Emmanuel Cazenave 10 days ago

🤖 Pull request fermée.

Actions

Also available in: Atom PDF