update pytz to 2023.3

This commit is contained in:
sherlock2010 2023-08-01 07:41:39 +00:00
parent 20c966a6fd
commit 092a8ff2b8
5 changed files with 11 additions and 6 deletions

View File

@ -69,7 +69,7 @@ index 408fcb2..ee58572 100644
--- a/pytz/zoneinfo/zone.tab
+++ b/pytz/zoneinfo/zone.tab
@@ -269,7 +269,7 @@ MM +1647+09610 Asia/Yangon
MN +4755+10653 Asia/Ulaanbaatar Mongolia (most areas)
MN +4755+10653 Asia/Ulaanbaatar most of Mongolia
MN +4801+09139 Asia/Hovd Bayan-Olgiy, Govi-Altai, Hovd, Uvs, Zavkhan
MN +4804+11430 Asia/Choibalsan Dornod, Sukhbaatar
-MO +221150+1133230 Asia/Macau
@ -82,7 +82,7 @@ index 822ffa1..03ec66b 100644
--- a/pytz/zoneinfo/zone1970.tab
+++ b/pytz/zoneinfo/zone1970.tab
@@ -232,7 +232,7 @@ MM +1647+09610 Asia/Yangon
MN +4755+10653 Asia/Ulaanbaatar Mongolia (most areas)
MN +4755+10653 Asia/Ulaanbaatar most of Mongolia
MN +4801+09139 Asia/Hovd Bayan-Ölgii, Govi-Altai, Hovd, Uvs, Zavkhan
MN +4804+11430 Asia/Choibalsan Dornod, Sükhbaatar
-MO +221150+1133230 Asia/Macau

View File

@ -40,7 +40,7 @@ index e2f49fa..65c1d11 100644
--- a/pytz/__init__.py~ 2021-10-04 09:16:08.981477792 -0500
+++ b/pytz/__init__.py 2021-10-04 11:29:19.283758542 -0500
@@ -502,1042 +502,37 @@
@@ -502,1041 +502,37 @@
if __name__ == '__main__':
_test()
@ -852,7 +852,6 @@ index e2f49fa..65c1d11 100644
- 'America/Whitehorse',
- 'America/Winnipeg',
- 'America/Yakutat',
- 'America/Yellowknife',
- 'Antarctica/Casey',
- 'Antarctica/Davis',
- 'Antarctica/DumontDUrville',

Binary file not shown.

BIN
pytz-2023.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
%bcond_without tests
Name: pytz
Version: 2022.7.1
Version: 2023.3
Release: 1
Summary: World Timezone Definitions for Python
License: MIT
URL: http://pytz.sourceforge.net/
Source0: https://files.pythonhosted.org/packages/03/3e/dc5c793b62c60d0ca0b7e58f1fdd84d5aaa9f8df23e7589b39cc9ce20a03/pytz-2022.7.1.tar.gz
Source0: https://files.pythonhosted.org/packages/5e/32/12032aa8c673ee16707a9b6cdda2b09c0089131f35af55d443b6a9c69c1d/pytz-2023.3.tar.gz
Patch0: backport-pytz-zoneinfo.patch
Patch1: backport-remove_tzinfo_test.patch
@ -57,6 +57,12 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
%{python3_sitelib}/*
%changelog
* Tue Aug 01 2023 zhouyihang <zhouyihang3@h-partners.com> - 2023.3-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update pytz to 2023.3
* Thu Mar 09 2023 zhouyihang <zhouyihang3@h-partners.com> - 2022.7.1-1
- Type:requirement
- ID:NA