parent
cfc38ead9c
commit
575e94367b
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ Mako-0.4.0.tar.gz
|
|||||||
/rel_1_1_1.tar.gz
|
/rel_1_1_1.tar.gz
|
||||||
/rel_1_1_3.tar.gz
|
/rel_1_1_3.tar.gz
|
||||||
/rel_1_1_4.tar.gz
|
/rel_1_1_4.tar.gz
|
||||||
|
/rel_1_2_3.tar.gz
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
From 9b8da4b1e2bdc025b643f2061aa32bf7ae0c78a8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Bayer <mike_mp@zzzcomputing.com>
|
|
||||||
Date: Sat, 9 Apr 2022 11:43:32 -0400
|
|
||||||
Subject: [PATCH] reduce exception message tested for py311 compat
|
|
||||||
|
|
||||||
Change-Id: I519d4a840fd456ea042a5b0735da183a1e340aa4
|
|
||||||
---
|
|
||||||
test/test_exceptions.py | 10 ++--------
|
|
||||||
1 file changed, 2 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/test/test_exceptions.py b/test/test_exceptions.py
|
|
||||||
index b1930c5..7a2e6b0 100644
|
|
||||||
--- a/test/test_exceptions.py
|
|
||||||
+++ b/test/test_exceptions.py
|
|
||||||
@@ -274,10 +274,7 @@ def test_tback_no_trace_from_py_file(self):
|
|
||||||
html_error = exceptions.html_error_template().render_unicode(
|
|
||||||
error=v, traceback=None
|
|
||||||
)
|
|
||||||
- assert (
|
|
||||||
- "local variable 'y' referenced before assignment"
|
|
||||||
- in html_error
|
|
||||||
- )
|
|
||||||
+ assert "local variable 'y'" in html_error
|
|
||||||
|
|
||||||
def test_tback_trace_from_py_file(self):
|
|
||||||
t = self._file_template("runtimeerr.html")
|
|
||||||
@@ -287,10 +284,7 @@ def test_tback_trace_from_py_file(self):
|
|
||||||
except:
|
|
||||||
html_error = exceptions.html_error_template().render_unicode()
|
|
||||||
|
|
||||||
- assert (
|
|
||||||
- "local variable 'y' referenced before assignment"
|
|
||||||
- in html_error
|
|
||||||
- )
|
|
||||||
+ assert "local variable 'y'" in html_error
|
|
||||||
|
|
||||||
def test_code_block_line_number(self):
|
|
||||||
l = TemplateLookup()
|
|
@ -1,17 +1,14 @@
|
|||||||
Name: python-mako
|
Name: python-mako
|
||||||
Version: 1.1.4
|
Version: 1.2.3
|
||||||
Release: 9%{?dist}
|
Release: 1%{?dist}
|
||||||
BuildArch: noarch
|
Summary: Mako template library for Python
|
||||||
|
|
||||||
# Mostly MIT, but _ast_util.py is Python licensed
|
# Mostly MIT, but _ast_util.py is Python licensed
|
||||||
License: MIT and Python
|
License: MIT and Python
|
||||||
Summary: Mako template library for Python
|
URL: https://www.makotemplates.org/
|
||||||
URL: http://www.makotemplates.org/
|
|
||||||
Source0: https://github.com/sqlalchemy/mako/archive/rel_%(echo %{version} | sed "s/\./_/g").tar.gz
|
Source0: https://github.com/sqlalchemy/mako/archive/rel_%(echo %{version} | sed "s/\./_/g").tar.gz
|
||||||
|
|
||||||
# patch for Python 3.11 compatibility to reduce exception message
|
BuildArch: noarch
|
||||||
Patch: https://github.com/sqlalchemy/mako/commit/9b8da4b1e2bdc025b643f2061aa32bf7ae0c78a8.patch
|
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
@ -81,6 +78,9 @@ pytest-3
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 27 2022 David King <amigadave@amigadave.com> - 1.2.3-1
|
||||||
|
- Update to 1.2.3 (#1996163)
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-9
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (rel_1_1_4.tar.gz) = 70c5c9a4850a982550730739eb74cfae13c6ea729e5b768c1a54c6a391ddc30e51e17c1f6b9b7fa56e751527bdac66ec7ae0a0885e2f45289b7401df13f0c01e
|
SHA512 (rel_1_2_3.tar.gz) = 400bf78afcc72c93a956805fbfb062caa1645f37034b0c261a5e0c203b324a3b553fabdd0e889dbefa6ca0955bb6f16aeaee88851fdc830303473019621342f0
|
||||||
|
Loading…
Reference in New Issue
Block a user