Hello community, here is the log from the commit of package python-ujson for openSUSE:Factory checked in at 2020-03-11 18:49:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ujson (Old) and /work/SRC/openSUSE:Factory/.python-ujson.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ujson" Wed Mar 11 18:49:28 2020 rev:6 rq:783436 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ujson/python-ujson.changes 2019-05-13 14:52:33.735094321 +0200 +++ /work/SRC/openSUSE:Factory/.python-ujson.new.3160/python-ujson.changes 2020-03-11 18:51:22.851568496 +0100 @@ -1,0 +2,60 @@ +Tue Mar 10 13:37:34 UTC 2020 - [email protected] + +- version update to 2.0.1 + Added + Include license file in manifest (#288) @kszucs + added "static" to C functions, where possible (#238) @WGH- + bring back benchmark introduction (#234) @rdpate + Add syntax highlighting to README (#255) @adamchainz + Test on new Travis CPUs (#350) @hugovk + Test on GitHub Actions (#348) @hugovk + Test on Python 3.9-dev to avoid surprises (#349) @hugovk + Use Release Drafter to draft releases (#365) @hugovk + Deploy from GitHub Actions instead of Travis CI (#364) @hugovk + Autodeploy to PyPI from Travis CI (#357) @hugovk + Lint with pre-commit: Black, isort, Flake8 (#354) @hugovk + Changed + Use Google's double-conversion lib to fix floating-point precision when converting doubles to and from strings, improves double encoding by 4-5x (eb7d894) @Jahaja + Reduce default buffer on stack size (#281) @ncopa + Update ultrajsondec.c (#260) @markpiekarz + Indent dict values (#217) @orivej + Test with pytest (#363) @hugovk + Less Travis (#361) @hugovk + Update links (#356) @hugovk + Tests: Remove unused, unmaintained blist (#362) @hugovk + Only deploy sdist from Travis CI (#359) @hugovk + Removed + Drop EOL Python 2.5-2.6, 3.2-3.4 and add 3.7-3.8 (#298) @hugovk + Remove serialization of date/datetime objects (50181f0) @Jahaja + Remove double_precision encoding option and precise_float decoding option (eb7d894) @Jahaja + Remove generic serialization of objects/iterables (53f85b1) @Jahaja + Remove support for __json__ method on str (5f98f01) @Jahaja + Remove blist tests (3a6ba52) @Jahaja + Fixed + Fix for sort_keys bug and a typo (870ee48) @Jahaja + Fix for overflowing long causing invalid JSON (409c6d4) @Jahaja + Following std JSON handling of None dict key (ac4637f) + Fix for incorrect order when using OrderedDict (c9f8318) @Jahaja + Fix reference counting bug for dict values (#353) @richafrank + Fix a couple of memory leaks. (#257) @borman + Correct JSON decoding implementation to die on trailing commas in Objects (#323) @timdawborn + fixup dconv_wrapper linkage (#312) @tclh123 + Fix Warning: 'classifiers' should be a list, got type 'filter' (#351) @hugovk + Remove redundant license parameter (#341) @blag + do not forcefully remove the build directory manually (fix #179) (#207) @anthraxx + Merged pull request to fix memory leak. (#1) @Adriandorr + http -> https (#299) @hugovk +- added patches + fix unbundle double-conversion + + python-ujson-system-double-conversion.patch +- deleted patches + - do_not_remove_build_directory_manually.patch (upstreamed) + - no-unittest2.patch (upstreamed) + - ujson-1.35-fix-for-overflowing-long.patch (upstreamed) + - ujson-1.35-fix-ordering-of-orderdict.patch (upstreamed) + - ujson-1.35-sort_keys-segfault.patch (upstreamed) + - ujson-1.35-standard-handling-of-none.patch (upstreamed) + - ujson-1.35-test-depricationwarning.patch (upstreamed) + - ujson-1.35-use-static-where-possible.patch (upstreamed) + +------------------------------------------------------------------- Old: ---- do_not_remove_build_directory_manually.patch no-unittest2.patch ujson-1.35-fix-for-overflowing-long.patch ujson-1.35-fix-ordering-of-orderdict.patch ujson-1.35-sort_keys-segfault.patch ujson-1.35-standard-handling-of-none.patch ujson-1.35-test-depricationwarning.patch ujson-1.35-use-static-where-possible.patch ujson-1.35.tar.gz New: ---- python-ujson-system-double-conversion.patch ujson-2.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ujson.spec ++++++ --- /var/tmp/diff_new_pack.MTnv9d/_old 2020-03-11 18:51:23.751568899 +0100 +++ /var/tmp/diff_new_pack.MTnv9d/_new 2020-03-11 18:51:23.755568900 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ujson # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,29 +17,27 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-ujson -Version: 1.35 +Version: 2.0.1 Release: 0 Summary: JSON encoder and decoder for Python License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/esnme/ultrajson Source: https://files.pythonhosted.org/packages/source/u/ujson/ujson-%{version}.tar.gz -# PATCH-FIX-UPSTREAM -- do_not_remove_build_directory_manually.patch -- https://github.com/esnme/ultrajson/issues/179 -Patch0: do_not_remove_build_directory_manually.patch -Patch1: no-unittest2.patch -Patch2: ujson-1.35-fix-for-overflowing-long.patch -Patch3: ujson-1.35-fix-ordering-of-orderdict.patch -Patch4: ujson-1.35-sort_keys-segfault.patch -Patch5: ujson-1.35-standard-handling-of-none.patch -Patch6: ujson-1.35-test-depricationwarning.patch -Patch7: ujson-1.35-use-static-where-possible.patch +# unbundle double-conversion (https://github.com/ultrajson/ultrajson/issues/375) +Patch0: python-ujson-system-double-conversion.patch BuildRequires: %{python_module blist} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: double-conversion-devel BuildRequires: fdupes +BuildRequires: gcc-c++ BuildRequires: python-rpm-macros %python_subpackages @@ -53,6 +51,7 @@ %autopatch -p1 %build +rm -r deps export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build @@ -61,10 +60,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -pushd tests -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -$python tests.py -} +%pytest_arch %files %{python_files} %doc README.rst ++++++ python-ujson-system-double-conversion.patch ++++++ Index: ujson-2.0.1/setup.py =================================================================== --- ujson-2.0.1.orig/setup.py 2020-03-08 09:02:52.000000000 +0100 +++ ujson-2.0.1/setup.py 2020-03-10 15:01:45.077782242 +0100 @@ -33,9 +33,9 @@ module1 = Extension( "./lib/ultrajsonenc.c", "./lib/ultrajsondec.c", ], - include_dirs=["./python", "./lib", "./deps/double-conversion/double-conversion"], + include_dirs=["./python", "./lib", "/usr/include/double-conversion"], extra_compile_args=["-D_GNU_SOURCE"], - extra_link_args=["-lstdc++", "-lm"], + extra_link_args=["-lstdc++", "-lm", "-ldouble-conversion"], ) ++++++ ujson-1.35.tar.gz -> ujson-2.0.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-ujson/ujson-1.35.tar.gz /work/SRC/openSUSE:Factory/.python-ujson.new.3160/ujson-2.0.1.tar.gz differ: char 5, line 1
