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 2021-07-20 15:39:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cramjam (Old)
 and      /work/SRC/openSUSE:Factory/.python-cramjam.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cramjam"

Tue Jul 20 15:39:30 2021 rev:2 rq:907191 version:2.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cramjam/python-cramjam.changes    
2021-05-19 17:49:43.569447573 +0200
+++ /work/SRC/openSUSE:Factory/.python-cramjam.new.2632/python-cramjam.changes  
2021-07-20 15:40:14.693556169 +0200
@@ -1,0 +2,11 @@
+Mon Jul 19 19:37:30 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.3.2
+  * no core library code changes
+- Update filelist due to updated setuptools: not a single .so but
+  a full module directory now.
+- run cargo crate service: update vendored rust crates
+- re-activate cargo audit service
+  * gh#openSUSE/obs-service-cargo_audit#1 is fixed
+
+-------------------------------------------------------------------

Old:
----
  pyrus-cramjam-2.3.1.tar.xz

New:
----
  pyrus-cramjam-2.3.2.tar.xz

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

Other differences:
------------------
++++++ python-cramjam.spec ++++++
--- /var/tmp/diff_new_pack.u9uR69/_old  2021-07-20 15:40:15.489557592 +0200
+++ /var/tmp/diff_new_pack.u9uR69/_new  2021-07-20 15:40:15.489557592 +0200
@@ -20,7 +20,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python36 1
 Name:           python-cramjam
-Version:        2.3.1
+Version:        2.3.2
 Release:        0
 Summary:        Thin Python bindings to de/compression algorithms in Rust
 License:        MIT
@@ -29,9 +29,9 @@
 Source:         pyrus-cramjam-%{version}.tar.xz
 Source1:        vendor.tar.xz
 Source2:        cargo_config
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module maturin}
+BuildRequires:  %{python_module pip}
+BuildRequires:  python-rpm-macros
 BuildRequires:  rust-packaging
 # SECTION test dependencies
 BuildRequires:  %{python_module numpy}
@@ -60,7 +60,7 @@
 
 %files %{python_files}
 %license LICENSE
-%{python_sitearch}/cramjam*.so
+%{python_sitearch}/cramjam
 %{python_sitearch}/cramjam-%{version}*-info
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.u9uR69/_old  2021-07-20 15:40:15.517557643 +0200
+++ /var/tmp/diff_new_pack.u9uR69/_new  2021-07-20 15:40:15.517557643 +0200
@@ -13,12 +13,11 @@
     <param name="compression">xz</param>
   </service>
   <service mode="disabled" name="set_version"/>
-  <!-- no cargo.lock, wrong parameters 
(https://github.com/openSUSE/obs-service-cargo_audit/issues/1)
-  service name="cargo_audit" mode="disabled">
+  <service name="cargo_audit" mode="disabled">
      <param name="srcdir">pyrus-cramjam</param>
-  </service -->
+  </service>
   <service name="cargo_vendor" mode="disabled">
      <param name="srcdir">pyrus-cramjam</param>
      <param name="compression">xz</param>
   </service>
-</services>
\ No newline at end of file
+</services>

++++++ pyrus-cramjam-2.3.1.tar.xz -> pyrus-cramjam-2.3.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/.github/workflows/CI.yml 
new/pyrus-cramjam-2.3.2/.github/workflows/CI.yml
--- old/pyrus-cramjam-2.3.1/.github/workflows/CI.yml    2021-05-16 
21:00:34.000000000 +0200
+++ new/pyrus-cramjam-2.3.2/.github/workflows/CI.yml    2021-07-13 
14:28:42.000000000 +0200
@@ -35,16 +35,18 @@
       - name: Build wheels - x86_64
         uses: messense/maturin-action@v1
         with:
-          target: x86_64-apple-darwin
+          target: x86_64
           args: -i python --release --out dist
       - name: Install built wheel - x86_64
         run: |
           pip install cramjam --no-index --find-links dist --force-reinstall
       - name: Build wheels - universal2
+        if: ${{ matrix.python-version >= '3.8' }}
         uses: messense/maturin-action@v1
         with:
           args: -i python --release --universal2 --out dist --no-sdist
       - name: Install built wheel - universal2
+        if: ${{ matrix.python-version >= '3.8' }}
         run: |
           pip install cramjam --no-index --find-links dist --force-reinstall
       - name: Python UnitTest
@@ -62,33 +64,31 @@
     strategy:
       matrix:
         python-version: [3.6, 3.7, 3.8, 3.9]
-        platform: [
-          { python-architecture: "x64", target: "x86_64-pc-windows-msvc" },
-          { python-architecture: "x86", target: "i686-pc-windows-msvc" },
-        ]
+        target: [x64, x86]
     steps:
       - uses: actions/checkout@v2
       - uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
-          architecture: ${{ matrix.platform.python-architecture }}
+          architecture: ${{ matrix.target }}
+      - name: Update rustup
+        run: rustup self update
       - name: Install Rust toolchain
         uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
-          target: ${{ matrix.platform.target }}
           profile: minimal
           default: true
       - name: Build
-        if: matrix.platform.python-architecture == 'x64'
+        if: matrix.target == 'x64'
         run: cargo build --release
       - name: Tests
-        if: matrix.platform.python-architecture == 'x64'
+        if: matrix.target == 'x64'
         run: cargo test --no-default-features --release
       - name: Build wheels
         uses: messense/maturin-action@v1
         with:
-          target: ${{ matrix.platform.target }}
+          target: ${{ matrix.target }}
           args: -i python --release --out dist --no-sdist
       - name: Install built wheel
         run: |
@@ -108,9 +108,7 @@
     strategy:
       matrix:
         python-version: [3.6, 3.7, 3.8, 3.9]
-        target:
-          - x86_64-unknown-linux-gnu
-          - i686-unknown-linux-gnu
+        target: [x86_64, i686]
     steps:
     - uses: actions/checkout@v2
     - name: Install Rust toolchain
@@ -122,7 +120,7 @@
     - name: Build
       run: cargo build --release
     - name: Tests
-      run: cargo test --no-default-features
+      run: cargo test --no-default-features --release
     - uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
@@ -133,16 +131,22 @@
         manylinux: auto
         args: -i python${{ matrix.python-version }} --release --out dist 
--no-sdist
     - name: Python UnitTest
-      if: matrix.target == 'x86_64-unknown-linux-gnu'
+      if: matrix.target == 'x86_64'
       run: |
         pip install cramjam --no-index --find-links dist --force-reinstall
         pip install -r dev-requirements.txt
         make test
     - name: Test no numpy installed works
-      if: matrix.target == 'x86_64-unknown-linux-gnu'
+      if: matrix.target == 'x86_64'
       run: |
         pip uninstall numpy -y
         python -m pytest tests/test_no_numpy.py
+    - name: Test benchmarks
+      if: matrix.target == 'x86_64'
+      run: |
+        sudo apt-get install -y libsnappy-dev
+        pip install -r benchmark-requirements.txt
+        make test-bench
     - name: Upload wheels
       uses: actions/upload-artifact@v2
       with:
@@ -159,13 +163,7 @@
           { version: '3.8', abi: 'cp38-cp38' },
           { version: '3.9', abi: 'cp39-cp39' },
         ]
-        platform: [
-          { target: "aarch64-unknown-linux-gnu", arch: "aarch64" },
-          { target: "armv7-unknown-linux-gnueabihf", arch: "armv7" },
-          { target: "s390x-unknown-linux-gnu", arch: "s390x" },
-          { target: "powerpc64le-unknown-linux-gnu", arch: "ppc64le" },
-          { target: "powerpc64-unknown-linux-gnu", arch: "ppc64" },
-        ]
+        target: [aarch64, armv7, s390x, ppc64le, ppc64]
     steps:
     - uses: actions/checkout@v2
     - name: Build Wheels
@@ -173,16 +171,15 @@
       env:
         PYO3_CROSS_LIB_DIR: /opt/python/${{ matrix.python.abi }}/lib
       with:
-        maturin-version: 'v0.10.5-beta.5'
-        target: ${{ matrix.platform.target }}
+        target: ${{ matrix.target }}
         manylinux: auto
         args: -i python3.9 --release --out dist --no-sdist 
--cargo-extra-args="--no-default-features" 
--cargo-extra-args="--features=extension-module"  # disable mimallocator
     - uses: uraimo/run-on-arch-action@v2.0.5
       # run-on-arch-action doesn't have ppc64 support
-      if: matrix.platform.arch != 'ppc64'
+      if: matrix.target != 'ppc64'
       name: Install built wheel
       with:
-        arch: ${{ matrix.platform.arch }}
+        arch: ${{ matrix.target }}
         distro: ubuntu20.04
         githubToken: ${{ github.token }}
         # Mount the dist directory as /artifacts in the container
@@ -222,7 +219,7 @@
     - name: Build
       run: cargo build --release
     - name: Tests
-      run: cargo test --no-default-features
+      run: cargo test --no-default-features --release
     - uses: actions/setup-python@v2
       with:
         python-version: pypy-3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/.gitignore 
new/pyrus-cramjam-2.3.2/.gitignore
--- old/pyrus-cramjam-2.3.1/.gitignore  1970-01-01 01:00:00.000000000 +0100
+++ new/pyrus-cramjam-2.3.2/.gitignore  2021-07-13 14:28:42.000000000 +0200
@@ -0,0 +1,139 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+.idea/
+benchenv/
+
+
+# Distribution / packaging
+.Python
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+wheels/
+pip-wheel-metadata/
+share/python-wheels/
+*.egg-info/
+.installed.cfg
+*.egg
+MANIFEST
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.nox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*.cover
+*.py,cover
+.hypothesis/
+.pytest_cache/
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+local_settings.py
+db.sqlite3
+db.sqlite3-journal
+
+# Flask stuff:
+instance/
+.webassets-cache
+
+# Scrapy stuff:
+.scrapy
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
+# Jupyter Notebook
+.ipynb_checkpoints
+
+# IPython
+profile_default/
+ipython_config.py
+
+# pyenv
+.python-version
+
+# pipenv
+#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in 
version control.
+#   However, in case of collaboration, if having platform-specific 
dependencies or dependencies
+#   having no cross-platform support, pipenv may install dependencies that 
don't work, or not
+#   install all needed dependencies.
+#Pipfile.lock
+
+# PEP 582; used by e.g. github.com/David-OConnor/pyflow
+__pypackages__/
+
+# Celery stuff
+celerybeat-schedule
+celerybeat.pid
+
+# SageMath parsed files
+*.sage.py
+
+# Environments
+.env
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# Spyder project settings
+.spyderproject
+.spyproject
+
+# Rope project settings
+.ropeproject
+
+# mkdocs documentation
+/site
+
+# mypy
+.mypy_cache/
+.dmypy.json
+dmypy.json
+
+# Pyre type checker
+.pyre/
+
+
+#Added by cargo
+
+/target
+Cargo.lock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/Cargo.toml 
new/pyrus-cramjam-2.3.2/Cargo.toml
--- old/pyrus-cramjam-2.3.1/Cargo.toml  2021-05-16 21:00:34.000000000 +0200
+++ new/pyrus-cramjam-2.3.2/Cargo.toml  2021-07-13 14:28:42.000000000 +0200
@@ -1,6 +1,6 @@
 [package]
 name = "cramjam"
-version = "2.3.1"
+version = "2.3.2"
 authors = ["Miles Granger <miles59...@gmail.com>"]
 edition = "2018"
 license-file = "LICENSE"
@@ -22,13 +22,13 @@
 opt-level = 3
 
 [dependencies]
-pyo3 = { version = "0.13.2", default-features = false, features = ["macros"] }
+pyo3 = { version = "0.14.1", default-features = false, features = ["macros"] }
 snap = "^1"
 brotli2 = "^0.3"
 lz4 = "^1"
 flate2 = "^1"
-zstd = "0.6.1+zstd.1.4.9"
-numpy = "0.13.0"
+zstd = "0.9.0+zstd.1.5.0"
+numpy = "0.14.0"
 
 [dependencies.mimalloc]
 version = "0.1.24"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/Makefile 
new/pyrus-cramjam-2.3.2/Makefile
--- old/pyrus-cramjam-2.3.1/Makefile    2021-05-16 21:00:34.000000000 +0200
+++ new/pyrus-cramjam-2.3.2/Makefile    2021-07-13 14:28:42.000000000 +0200
@@ -3,6 +3,9 @@
 test:
        python -m pytest tests -v --ignore benchmarks
 
+test-bench:
+       python -m pytest -v --benchmark-disable benchmarks/
+
 bench:
        python -m pytest -v --benchmark-only --benchmark-sort name benchmarks/
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/benchmark-requirements.txt 
new/pyrus-cramjam-2.3.2/benchmark-requirements.txt
--- old/pyrus-cramjam-2.3.1/benchmark-requirements.txt  2021-05-16 
21:00:34.000000000 +0200
+++ new/pyrus-cramjam-2.3.2/benchmark-requirements.txt  2021-07-13 
14:28:42.000000000 +0200
@@ -3,3 +3,5 @@
 lz4==3.1.0
 brotlipy==0.7.0
 zstd==1.4.5.1
+numpy
+memory-profiler
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/benchmarks/test_bench.py 
new/pyrus-cramjam-2.3.2/benchmarks/test_bench.py
--- old/pyrus-cramjam-2.3.1/benchmarks/test_bench.py    2021-05-16 
21:00:34.000000000 +0200
+++ new/pyrus-cramjam-2.3.2/benchmarks/test_bench.py    2021-07-13 
14:28:42.000000000 +0200
@@ -97,7 +97,7 @@
         )
 
 
-@pytest.mark.parametrize("op", ("decompress_raw_into", "compress_raw_into"))
+@pytest.mark.parametrize("op", ("decompress_into", "compress_into"))
 @pytest.mark.parametrize("file", FILES, ids=lambda val: val.name)
 def test_cramjam_snappy_de_compress_into(benchmark, op, file):
     """
@@ -110,7 +110,8 @@
 
     operation = getattr(snappy, op)
     buffer = np.zeros(
-        len(data) if op == "decompress_into" else len(compressed_data), 
dtype=np.uint8
+        len(data) if op == "decompress_into" else len(compressed_data),
+        dtype=np.uint8,
     )
 
     benchmark(
@@ -187,7 +188,10 @@
         )
     else:
         benchmark(
-            round_trip, compress=block.compress, decompress=block.decompress, 
data=data,
+            round_trip,
+            compress=block.compress,
+            decompress=block.decompress,
+            data=data,
         )
 
 
@@ -240,7 +244,10 @@
         )
     else:
         benchmark(
-            round_trip, compress=zstd.compress, decompress=zstd.decompress, 
data=data,
+            round_trip,
+            compress=zstd.compress,
+            decompress=zstd.decompress,
+            data=data,
         )
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/dev-requirements.txt 
new/pyrus-cramjam-2.3.2/dev-requirements.txt
--- old/pyrus-cramjam-2.3.1/dev-requirements.txt        2021-05-16 
21:00:34.000000000 +0200
+++ new/pyrus-cramjam-2.3.2/dev-requirements.txt        2021-07-13 
14:28:42.000000000 +0200
@@ -1,4 +1,4 @@
-black==19.10b0
+black==21.5b1
 maturin
 numpy
 pytest>=5.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrus-cramjam-2.3.1/pyproject.toml 
new/pyrus-cramjam-2.3.2/pyproject.toml
--- old/pyrus-cramjam-2.3.1/pyproject.toml      2021-05-16 21:00:34.000000000 
+0200
+++ new/pyrus-cramjam-2.3.2/pyproject.toml      2021-07-13 14:28:42.000000000 
+0200
@@ -1,3 +1,3 @@
 [build-system]
-requires = ["maturin"]
+requires = ["maturin>=0.11,<0.12"]
 build-backend = "maturin"

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/python-cramjam/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.python-cramjam.new.2632/vendor.tar.xz differ: char 
27, line 1

Reply via email to