From b5cf0a500d414de9b32b3daaa929bbc77d782172 Mon Sep 17 00:00:00 2001
From: "Moises Lopez - https://www.vauxoo.com/" <moylop260@vauxoo.com>
Date: Mon, 3 Apr 2023 16:46:28 +0000
Subject: [PATCH] [FIX] requirements.txt: unpin pytz

On Debian based systems, the `tzdata` package is maintained to reflect changes
in timezones and there is no need to upgrade the `python3-tz` package.
On the other hand, for those who are using `pip` and thus our `requirements.txt`,
the package needs to be up to date. By unpinning it in the requirements.txt:

- new installations based on pip will be up to date
- older installations based on pip can easily upgrade
- debian based installations have to maintain the tzdata package
- mixed installs like on runbot will rely on Debian tzdata

closes odoo/odoo#117527

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
---
 requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/requirements.txt b/requirements.txt
index 5f0139ae7494..2a2460e53de0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -43,7 +43,7 @@ python-ldap==3.1.0; sys_platform != 'win32'
 PyPDF2==1.26.0
 pyserial==3.4
 python-dateutil==2.7.3
-pytz==2019.1
+pytz  # no version pinning to avoid OS perturbations
 pyusb==1.0.2
 qrcode==6.1
 reportlab==3.5.13; python_version < '3.8'
-- 
GitLab