Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cramjam for openSUSE:Factory checked in at 2024-02-20 21:15:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cramjam (Old) and /work/SRC/openSUSE:Factory/.python-cramjam.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cramjam" Tue Feb 20 21:15:02 2024 rev:6 rq:1147605 version:2.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cramjam/python-cramjam.changes 2023-01-16 18:01:51.255809817 +0100 +++ /work/SRC/openSUSE:Factory/.python-cramjam.new.1706/python-cramjam.changes 2024-02-20 21:15:19.412056237 +0100 @@ -2 +2,48 @@ -Fri Jan 13 11:04:41 UTC 2023 - Ben Greiner <[email protected]> +Mon Feb 19 09:16:39 UTC 2024 - Atri Bhattacharya <[email protected]> + +- Update to version 2.8.1: + * Experimental support for LZMA / XZ codec + (gh#milesgranger/cramjam#127). + * In libcramjam, bump zstd to 0.13.0 (to go with zstd-safe + 7.0.0) (gh#milesgranger/cramjam#128). + * Bump rustix from 0.37.17 to 0.38.28 in /cramjam-python + (gh#milesgranger/cramjam#122). +- Changes from version 2.8.0: + * Bump zstd from 1.5.0.2 to 1.5.4.0 in /cramjam-python + (gh#milesgranger/cramjam#108). + * Simpler isinstance() calls (gh#milesgranger/cramjam#111). + * Support Python 3.12 (gh#milesgranger/cramjam#113). + * Bump rustix from 0.37.18 to 0.37.25 + (gh#milesgranger/cramjam#114). + * Fix docstring for lz4.compress_block_bound + (gh#milesgranger/cramjam#117). + * Use pyo3 0.20 (gh#milesgranger/cramjam#118). + * Make libcramjam a better libcramjam w/ C API + (gh#milesgranger/cramjam#119). + * Fix missing license file in the Python sdist and bdist/wheel + (gh#milesgranger/cramjam#124). + * Support independent mode in LZ4 compressor + (gh#milesgranger/cramjam#125). +- Changes from version 2.7.0: + * Bump bzip2 from 0.4.3 to 0.4.4 (gh#milesgranger/cramjam#94). + * Refactoring, release GIL, Decompressor, remove mimalloc, etc. + (gh#milesgranger/cramjam#96). + * Accept anything with Buffer Protocol, remove numpy + (gh#milesgranger/cramjam#100). + * Refactor into workspaces: libcramjam, cramjam-python, and + cramjam-cli (gh#milesgranger/cramjam#101). + * Basic CLI improvements (gh#milesgranger/cramjam#103). + * Fix cramjam-cli decompress bug (gh#milesgranger/cramjam#104). + * Support all buffer types where c-contiguous + (gh#milesgranger/cramjam#105). + * Fixes for maturin v1 --universal2 removal + (gh#milesgranger/cramjam#109). +- pyrus-cramjam is now simply cramjam; adapt to name change in + spec and _service file. +- Drop cargo_config: Updated rust packaging services include it in + vendor.tar.xz. +- Split out test into multibuild flavor since it takes a long time + to run (about an hour). + +------------------------------------------------------------------- +Fr- Jan 13 11:04:41 UTC 2023 - Ben Greiner <[email protected]> Old: ---- cargo_config pyrus-cramjam-2.6.2.tar.xz New: ---- _multibuild cramjam-2.8.1.obscpio cramjam-2.8.1.tar.xz cramjam.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cramjam.spec ++++++ --- /var/tmp/diff_new_pack.CVOEh6/_old 2024-02-20 21:15:25.712300715 +0100 +++ /var/tmp/diff_new_pack.CVOEh6/_new 2024-02-20 21:15:25.720301025 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cramjam # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,25 +16,38 @@ # -# Adjust the version in _service and use `rm -rf pyrus-cramjam; osc service runall` in order to update -Name: python-cramjam -Version: 2.6.2 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%bcond_without test +%define psuffix -test +%else +%bcond_with test +%define psuffix %{nil} +%endif + +# Adjust the version in _service and use `rm -rf cramjam; osc service runall` in order to update +%define modname cramjam +Name: python-cramjam%{psuffix} +Version: 2.8.1 Release: 0 Summary: Thin Python bindings to de/compression algorithms in Rust License: MIT -URL: https://github.com/milesgranger/pyrus-cramjam -Source: pyrus-cramjam-%{version}.tar.xz +URL: https://github.com/milesgranger/cramjam +Source: %{modname}-%{version}.tar.xz Source1: vendor.tar.xz -Source2: cargo_config BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module maturin >= 0.13} BuildRequires: %{python_module pip} BuildRequires: cargo-packaging BuildRequires: python-rpm-macros # SECTION test dependencies +%if %{with test} +BuildRequires: %{python_module %{modname} = %{version}} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module memory_profiler} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} +%endif # /SECTION BuildRequires: fdupes %python_subpackages @@ -44,21 +57,31 @@ Allows for using algorithms such as Snappy, without any system dependencies. %prep -%setup -q -n pyrus-cramjam-%{version} -a1 -cp %{SOURCE2} .cargo/config +%setup -q -n %{modname}-%{version} -a1 %build +%if %{without test} +pushd %{modname}-python %pyproject_wheel +%endif %install +%if %{without test} +pushd %{modname}-python %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%endif %check +%if %{with test} +pushd %{modname}-python %pytest_arch --ignore benchmarks +%endif +%if %{without test} %files %{python_files} %license LICENSE -%{python_sitearch}/cramjam -%{python_sitearch}/cramjam-%{version}.dist-info +%{python_sitearch}/%{modname} +%{python_sitearch}/%{modname}-%{version}.dist-info +%endif ++++++ _multibuild ++++++ <?xml version="1.0"?> <multibuild> <package>test</package> </multibuild> ++++++ _service ++++++ --- /var/tmp/diff_new_pack.CVOEh6/_old 2024-02-20 21:15:25.772303044 +0100 +++ /var/tmp/diff_new_pack.CVOEh6/_new 2024-02-20 21:15:25.776303198 +0100 @@ -1,26 +1,26 @@ <services> - <service mode="disabled" name="obs_scm"> - <param name="url">https://github.com/milesgranger/pyrus-cramjam.git</param> + <service mode="manual" name="obs_scm"> + <param name="url">https://github.com/milesgranger/cramjam.git</param> <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> <!-- can change back to master when there are no .post tags on top of the branch --> - <param name="revision">v2.6.2</param> + <param name="revision">v2.8.1</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> </service> - <service mode="disabled" name="tar" /> - <service mode="disabled" name="recompress"> + <service mode="manual" name="tar" /> + <service mode="manual" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service mode="disabled" name="set_version"/> - <service name="cargo_vendor" mode="disabled"> - <param name="srcdir">pyrus-cramjam</param> + <service mode="manual" name="set_version"/> + <service name="cargo_vendor" mode="manual"> + <param name="srcdir">cramjam</param> <param name="compression">xz</param> <param name="update">true</param> </service> - <service name="cargo_audit" mode="disabled"> - <param name="srcdir">pyrus-cramjam</param> + <service name="cargo_audit" mode="manual"> + <param name="srcdir">cramjam</param> </service> </services> ++++++ pyrus-cramjam-2.6.2.tar.xz -> cramjam-2.8.1.tar.xz ++++++ ++++ 86661 lines of diff (skipped) ++++++ cramjam.obsinfo ++++++ name: cramjam version: 2.8.1 mtime: 1706284751 commit: 91a329fd1e4c8dbabc484ec1d711a20add2fcc65 ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/python-cramjam/vendor.tar.xz /work/SRC/openSUSE:Factory/.python-cramjam.new.1706/vendor.tar.xz differ: char 8, line 1
