fix: upgrade pytz. (#31599)

* fix: upgrade pytz
This commit is contained in:
Awais Qureshi
2023-01-20 14:27:41 +05:00
committed by GitHub
parent 0c4efc6ef2
commit 3d2d02bffe
6 changed files with 7 additions and 14 deletions

View File

@@ -634,8 +634,8 @@ class CountryTimeZoneListViewTest(UserApiTestCase):
assert time_zone_info['description'] == get_display_time_zone(time_zone_name)
# The time zones count may need to change each time we upgrade pytz
@ddt.data((ALL_TIME_ZONES_URI, 439),
(COUNTRY_TIME_ZONES_URI, 28))
@ddt.data((ALL_TIME_ZONES_URI, 434),
(COUNTRY_TIME_ZONES_URI, 24))
@ddt.unpack
def test_get_basic(self, country_uri, expected_count):
""" Verify that correct time zone info is returned """

View File

@@ -73,8 +73,6 @@ pycodestyle<2.9.0
# and snowflake-connector-python>2.8.0 is released.
pyopenssl==22.0.0
# pytz>2022.2.1 causes test failures in edx-platform
pytz==2022.2.1
# right now lots of packages have major upgrades and lots of tests failing.
# so adding following constraints and will unpin one by one.

View File

@@ -913,9 +913,8 @@ python3-saml==1.9.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.in
pytz==2022.2.1
pytz==2022.7.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.in
# babel
# blockstore

View File

@@ -1285,9 +1285,8 @@ python3-saml==1.9.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/testing.txt
pytz==2022.2.1
pytz==2022.7.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/testing.txt
# babel
# blockstore

View File

@@ -48,10 +48,8 @@ pygments==2.14.0
# via sphinx
python-slugify==7.0.0
# via code-annotations
pytz==2022.2.1
# via
# -c requirements/edx/../constraints.txt
# babel
pytz==2022.7.1
# via babel
pyyaml==6.0
# via code-annotations
requests==2.28.2

View File

@@ -1214,9 +1214,8 @@ python3-saml==1.9.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
pytz==2022.2.1
pytz==2022.7.1
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# babel
# blockstore