Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Beaker for openSUSE:Factory checked in at 2023-02-10 14:36:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Beaker (Old) and /work/SRC/openSUSE:Factory/.python-Beaker.new.1848 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Beaker" Fri Feb 10 14:36:02 2023 rev:33 rq:1064207 version:1.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Beaker/python-Beaker.changes 2023-01-03 15:06:11.278797936 +0100 +++ /work/SRC/openSUSE:Factory/.python-Beaker.new.1848/python-Beaker.changes 2023-02-10 14:36:12.186237024 +0100 @@ -1,0 +2,7 @@ +Fri Feb 10 10:19:21 UTC 2023 - Dirk Müller <[email protected]> + +- update to 1.12.1: + * Fix ext:database backend failing to initialize + * Improved inline code documentation for the crypto module + +------------------------------------------------------------------- Old: ---- 1.12.0.tar.gz New: ---- 1.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Beaker.spec ++++++ --- /var/tmp/diff_new_pack.M7PaxI/_old 2023-02-10 14:36:12.698240083 +0100 +++ /var/tmp/diff_new_pack.M7PaxI/_new 2023-02-10 14:36:12.702240107 +0100 @@ -17,7 +17,7 @@ Name: python-Beaker -Version: 1.12.0 +Version: 1.12.1 Release: 0 Summary: A Session and Caching library with WSGI Middleware License: BSD-3-Clause ++++++ 1.12.0.tar.gz -> 1.12.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/.github/workflows/runtests.yml new/beaker-1.12.1/.github/workflows/runtests.yml --- old/beaker-1.12.0/.github/workflows/runtests.yml 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/.github/workflows/runtests.yml 2023-02-04 18:17:01.000000000 +0100 @@ -10,9 +10,8 @@ runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: locales language-pack-it + - name: Install locales + run: sudo apt-get install -y locales language-pack-it - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/.gitignore new/beaker-1.12.1/.gitignore --- old/beaker-1.12.0/.gitignore 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/.gitignore 2023-02-04 18:17:01.000000000 +0100 @@ -20,3 +20,4 @@ pypyenv/ env*/ tests/test.db +/.eggs/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/CHANGELOG new/beaker-1.12.1/CHANGELOG --- old/beaker-1.12.0/CHANGELOG 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/CHANGELOG 2023-02-04 18:17:01.000000000 +0100 @@ -1,3 +1,17 @@ +Release 1.12.1 (2023-01-04) +=========================== + +* Fix ext:database backend failing to initialize. +* Improved inline code documentation for the crypto module. + +Release 1.12.0 (2022-12-07) +=========================== + +* Enabled testing on Python 3.10 and 3.11 +* Fixed issue #122 - Session ignores deserializer json +* Remove ID generation fallback for when the uuid module is not found +* Port testing from nose to pytest +* Fixed issue #180 - KeyError when loading deleted session Release 1.11.0 (2019-08-26) =========================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/beaker/__init__.py new/beaker-1.12.1/beaker/__init__.py --- old/beaker-1.12.0/beaker/__init__.py 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/beaker/__init__.py 2023-02-04 18:17:01.000000000 +0100 @@ -1 +1 @@ -__version__ = '1.12.0' +__version__ = '1.12.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/beaker/crypto/__init__.py new/beaker-1.12.1/beaker/crypto/__init__.py --- old/beaker-1.12.0/beaker/crypto/__init__.py 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/beaker/crypto/__init__.py 2023-02-04 18:17:01.000000000 +0100 @@ -1,3 +1,21 @@ +"""Provide a crypto object, depending on the available modules. + +The object has this interface: + +aesEncrypt(DATA, KEY) + Encrypt the DATA with key KEY. + +aesDecrypt(DATA, KEY): + Decrypt the DATA with key KEY. + +has_aes + True if the encryption provides AES encryption. + +getKeyLength() + Return the maximum size for keys for this crypto object, in bytes. + +""" + from .._compat import JYTHON @@ -13,7 +31,11 @@ def load_default_module(): - """ Load the default crypto module + """Load the default crypto module and return it. + + Note: if no crypto module is available, return a dummy module + which does not encrypt at all. + """ if JYTHON: try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/beaker/crypto/nsscrypto.py new/beaker-1.12.1/beaker/crypto/nsscrypto.py --- old/beaker-1.12.0/beaker/crypto/nsscrypto.py 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/beaker/crypto/nsscrypto.py 2023-02-04 18:17:01.000000000 +0100 @@ -3,7 +3,7 @@ nss.nss.nss_init_nodb() -# Apparently the rest of beaker doesn't care about the particluar cipher, +# Apparently the rest of beaker doesn't care about the particular cipher, # mode and padding used. # NOTE: A constant IV!!! This is only secure if the KEY is never reused!!! _mech = nss.nss.CKM_AES_CBC_PAD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/beaker/ext/database.py new/beaker-1.12.1/beaker/ext/database.py --- old/beaker-1.12.0/beaker/ext/database.py 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/beaker/ext/database.py 2023-02-04 18:17:01.000000000 +0100 @@ -43,6 +43,8 @@ ``schema_name`` The schema name to use in the database for the cache. """ + OpenResourceNamespaceManager.__init__(self, namespace) + if sa_opts is None: sa_opts = {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/beaker-1.12.0/beaker/middleware.py new/beaker-1.12.1/beaker/middleware.py --- old/beaker-1.12.0/beaker/middleware.py 2022-12-07 01:34:45.000000000 +0100 +++ new/beaker-1.12.1/beaker/middleware.py 2023-02-04 18:17:01.000000000 +0100 @@ -31,7 +31,7 @@ setups that accumulate multiple component settings in a single dictionary. If config contains *no cache. prefixed args*, then *all* of the config options will be used to - intialize the Cache objects. + initialize the Cache objects. ``environ_key`` Location where the Cache instance will keyed in the WSGI @@ -91,7 +91,7 @@ setups that accumulate multiple component settings in a single dictionary. If config contains *no session. prefixed args*, then *all* of the config options will be used to - intialize the Session objects. + initialize the Session objects. ``environ_key`` Location where the Session instance will keyed in the WSGI
