diff --git a/python-3.8.2-error-message.patch b/python-3.8.2-error-message.patch deleted file mode 100644 index eef26e4..0000000 --- a/python-3.8.2-error-message.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0234a70e95199d4b9bb257d9ea7a5fcb8baa8c91 Mon Sep 17 00:00:00 2001 -From: Dave Halter -Date: Fri, 28 Feb 2020 00:31:50 +0100 -Subject: [PATCH] Python 3.8.2 was released and an error message changed, fixes - #103 - ---- - parso/python/errors.py | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/parso/python/errors.py b/parso/python/errors.py -index a6f3ae9..eba4181 100644 ---- a/parso/python/errors.py -+++ b/parso/python/errors.py -@@ -976,9 +976,7 @@ def _check_assignment(self, node, is_deletion=False, is_namedexpr=False): - - if error is not None: - if is_namedexpr: -- # c.f. CPython bpo-39176, should be changed in next release -- # message = 'cannot use assignment expressions with %s' % error -- message = 'cannot use named assignment with %s' % error -+ message = 'cannot use assignment expressions with %s' % error - else: - cannot = "can't" if self._normalizer.version < (3, 8) else "cannot" - message = ' '.join([cannot, "delete" if is_deletion else "assign to", error]) diff --git a/python-parso.spec b/python-parso.spec index db15081..7e9827c 100644 --- a/python-parso.spec +++ b/python-parso.spec @@ -25,14 +25,12 @@ the syntax tree.} %endif Name: python-%{pkgname} -Version: 0.6.2 -Release: 2%{?dist} +Version: 0.7.0 +Release: 1%{?dist} Summary: Parser that supports error recovery and round-trip parsing License: MIT and Python URL: https://parso.readthedocs.io Source0: %pypi_source -# https://github.com/davidhalter/parso/issues/103 -Patch0: python-3.8.2-error-message.patch BuildArch: noarch @@ -108,6 +106,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose - %changelog +* Fri Jul 10 2020 Mukundan Ragavan - 0.7.0-1 +- Update to 0.7.0 + * Sun May 24 2020 Miro HronĨok - 0.6.2-2 - Rebuilt for Python 3.9 diff --git a/sources b/sources index 5953a7d..836ec33 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parso-0.6.2.tar.gz) = 00856f5756f0c7ba9935f0d31a80e1eef3cc0eee8e71c38dd1500d9b64b57cd8c8f3f2adf000e4d514ba30012ffd8c0d05eb9875f1444d6c0099e36624fb4f53 +SHA512 (parso-0.7.0.tar.gz) = 7ca6fbf001826afd57c9777bc5cc0d206b52c5c15b8f237ab4add041c2a7b9cf911a9959e1e9e24c5a00d46d447b0c66efd5381955201d7053933a97e32b8934