Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sqlite-fts4 for 
openSUSE:Factory checked in at 2022-09-19 16:03:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sqlite-fts4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-sqlite-fts4.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sqlite-fts4"

Mon Sep 19 16:03:32 2022 rev:2 rq:1004591 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sqlite-fts4/python-sqlite-fts4.changes    
2021-02-19 23:45:43.795390722 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sqlite-fts4.new.2083/python-sqlite-fts4.changes
  2022-09-19 16:03:38.502199240 +0200
@@ -1,0 +2,6 @@
+Fri Sep 16 20:54:55 UTC 2022 - Sarah Kriesch <sarah.krie...@opensuse.org>
+
+- Update to 1.0.3
+  * Fix for compatibility with big-endian systems. #6
+
+-------------------------------------------------------------------

Old:
----
  sqlite-fts4-1.0.1.tar.gz

New:
----
  sqlite-fts4-1.0.3.tar.gz

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

Other differences:
------------------
++++++ python-sqlite-fts4.spec ++++++
--- /var/tmp/diff_new_pack.KA74sA/_old  2022-09-19 16:03:39.230201185 +0200
+++ /var/tmp/diff_new_pack.KA74sA/_new  2022-09-19 16:03:39.238201206 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sqlite-fts4
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-sqlite-fts4
-Version:        1.0.1
+Version:        1.0.3
 Release:        0
 Summary:        Python functions for working with SQLite FTS4 search
 License:        Apache-2.0

++++++ sqlite-fts4-1.0.1.tar.gz -> sqlite-fts4-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-fts4-1.0.1/.github/workflows/deploy-demo.yml 
new/sqlite-fts4-1.0.3/.github/workflows/deploy-demo.yml
--- old/sqlite-fts4-1.0.1/.github/workflows/deploy-demo.yml     1970-01-01 
01:00:00.000000000 +0100
+++ new/sqlite-fts4-1.0.3/.github/workflows/deploy-demo.yml     2022-07-30 
03:12:45.000000000 +0200
@@ -0,0 +1,35 @@
+name: Deploy demo
+
+on:
+  workflow_dispatch:
+
+jobs:
+  deploy:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+    - name: Set up Python
+      uses: actions/setup-python@v3
+      with:
+        python-version: '3.10'
+    - uses: actions/cache@v2
+      name: Configure pip caching
+      with:
+        path: ~/.cache/pip
+        key: ${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}
+        restore-keys: |
+          ${{ runner.os }}-publish-pip-
+    - name: Publish demo
+      env:
+        GITHUB_SHA: ${{ env.GITHUB_SHA }}
+        NOW_TOKEN: ${{ secrets.NOW_TOKEN }}
+      run: |-
+        curl --fail --silent -o 24ways-fts4.db 
https://static.simonwillison.net/static/2022/24ways-fts4.db
+        pip install datasette datasette-publish-vercel
+        datasette publish vercel 24ways-fts4.db \
+          --token $NOW_TOKEN \
+          --project datasette-sqlite-fts4 \
+          --install 
https://github.com/simonw/sqlite-fts4/archive/$GITHUB_SHA.zip \
+          --install datasette-sqlite-fts4 \
+          --install datasette-json-html \
+          --source_url=https://github.com/simonw/sqlite-fts4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-fts4-1.0.1/.github/workflows/publish.yml 
new/sqlite-fts4-1.0.3/.github/workflows/publish.yml
--- old/sqlite-fts4-1.0.1/.github/workflows/publish.yml 2020-11-06 
07:13:35.000000000 +0100
+++ new/sqlite-fts4-1.0.3/.github/workflows/publish.yml 2022-07-30 
03:12:45.000000000 +0200
@@ -60,7 +60,7 @@
         GITHUB_SHA: ${{ env.GITHUB_SHA }}
         NOW_TOKEN: ${{ secrets.NOW_TOKEN }}
       run: |-
-        curl --silent -o 24ways-fts4.db https://24ways-fts4-db.now.sh/
+        curl --fail --silent -o 24ways-fts4.db 
https://static.simonwillison.net/static/2022/24ways-fts4.db
         pip install datasette datasette-publish-vercel
         datasette publish vercel 24ways-fts4.db \
           --token $NOW_TOKEN \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-fts4-1.0.1/setup.py 
new/sqlite-fts4-1.0.3/setup.py
--- old/sqlite-fts4-1.0.1/setup.py      2020-11-06 07:13:35.000000000 +0100
+++ new/sqlite-fts4-1.0.3/setup.py      2022-07-30 03:12:45.000000000 +0200
@@ -1,7 +1,7 @@
 from setuptools import setup
 import os
 
-VERSION = "1.0.1"
+VERSION = "1.0.3"
 
 
 def get_long_description():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-fts4-1.0.1/sqlite_fts4/__init__.py 
new/sqlite-fts4-1.0.3/sqlite_fts4/__init__.py
--- old/sqlite-fts4-1.0.1/sqlite_fts4/__init__.py       2020-11-06 
07:13:35.000000000 +0100
+++ new/sqlite-fts4-1.0.3/sqlite_fts4/__init__.py       2022-07-30 
03:12:45.000000000 +0200
@@ -32,7 +32,7 @@
 
 def decode_matchinfo(buf):
     # buf is a bytestring of unsigned integers, each 4 bytes long
-    return struct.unpack("I" * (len(buf) // 4), buf)
+    return struct.unpack("@" + ("I" * (len(buf) // 4)), buf)
 
 
 def _error(m):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-fts4-1.0.1/tests/test_sqlite_fts4.py 
new/sqlite-fts4-1.0.3/tests/test_sqlite_fts4.py
--- old/sqlite-fts4-1.0.1/tests/test_sqlite_fts4.py     2020-11-06 
07:13:35.000000000 +0100
+++ new/sqlite-fts4-1.0.3/tests/test_sqlite_fts4.py     2022-07-30 
03:12:45.000000000 +0200
@@ -2,6 +2,7 @@
 from sqlite_fts4 import register_functions, decode_matchinfo
 import pytest
 import json
+import sys
 
 
 sqlite_version = tuple(
@@ -58,7 +59,9 @@
     "buf,expected",
     [
         (
-            
b"\x01\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00",
+            b"\x01\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00"
+            if sys.byteorder == "little"
+            else 
b"\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x02",
             (1, 2, 2, 2),
         )
     ],

Reply via email to