From bb0fe71388c04cf26884eba89d2e0d9d0c00a185 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

closes odoo/odoo#120155

closes odoo/odoo#120164

X-original-commit: 710a2b2a7af68e8f2f249ef9fc3146f44d3266a5
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 be0dd378d4a4..2b4ddbb37e40 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -46,7 +46,7 @@ pyserial==3.5
 python-dateutil==2.8.1
 python-ldap==3.4.0 ; sys_platform != 'win32'  # min version = 3.2.0 (Focal with security backports)
 python-stdnum==1.16
-pytz==2021.1
+pytz  # no version pinning to avoid OS perturbations
 pyusb==1.0.2 ; python_version <= '3.10'
 pyusb==1.2.1 ; python_version > '3.10'
 qrcode==6.1
-- 
GitLab