Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-pkcs11 for 
openSUSE:Factory checked in at 2026-01-26 12:34:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-pkcs11 (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-pkcs11.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-pkcs11"

Mon Jan 26 12:34:33 2026 rev:2 rq:1329151 version:0.9.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-pkcs11/python-python-pkcs11.changes    
    2025-09-03 21:08:28.767293943 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-pkcs11.new.1928/python-python-pkcs11.changes
      2026-01-26 12:34:34.729818389 +0100
@@ -1,0 +2,14 @@
+Mon Jan 26 08:07:45 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.9.3:
+  * When determining the capabilities on an object, fall back to
+    fetching flags one by one if fetching them all at once
+    doesn't work. This mitigates issues with some tokens that
+    don't handle errors on multi-attribute fetches in a compliant
+    way.
+- update to 0.9.1:
+  * Add Python 3.14 to the CI matrix and release workflows.
+  * Expand ATTRIBUTE_TYPES for GOSTR support.
+  * Expose CK_SESSION_HANDLE as readonly
+
+-------------------------------------------------------------------

Old:
----
  python_pkcs11-0.9.0.tar.gz

New:
----
  python_pkcs11-0.9.3.tar.gz

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

Other differences:
------------------
++++++ python-python-pkcs11.spec ++++++
--- /var/tmp/diff_new_pack.yo07jW/_old  2026-01-26 12:34:37.577937902 +0100
+++ /var/tmp/diff_new_pack.yo07jW/_new  2026-01-26 12:34:37.581938070 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-pkcs11
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 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
@@ -17,7 +17,7 @@
 
 
 Name:           python-python-pkcs11
-Version:        0.9.0
+Version:        0.9.3
 Release:        0
 Summary:        PKCS#11 (Cryptoki) support for Python
 License:        MIT

++++++ python_pkcs11-0.9.0.tar.gz -> python_pkcs11-0.9.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python_pkcs11-0.9.0/.github/actions/test-setup/action.yml 
new/python_pkcs11-0.9.3/.github/actions/test-setup/action.yml
--- old/python_pkcs11-0.9.0/.github/actions/test-setup/action.yml       
2025-08-06 05:18:42.000000000 +0200
+++ new/python_pkcs11-0.9.3/.github/actions/test-setup/action.yml       
2025-12-07 10:30:57.000000000 +0100
@@ -34,7 +34,7 @@
   using: "composite"
   steps:
     - name: Setup Python
-      uses: actions/setup-python@v5
+      uses: actions/setup-python@v6
       with:
         python-version: ${{ inputs.python-version }}
     - uses: ./.github/actions/install-softhsm
@@ -78,7 +78,7 @@
       env:
         PLATFORM: ${{ inputs.pkcs11-platform }}
     - name: Install uv
-      uses: astral-sh/setup-uv@v4
+      uses: astral-sh/setup-uv@v7
       with:
         enable-cache: true
         python-version: ${{ inputs.python-version }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/.github/workflows/coverage.yml 
new/python_pkcs11-0.9.3/.github/workflows/coverage.yml
--- old/python_pkcs11-0.9.0/.github/workflows/coverage.yml      2025-08-06 
05:18:42.000000000 +0200
+++ new/python_pkcs11-0.9.3/.github/workflows/coverage.yml      2025-12-07 
10:30:57.000000000 +0100
@@ -1,6 +1,8 @@
 name: Coverage
 on:
   pull_request: {}
+  push:
+    branches: ["master"]
   workflow_dispatch: {}
 env:
   UV_PYTHON_PREFERENCE: only-system
@@ -21,7 +23,7 @@
           - opencryptoki
     steps:
       - name: Acquire sources
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
       - name: Arm coverage-only compiler directives
         # Unfortunately, it doesn't seem to be possible to pass directives
         # to Cython through environment variables: 
https://github.com/cython/cython/issues/3930
@@ -54,7 +56,7 @@
     runs-on: ubuntu-latest
     steps:
       - name: Acquire sources
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
       - uses: ./.github/actions/test-setup
         id: setup
         with:
@@ -80,10 +82,10 @@
       actions: write
       contents: read
     runs-on: ubuntu-latest
-    needs: [pytest-coverage]
+    needs: [pytest-coverage,pytest-coverage-multilib]
     steps:
       # checkout necessary to ensure the uploaded report contains the correct 
paths
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Retrieve coverage reports
         uses: actions/download-artifact@v4
         with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/.github/workflows/quality.yml 
new/python_pkcs11-0.9.3/.github/workflows/quality.yml
--- old/python_pkcs11-0.9.0/.github/workflows/quality.yml       2025-08-06 
05:18:42.000000000 +0200
+++ new/python_pkcs11-0.9.3/.github/workflows/quality.yml       2025-12-07 
10:30:57.000000000 +0100
@@ -10,15 +10,15 @@
     runs-on: ubuntu-latest
     steps:
       - name: Acquire sources
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
 
       - name: Install uv
-        uses: astral-sh/setup-uv@v4
+        uses: astral-sh/setup-uv@v7
         with:
           enable-cache: true
 
       - name: Setup Python
-        uses: actions/setup-python@v5
+        uses: actions/setup-python@v6
         with:
           python-version: "3.13"
           architecture: x64
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/.github/workflows/release.yml 
new/python_pkcs11-0.9.3/.github/workflows/release.yml
--- old/python_pkcs11-0.9.0/.github/workflows/release.yml       2025-08-06 
05:18:42.000000000 +0200
+++ new/python_pkcs11-0.9.3/.github/workflows/release.yml       2025-12-07 
10:30:57.000000000 +0100
@@ -51,7 +51,7 @@
             echo "Tag $VERSION does not follow v<version> naming scheme"
             exit 1
           fi
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Generate release body
         run: |
           sed "s/:VERSION/$VERSION/g" < .github/release-template.md > 
release.md
@@ -73,13 +73,13 @@
           - ubuntu-latest
           - ubuntu-24.04-arm
           - windows-latest
-          - macos-latest
+          - macos-14
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Setup Python
-        uses: actions/setup-python@v5
+        uses: actions/setup-python@v6
       - name: Build wheels
-        uses: pypa/[email protected]
+        uses: pypa/[email protected]
       - uses: actions/upload-artifact@v4
         with:
           name: wheels-${{ matrix.os }}-${{ strategy.job-index }}
@@ -88,11 +88,11 @@
     runs-on: ubuntu-latest
     needs: [extract-params]
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
       - name: Setup Python
-        uses: actions/setup-python@v5
+        uses: actions/setup-python@v6
       - name: Install uv
-        uses: astral-sh/setup-uv@v4
+        uses: astral-sh/setup-uv@v7
         with:
           enable-cache: true
       - name: Build source distribution
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/.github/workflows/tests.yml 
new/python_pkcs11-0.9.3/.github/workflows/tests.yml
--- old/python_pkcs11-0.9.0/.github/workflows/tests.yml 2025-08-06 
05:18:42.000000000 +0200
+++ new/python_pkcs11-0.9.3/.github/workflows/tests.yml 2025-12-07 
10:30:57.000000000 +0100
@@ -20,13 +20,14 @@
         os:
           - ubuntu-latest
           - windows-latest
-          - macos-latest
+          - macos-14
         python-version:
           - "3.9"
           - "3.10"
           - "3.11"
           - "3.12"
           - "3.13"
+          - "3.14"
         pkcs11-platform:
           - softhsm
           - opencryptoki
@@ -36,10 +37,10 @@
           - pkcs11-platform: opencryptoki
             os: windows-latest
           - pkcs11-platform: opencryptoki
-            os: macos-latest
+            os: macos-14
     steps:
       - name: Acquire sources
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
       - uses: ./.github/actions/test-setup
         id: setup
         with:
@@ -65,9 +66,10 @@
           - "3.11"
           - "3.12"
           - "3.13"
+          - "3.14"
     steps:
       - name: Acquire sources
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
       - uses: ./.github/actions/test-setup
         id: setup
         with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/PKG-INFO 
new/python_pkcs11-0.9.3/PKG-INFO
--- old/python_pkcs11-0.9.0/PKG-INFO    2025-08-06 05:18:47.341565100 +0200
+++ new/python_pkcs11-0.9.3/PKG-INFO    2025-12-07 10:31:00.909455800 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: python-pkcs11
-Version: 0.9.0
+Version: 0.9.3
 Summary: PKCS#11 support for Python
 Author-email: Andrey Kislyuk <[email protected]>, Danielle Madeley 
<[email protected]>
 Maintainer-email: Andrey Kislyuk <[email protected]>
@@ -16,6 +16,7 @@
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
 Classifier: Topic :: Security :: Cryptography
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/pkcs11/_pkcs11.pyx 
new/python_pkcs11-0.9.3/pkcs11/_pkcs11.pyx
--- old/python_pkcs11-0.9.0/pkcs11/_pkcs11.pyx  2025-08-06 05:18:42.000000000 
+0200
+++ new/python_pkcs11-0.9.3/pkcs11/_pkcs11.pyx  2025-12-07 10:30:57.000000000 
+0100
@@ -850,7 +850,7 @@
 cdef class Session(HasFuncList, types.Session):
     """Extend Session with implementation."""
 
-    cdef CK_SESSION_HANDLE handle
+    cdef readonly CK_SESSION_HANDLE handle
     cdef readonly Token token
     cdef readonly bint rw
     cdef CK_USER_TYPE _user_type
@@ -1366,8 +1366,15 @@
         # Determine a list of base classes to manufacture our class with
         try:
             attributes = wrapper.get_attribute_list(&attr_keys[0], 8)
-        except (AttributeTypeInvalid, FunctionFailed) as e:
+        except PKCS11Error:
+            # retry fetching the flags one by one, some tokens do not 
implement error handling
+            # on bulk fetches correctly.
             attributes = {}
+            for key in attr_keys:
+                try:
+                    attributes[key] = wrapper[key]
+                except (AttributeTypeInvalid, AttributeSensitive, 
FunctionFailed):
+                    continue
 
         object_class = attributes.get(Attribute.CLASS, 
session.attribute_mapper)
         bases = (_CLASS_MAP[object_class],)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/pkcs11/attributes.py 
new/python_pkcs11-0.9.3/pkcs11/attributes.py
--- old/python_pkcs11-0.9.0/pkcs11/attributes.py        2025-08-06 
05:18:42.000000000 +0200
+++ new/python_pkcs11-0.9.3/pkcs11/attributes.py        2025-12-07 
10:30:57.000000000 +0100
@@ -89,6 +89,8 @@
     Attribute.VERIFY_RECOVER: handle_bool,
     Attribute.WRAP: handle_bool,
     Attribute.WRAP_WITH_TRUSTED: handle_bool,
+    Attribute.GOSTR3410_PARAMS: handle_bytes,
+    Attribute.GOSTR3411_PARAMS: handle_bytes,
 }
 """
 Map of attributes to (serialize, deserialize) functions.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/pyproject.toml 
new/python_pkcs11-0.9.3/pyproject.toml
--- old/python_pkcs11-0.9.0/pyproject.toml      2025-08-06 05:18:42.000000000 
+0200
+++ new/python_pkcs11-0.9.3/pyproject.toml      2025-12-07 10:30:57.000000000 
+0100
@@ -21,6 +21,7 @@
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
     "Programming Language :: Python :: 3.13",
+    "Programming Language :: Python :: 3.14",
     "Topic :: Security :: Cryptography",
 ]
 dependencies = ["asn1crypto>=1.5.1"]
@@ -55,6 +56,9 @@
     {name = "pkcs11._pkcs11", sources = ["pkcs11/_pkcs11.pyx"]}
 ]
 
+[tool.cibuildwheel]
+skip = "cp3??t-*"
+
 [tool.cibuildwheel.linux]
 archs = ["auto64"]
 
@@ -119,4 +123,4 @@
     { include-group = "release" },
 ]
 
-[tool.setuptools_scm]
\ No newline at end of file
+[tool.setuptools_scm]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python_pkcs11-0.9.0/python_pkcs11.egg-info/PKG-INFO 
new/python_pkcs11-0.9.3/python_pkcs11.egg-info/PKG-INFO
--- old/python_pkcs11-0.9.0/python_pkcs11.egg-info/PKG-INFO     2025-08-06 
05:18:47.000000000 +0200
+++ new/python_pkcs11-0.9.3/python_pkcs11.egg-info/PKG-INFO     2025-12-07 
10:31:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: python-pkcs11
-Version: 0.9.0
+Version: 0.9.3
 Summary: PKCS#11 support for Python
 Author-email: Andrey Kislyuk <[email protected]>, Danielle Madeley 
<[email protected]>
 Maintainer-email: Andrey Kislyuk <[email protected]>
@@ -16,6 +16,7 @@
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
 Classifier: Topic :: Security :: Cryptography
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst

Reply via email to