diff --git a/PACKAGING_README.md b/PACKAGING_README.md index ab23a39..0fe2fd0 100644 --- a/PACKAGING_README.md +++ b/PACKAGING_README.md @@ -1,6 +1,7 @@ # Packaging python-orjson 1. Change the version in the spec file -2. Run `osc service runall download_files && sh ./devendor-sdist.sh && osc service runall cargo_vendor` -3. Create a changelog entry -4. Commit the changes as usual +2. Delete the old sdist +3. Run `osc service runall download_files && sh ./devendor-sdist.sh && osc service runall cargo_vendor` +4. Create a changelog entry +5. Commit the changes as usual diff --git a/orjson-3.10.12-devendored.tar.xz b/orjson-3.10.12-devendored.tar.xz deleted file mode 100644 index 32799a8..0000000 --- a/orjson-3.10.12-devendored.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9be0a284552c5344637c4897a3ad515da52e53a779ff8f1b4123a69afbfe6a37 -size 701460 diff --git a/orjson-3.10.12.tar.gz b/orjson-3.10.12.tar.gz deleted file mode 100644 index bdde574..0000000 --- a/orjson-3.10.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a78bbda3aea0f9f079057ee1ee8a1ecf790d4f1af88dd67493c6b8ee52506ff -size 5438647 diff --git a/orjson-3.10.14-devendored.tar.xz b/orjson-3.10.14-devendored.tar.xz new file mode 100644 index 0000000..99cd686 --- /dev/null +++ b/orjson-3.10.14-devendored.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7ba4a55313e7ee8dec15aa2d7872363e9cf47ed9c9184714365b968eaff1a0c +size 244668 diff --git a/orjson-3.10.14.tar.gz b/orjson-3.10.14.tar.gz new file mode 100644 index 0000000..1e0518c --- /dev/null +++ b/orjson-3.10.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf31f6f071a6b8e7aa1ead1fa27b935b48d00fbfa6a28ce856cfff2d5dd68eed +size 5282116 diff --git a/python-orjson.changes b/python-orjson.changes index 28238d7..f5174ab 100644 --- a/python-orjson.changes +++ b/python-orjson.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Jan 10 14:28:05 UTC 2025 - Ben Greiner + +- Update to 3.10.14 + * Specify build system dependency on maturin>=1,<2 again. + * Allocate memory using PyMem_Malloc() and similar APIs for + integration with pymalloc, mimalloc, and tracemalloc. + * Source distribution does not ship compressed test documents and + relevant tests skip if fixtures are not present. + * Build now depends on Rust 1.82 or later instead of 1.72. +- Release 3.10.13 + * Fix compatibility with maturin introducing a breaking change in + 1.8.0 and specify a fixed version of maturin. Projects relying + on any previous version being buildable from source by end + users (via PEP 517) must upgrade to at least this version. +- Remove pendulum from tests: Not desired in Ring1 and not + maintained upstream. It's only supported on x86_64. + ------------------------------------------------------------------- Mon Dec 2 11:05:13 UTC 2024 - Johannes Kastl diff --git a/python-orjson.spec b/python-orjson.spec index cfe2e0d..7a401a5 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -1,7 +1,7 @@ # # spec file for package python-orjson # -# 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,12 +18,12 @@ %{?sle15_python_module_pythons} Name: python-orjson -Version: 3.10.12 +Version: 3.10.14 Release: 0 Summary: Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy License: Apache-2.0 OR MIT URL: https://github.com/ijl/orjson -# Update: Run `osc service runall download_files && sh ./devendor-sdist.sh && osc service runall cargo_vendor` +# Update: Change version and run `osc rm orjson-*.tar.gz && osc service runall download_files && sh ./devendor-sdist.sh && osc service runall cargo_vendor` Source0: orjson-%{version}-devendored.tar.xz Source1: vendor.tar.xz Source2: https://files.pythonhosted.org/packages/source/o/orjson/orjson-%{version}.tar.gz @@ -39,7 +39,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pendulum} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} diff --git a/vendor.tar.xz b/vendor.tar.xz index 396a13c..3e3e778 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2797b74bdc5775e45ae3ab6f2165441056828a3296c5b1b59d1c99be9ab30a3f -size 2401672 +oid sha256:a6554e6d134a0ae070cfd41ec9cb8e77c1b1b1e0f99f00160505927d8dfbb2ea +size 2592172