14
0
forked from pool/python-pytz

Accepting request 1118294 from home:mcalabkova:branches:devel:languages:python:312

- Update to 2023.3.post1
  * Replace deprecated datetime.utcfromtimestamp()
  * Resurrect Python 2.7 tests
  * Add support for Python 3.12
- Drop pytz-%{version}.tar.gz.asc and python-pytz.keyring
  * PyPI hides the .asc files and wants to drop the support
  * related: https://github.com/certbot/certbot/issues/9707

OBS-URL: https://build.opensuse.org/request/show/1118294
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=122
This commit is contained in:
2023-10-17 11:37:33 +00:00
committed by Git OBS Bridge
parent 3ebdbc5e1b
commit a8088c8dd8
6 changed files with 15 additions and 1271 deletions

View File

@@ -30,15 +30,13 @@
%{?sle15_python_module_pythons}
Name: python-pytz
Version: 2023.3
Version: 2023.3.post1
Release: 0
Summary: World timezone definitions, modern and historical
License: MIT
Group: Development/Languages/Python
URL: https://pythonhosted.org/pytz/
Source: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.gz
Source2: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.gz.asc
Source90: %{name}.keyring
# PATCH-FIX-UPSTREAM fix-tests.patch -- Remote tests which are known to be broken
Patch0: fix-tests.patch
# PATCH-FIX-UPSTREAM 0001-Fix-tests-for-older-timezone-versions.patch -- https://code.launchpad.net/~toabctl/pytz/+git/pytz/+merge/326419