Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-lz4 for openSUSE:Factory 
checked in at 2025-09-11 14:38:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lz4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-lz4.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-lz4"

Thu Sep 11 14:38:11 2025 rev:15 rq:1303578 version:4.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lz4/python-lz4.changes    2024-01-15 
22:11:04.296940473 +0100
+++ /work/SRC/openSUSE:Factory/.python-lz4.new.1977/python-lz4.changes  
2025-09-11 14:39:21.119825702 +0200
@@ -1,0 +2,9 @@
+Tue Sep  9 14:55:40 UTC 2025 - Markéta Machová <[email protected]>
+
+- Update to 4.4.4
+  * Various doc fixes
+  * Update CI to newest actions and Python 3.13
+  * Revert artifact renaming
+- Add py314.patch to fix tests with Python 3.14
+
+-------------------------------------------------------------------

Old:
----
  lz4-4.3.3.tar.gz

New:
----
  lz4-4.4.4.tar.gz
  py314.patch

----------(New B)----------
  New:  * Revert artifact renaming
- Add py314.patch to fix tests with Python 3.14
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-lz4.spec ++++++
--- /var/tmp/diff_new_pack.Ssb2pR/_old  2025-09-11 14:39:21.803854629 +0200
+++ /var/tmp/diff_new_pack.Ssb2pR/_new  2025-09-11 14:39:21.803854629 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-lz4
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,15 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-lz4
-Version:        4.3.3
+Version:        4.4.4
 Release:        0
 Summary:        LZ4 Bindings for Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/python-lz4/python-lz4
 Source:         
https://files.pythonhosted.org/packages/source/l/lz4/lz4-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM https://github.com/python-lz4/python-lz4/pull/303 Correct 
the import of _compression for Python 3.14
+Patch0:         py314.patch
 BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pkgconfig}
@@ -42,7 +44,7 @@
 This package provides python bindings for the lz4 compression library.
 
 %prep
-%setup -q -n lz4-%{version}
+%autosetup -p1 -n lz4-%{version}
 
 %build
 # not neccessary, but ensure we use system lib

++++++ lz4-4.3.3.tar.gz -> lz4-4.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lz4-4.3.3/.github/workflows/build_dist.yml 
new/lz4-4.4.4/.github/workflows/build_dist.yml
--- old/lz4-4.3.3/.github/workflows/build_dist.yml      2024-01-01 
23:38:06.000000000 +0100
+++ new/lz4-4.4.4/.github/workflows/build_dist.yml      2025-04-02 
00:34:29.000000000 +0200
@@ -9,77 +9,127 @@
     types: [created]
   pull_request:
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   sdist:
     name: Build source distribution
     runs-on: ubuntu-latest
     steps:
-    - name: Check out repository
-      uses: actions/checkout@v3
-      with:
-        fetch-depth: 0  # To ensure tags are retrieved to enabe setuptools_scm 
to work
-    - name: Install Python 3.x
-      uses: actions/setup-python@v4
-      with:
-        python-version: 3.x
-    - name: Install setuptools
-      run: pip install setuptools
-    - name: Build sdist
-      run: python setup.py sdist
-    - name: Save sdist
-      uses: actions/upload-artifact@v3
-      with:
-        path: dist/*.tar.gz
+      - name: Check out repository
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0 # To ensure tags are retrieved to enabe 
setuptools_scm to work
+      - name: Install Python 3.x
+        uses: actions/setup-python@v5
+        with:
+          python-version: 3.x
+      - name: Build sdist
+        run: pipx run build --sdist
+      - name: Save sdist
+        uses: actions/upload-artifact@v4
+        with:
+          name: cibw-sdist.tar.gz
+          path: dist/*.tar.gz
 
   wheels:
     name: Build wheels on ${{ matrix.os }} CIBW_BUILD=${{ matrix.cibw_build }}
     runs-on: ${{ matrix.os }}
     strategy:
+      # since multiple builds run at the same time, cancelling them all when 
one
+      # fails is wasteful and forces handling build problems one by one instead
+      # of showing a "full picture"
+      fail-fast: false
       matrix:
-        os: [ubuntu-latest, macOS-latest, windows-latest] 
-        cibw_build: [cp38-*, cp39-*, cp310-*, cp311-*, cp312-*]
+        os:
+          - ubuntu-latest
+          - macos-13 # x86
+          - macos-latest # arm
+          - windows-latest
+        cibw_build: [cp39-*, cp310-*, cp311-*, cp312-*, cp313-*]
     steps:
       - name: Check out repository
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
-          fetch-depth: 0  # To ensure tags are retrieved to enabe 
setuptools_scm to work
+          fetch-depth: 0 # To ensure tags are retrieved to enabe 
setuptools_scm to work
       - name: Install Python 3.x
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         with:
           python-version: 3.x
-      - name: Set up QEMU  # Needed to build aarch64 wheels
+      - name: Set up QEMU # Needed to build aarch64 wheels
         if: runner.os == 'Linux'
-        uses: docker/setup-qemu-action@v2
+        uses: docker/setup-qemu-action@v3
         with:
           platforms: all
       - name: Build wheels
-        uses: pypa/[email protected]
+        uses: pypa/[email protected]
+        env:
+          CIBW_ENVIRONMENT: PYLZ4_USE_SYSTEM_LZ4="False"
+          # CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
+          CIBW_ARCHS_LINUX: "x86_64 i686"
+          CIBW_ARCHS_MACOS: "auto64" # since we have both runner arches
+          CIBW_ARCHS_WINDOWS: "AMD64 x86 ARM64"
+          CIBW_BUILD: ${{ matrix.cibw_build }}
+          CIBW_SKIP: "cp*-musllinux*"
+          CIBW_TEST_COMMAND: "tox -c {project}"
+          CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64 
*-*linux_{ppc64le,s390x} *-win_arm64"
+          CIBW_BEFORE_BUILD: "python -m pip install -U pip && python -m pip 
install tox"
+      - name: Save wheels
+        uses: actions/upload-artifact@v4
+        with:
+          name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
+          path: ./wheelhouse/*.whl
+
+  wheels_linux_arm:
+    name: Build wheels on ${{ matrix.os }} CIBW_BUILD=${{ matrix.cibw_build }}
+    runs-on: ${{ matrix.os }}
+    strategy:
+      # since multiple builds run at the same time, cancelling them all when 
one
+      # fails is wasteful and forces handling build problems one by one instead
+      # of showing a "full picture"
+      fail-fast: false
+      matrix:
+        os:
+          - ubuntu-24.04-arm
+        cibw_build: [cp39-*, cp310-*, cp311-*, cp312-*, cp313-*]
+    steps:
+      - name: Check out repository
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0 # To ensure tags are retrieved to enabe 
setuptools_scm to work
+      - name: Install Python 3.x
+        uses: actions/setup-python@v5
+        with:
+          python-version: 3.x
+      - name: Build wheels
+        uses: pypa/[email protected]
         env:
           CIBW_ENVIRONMENT: PYLZ4_USE_SYSTEM_LZ4="False"
-          CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
-          CIBW_ARCHS_MACOS: "x86_64 arm64" # universal2"
-          CIBW_ARCHS_WINDOWS: "AMD64 x86"
+          CIBW_ARCHS_LINUX: "aarch64 armv7l"
           CIBW_BUILD: ${{ matrix.cibw_build }}
           CIBW_SKIP: "cp*-musllinux*"
           CIBW_TEST_COMMAND: "tox -c {project}"
-          CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64 
*-*linux_{aarch64,ppc64le,s390x}"
           CIBW_BEFORE_BUILD: "python -m pip install -U pip && python -m pip 
install tox"
       - name: Save wheels
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v4
         with:
-          path: wheelhouse/*.whl
+          name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
+          path: ./wheelhouse/*.whl
 
   upload_pypi:
     name: Upload to PyPI
-    needs: [sdist, wheels]
+    needs: [sdist, wheels, wheels_linux_arm]
     runs-on: ubuntu-latest
     if: startsWith(github.ref, 'refs/tags/')
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
-          name: artifact
+          pattern: cibw-*
           path: dist
+          merge-multiple: true
       - uses: pypa/gh-action-pypi-publish@release/v1
         with:
           password: ${{ secrets.PYPI_API_TOKEN }}
-          skip_existing: true
+          skip-existing: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lz4-4.3.3/PKG-INFO new/lz4-4.4.4/PKG-INFO
--- old/lz4-4.3.3/PKG-INFO      2024-01-01 23:38:11.718844700 +0100
+++ new/lz4-4.4.4/PKG-INFO      2025-04-02 00:34:34.668321100 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: lz4
-Version: 4.3.3
+Version: 4.4.4
 Summary: LZ4 Bindings for Python
 Home-page: https://github.com/python-lz4/python-lz4
 Author: Jonathan Underwood
@@ -10,12 +10,12 @@
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: C
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
-Requires-Python: >=3.8
+Classifier: Programming Language :: Python :: 3.13
+Requires-Python: >=3.9
 License-File: LICENSE
 Provides-Extra: tests
 Requires-Dist: pytest!=3.3.0; extra == "tests"
@@ -26,6 +26,15 @@
 Requires-Dist: sphinx_bootstrap_theme; extra == "docs"
 Provides-Extra: flake8
 Requires-Dist: flake8; extra == "flake8"
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: home-page
+Dynamic: license-file
+Dynamic: provides-extra
+Dynamic: requires-python
+Dynamic: summary
 
 ==========
 python-lz4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lz4-4.3.3/docs/install.rst 
new/lz4-4.4.4/docs/install.rst
--- old/lz4-4.3.3/docs/install.rst      2024-01-01 23:38:06.000000000 +0100
+++ new/lz4-4.4.4/docs/install.rst      2025-04-02 00:34:29.000000000 +0200
@@ -40,7 +40,7 @@
 On systems for which pre-built wheels are available, the following command will
 force a local compilation of the extension modules from source::
 
-  $ pip install --no-binary --no-cache-dir lz4
+  $ pip install --no-binary :all: --no-cache-dir lz4
 
 The package can also be installed manually from a checkout of the source code
 git repository::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lz4-4.3.3/docs/lz4.block.rst 
new/lz4-4.4.4/docs/lz4.block.rst
--- old/lz4-4.3.3/docs/lz4.block.rst    2024-01-01 23:38:06.000000000 +0100
+++ new/lz4-4.4.4/docs/lz4.block.rst    2025-04-02 00:34:29.000000000 +0200
@@ -84,7 +84,7 @@
    True
 
 In this example we are catching the `lz4.block.LZ4BlockError`
-exception. This exception is raisedd if the LZ4 library call fails,
+exception. This exception is raised if the LZ4 library call fails,
 which can be caused by either the buffer used to store the
 uncompressed data (as set by `usize`) being too small, or the input
 compressed data being invalid - it is not possible to distinguish the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lz4-4.3.3/lz4/version.py new/lz4-4.4.4/lz4/version.py
--- old/lz4-4.3.3/lz4/version.py        2024-01-01 23:38:11.000000000 +0100
+++ new/lz4-4.4.4/lz4/version.py        2025-04-02 00:34:34.000000000 +0200
@@ -1,8 +1,13 @@
-# file generated by setuptools_scm
+# file generated by setuptools-scm
 # don't change, don't track in version control
+
+__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
+
 TYPE_CHECKING = False
 if TYPE_CHECKING:
-    from typing import Tuple, Union
+    from typing import Tuple
+    from typing import Union
+
     VERSION_TUPLE = Tuple[Union[int, str], ...]
 else:
     VERSION_TUPLE = object
@@ -12,5 +17,5 @@
 __version_tuple__: VERSION_TUPLE
 version_tuple: VERSION_TUPLE
 
-__version__ = version = '4.3.3'
-__version_tuple__ = version_tuple = (4, 3, 3)
+__version__ = version = '4.4.4'
+__version_tuple__ = version_tuple = (4, 4, 4)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lz4-4.3.3/lz4.egg-info/PKG-INFO 
new/lz4-4.4.4/lz4.egg-info/PKG-INFO
--- old/lz4-4.3.3/lz4.egg-info/PKG-INFO 2024-01-01 23:38:11.000000000 +0100
+++ new/lz4-4.4.4/lz4.egg-info/PKG-INFO 2025-04-02 00:34:34.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: lz4
-Version: 4.3.3
+Version: 4.4.4
 Summary: LZ4 Bindings for Python
 Home-page: https://github.com/python-lz4/python-lz4
 Author: Jonathan Underwood
@@ -10,12 +10,12 @@
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: C
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
-Requires-Python: >=3.8
+Classifier: Programming Language :: Python :: 3.13
+Requires-Python: >=3.9
 License-File: LICENSE
 Provides-Extra: tests
 Requires-Dist: pytest!=3.3.0; extra == "tests"
@@ -26,6 +26,15 @@
 Requires-Dist: sphinx_bootstrap_theme; extra == "docs"
 Provides-Extra: flake8
 Requires-Dist: flake8; extra == "flake8"
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: home-page
+Dynamic: license-file
+Dynamic: provides-extra
+Dynamic: requires-python
+Dynamic: summary
 
 ==========
 python-lz4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lz4-4.3.3/setup.py new/lz4-4.4.4/setup.py
--- old/lz4-4.3.3/setup.py      2024-01-01 23:38:06.000000000 +0100
+++ new/lz4-4.4.4/setup.py      2025-04-02 00:34:29.000000000 +0200
@@ -171,7 +171,7 @@
     use_scm_version={
         'write_to': "lz4/version.py",
     },
-    python_requires=">=3.8",
+    python_requires=">=3.9",
     setup_requires=[
         'setuptools_scm',
         'pkgconfig',
@@ -200,10 +200,10 @@
         'Intended Audience :: Developers',
         'Programming Language :: C',
         'Programming Language :: Python',
-        'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
         'Programming Language :: Python :: 3.11',
         'Programming Language :: Python :: 3.12',
+        'Programming Language :: Python :: 3.13',
     ],
 )

++++++ py314.patch ++++++
>From 53819a9e78615bf61dd6d8f2c92274af0c397c2e Mon Sep 17 00:00:00 2001
From: Karolina Surma <[email protected]>
Date: Thu, 29 May 2025 12:06:30 +0200
Subject: [PATCH] Correct the import of _compression for Python 3.14

This is backwards compatible with all supported versions of Python.
---
 lz4/frame/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lz4/frame/__init__.py b/lz4/frame/__init__.py
index 00f3e64..60bf7dc 100644
--- a/lz4/frame/__init__.py
+++ b/lz4/frame/__init__.py
@@ -25,9 +25,9 @@
 __doc__ = _doc
 
 try:
-    import _compression   # Python 3.6 and later
+    import compression._common._streams as _compression  # Python 3.14
 except ImportError:
-    from . import _compression
+    import _compression   # Python 3.6 - 3.13
 
 
 BLOCKSIZE_DEFAULT = _BLOCKSIZE_DEFAULT

Reply via email to