Accepting request 1236919 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1236919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-orjson?expand=0&rev=10
This commit is contained in:
Ana Guerrero 2025-01-12 10:09:19 +00:00 committed by Git OBS Bridge
commit edeac2ad8b
8 changed files with 33 additions and 15 deletions

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9be0a284552c5344637c4897a3ad515da52e53a779ff8f1b4123a69afbfe6a37
size 701460

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a78bbda3aea0f9f079057ee1ee8a1ecf790d4f1af88dd67493c6b8ee52506ff
size 5438647

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7ba4a55313e7ee8dec15aa2d7872363e9cf47ed9c9184714365b968eaff1a0c
size 244668

3
orjson-3.10.14.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf31f6f071a6b8e7aa1ead1fa27b935b48d00fbfa6a28ce856cfff2d5dd68eed
size 5282116

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Jan 10 14:28:05 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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 <opensuse_buildservice@ojkastl.de>

View File

@ -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}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2797b74bdc5775e45ae3ab6f2165441056828a3296c5b1b59d1c99be9ab30a3f
size 2401672
oid sha256:a6554e6d134a0ae070cfd41ec9cb8e77c1b1b1e0f99f00160505927d8dfbb2ea
size 2592172