diff --git a/python-simplejson.changes b/python-simplejson.changes index 05035c9..731e1d6 100644 --- a/python-simplejson.changes +++ b/python-simplejson.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 30 08:03:39 UTC 2025 - Dirk Müller + +- update to 3.20.1: + * Do not memoize keys before they are coerced to string + https://github.com/simplejson/simplejson/pull/329 + ------------------------------------------------------------------- Sun Sep 8 13:32:12 UTC 2024 - Dirk Müller diff --git a/python-simplejson.spec b/python-simplejson.spec index db1a84f..ba6211a 100644 --- a/python-simplejson.spec +++ b/python-simplejson.spec @@ -1,7 +1,7 @@ # # spec file for package python-simplejson # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-simplejson -Version: 3.19.3 +Version: 3.20.1 Release: 0 Summary: Extensible JSON encoder/decoder for Python License: AFL-2.1 OR MIT @@ -26,8 +26,10 @@ Group: Development/Languages/Python URL: https://github.com/simplejson/simplejson Source: https://files.pythonhosted.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -42,10 +44,10 @@ a speed boost. %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand rm -rf %{buildroot}%{$python_sitearch}/simplejson/tests/ %python_expand %fdupes %{buildroot}%{$python_sitearch} @@ -55,6 +57,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %files %{python_files} %license LICENSE.txt %doc CHANGES.txt README.rst -%{python_sitearch}/simplejson* +%{python_sitearch}/simplejson +%{python_sitearch}/simplejson-%{version}.dist-info %changelog diff --git a/simplejson-3.19.3.tar.gz b/simplejson-3.19.3.tar.gz deleted file mode 100644 index 5b1e7a5..0000000 --- a/simplejson-3.19.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e086896c36210ab6050f2f9f095a5f1e03c83fa0e7f296d6cba425411364680 -size 85237 diff --git a/simplejson-3.20.1.tar.gz b/simplejson-3.20.1.tar.gz new file mode 100644 index 0000000..a332979 --- /dev/null +++ b/simplejson-3.20.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e64139b4ec4f1f24c142ff7dcafe55a22b811a74d86d66560c8815687143037d +size 85591