Python 3.13 fixes

- Fixes: rhzb#2245265
This commit is contained in:
Miro Hrončok 2024-05-23 15:32:31 +02:00
commit e84a72433e
2 changed files with 592 additions and 1 deletions

View file

@ -2,12 +2,17 @@
Name: python-jinja2
Version: 3.1.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: General purpose template engine
License: BSD-3-Clause
URL: https://palletsprojects.com/p/jinja/
Source0: %{pypi_source %srcname}
# Python 3.13 fixes
# https://github.com/pallets/jinja/pull/1960
# https://github.com/pallets/jinja/pull/1977
Patch: python3.13.patch
# Enable building without docs to avoid a circular dependency between this
# and python-sphinx:
%if 0%{?rhel} || 0%{?flatpak}
@ -35,6 +40,7 @@ environments.}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-trio
%if %{with docs}
BuildRequires: %{_bindir}/sphinx-build-3
BuildRequires: make
@ -84,6 +90,10 @@ rm -rvf docs/_build/html/.buildinfo
%changelog
* Thu May 23 2024 Miro Hrončok <mhroncok@redhat.com> - 3.1.4-2
- Python 3.13 fixes
- Fixes: rhzb#2245265
* Tue May 07 2024 Lumír Balhar <lbalhar@redhat.com> - 3.1.4-1
- Update to 3.1.4 (rhbz#2279211,rhbz#2279491)