Project

General

Profile

Bug #104729

Comparaison de date aware et naïves...

Added by Benjamin Dauvergne 9 days ago. Updated 6 days ago.

Status:
Solution déployée
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
15 April 2025
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/139584/

TypeError: can't compare offset-naive and offset-aware datetimes
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "hobo/multitenant/management/commands/tenant_command.py", line 142, in run_from_argv
    if disabled_expiration >= make_aware(datetime.now()):

Related issues

Related to Hobo - Développement #103707: Maintenance : mettre des exemples pour les champs "Activer la page de maintenance jusqu'au" et "Désactiver les tâches routinières (cron) jusqu'au :"Solution déployée20 March 2025

Actions

Associated revisions

Revision b2c6897b (diff)
Added by Yann Weber 6 days ago

maintenance: fix datetime handling and fix tests (#104729)

History

#1

Updated by Yann Weber 9 days ago

  • Related to Développement #103707: Maintenance : mettre des exemples pour les champs "Activer la page de maintenance jusqu'au" et "Désactiver les tâches routinières (cron) jusqu'au :" added
#2

Updated by Robot Gitea 9 days ago

  • Status changed from Nouveau to En cours
  • Assignee set to Yann Weber

Yann Weber (yweber) a ouvert une pull request sur Gitea concernant cette demande :

#3

Updated by Robot Gitea 9 days ago

  • Status changed from En cours to Solution proposée
#4

Updated by Robot Gitea 9 days ago

  • Status changed from Solution proposée to En cours

Thomas NOËL (tnoel) a relu et demandé des modifications sur une pull request sur Gitea concernant cette demande :

#5

Updated by Robot Gitea 8 days ago

  • Status changed from En cours to Solution proposée

Yann Weber (yweber) a demandé une relecture de Thomas NOËL (tnoel) sur une pull request sur Gitea concernant cette demande :

#6

Updated by Robot Gitea 6 days ago

  • Status changed from Solution proposée to Solution validée

Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :

#7

Updated by Robot Gitea 6 days ago

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

Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :

#8

Updated by Transition automatique 6 days ago

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

Also available in: Atom PDF