diff --git a/dirtyjson-1.0.7.tar.gz b/dirtyjson-1.0.7.tar.gz deleted file mode 100644 index 9c7d33f..0000000 --- a/dirtyjson-1.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1d1e457b5432fd53283eb0341b2a273690a8b6bb9090689d2cd6a776f57efe7 -size 25351 diff --git a/dirtyjson-1.0.8.tar.gz b/dirtyjson-1.0.8.tar.gz new file mode 100644 index 0000000..0eba12a --- /dev/null +++ b/dirtyjson-1.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90ca4a18f3ff30ce849d100dcf4a003953c79d3a2348ef056f1d9c22231a25fd +size 30782 diff --git a/python-dirtyjson.changes b/python-dirtyjson.changes index 18222d7..55ba818 100644 --- a/python-dirtyjson.changes +++ b/python-dirtyjson.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 10 10:19:46 UTC 2023 - Dirk Müller + +- update to 1.0.8: + * Add Python 3.10 support +- drop support-python-310.patch (upstream) + ------------------------------------------------------------------- Mon Jan 24 00:48:06 UTC 2022 - Steve Kowalik diff --git a/python-dirtyjson.spec b/python-dirtyjson.spec index 1b0fca1..c5d432c 100644 --- a/python-dirtyjson.spec +++ b/python-dirtyjson.spec @@ -1,7 +1,7 @@ # # spec file for package python-dirtyjson # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dirtyjson -Version: 1.0.7 +Version: 1.0.8 Release: 0 Summary: Python JSON decoder that can extract data from dirty input License: MIT Group: Development/Languages/Python URL: https://github.com/codecobblers/dirtyjson Source: https://files.pythonhosted.org/packages/source/d/dirtyjson/dirtyjson-%{version}.tar.gz -# PATCH-FIX-UPSTREAM gh#codecobblers/dirtyjson#6 -Patch0: support-python-310.patch BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes diff --git a/support-python-310.patch b/support-python-310.patch deleted file mode 100644 index 6edf49e..0000000 --- a/support-python-310.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 45d359a9e061f5a2e00d8f38817372a0e39822ae Mon Sep 17 00:00:00 2001 -From: Eric Swanson -Date: Fri, 17 Dec 2021 11:38:13 -0500 -Subject: [PATCH] Python 3.10 support - ---- - dirtyjson/attributed_containers.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/dirtyjson/attributed_containers.py b/dirtyjson/attributed_containers.py -index c71e411..147f303 100644 ---- a/dirtyjson/attributed_containers.py -+++ b/dirtyjson/attributed_containers.py -@@ -4,7 +4,10 @@ - - """ - try: -- from collections import MutableMapping as DictMixin -+ try: -+ from collections.abc import MutableMapping as DictMixin -+ except ImportError: -+ from collections import MutableMapping as DictMixin - py_level = 3 - except ImportError: - # noinspection PyUnresolvedReferences,PyCompatibility