15
0
forked from pool/python-Beaker
Commit Graph

37 Commits

Author SHA256 Message Date
fe5c0fe65d Accepting request 690384 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/690384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=22
2019-04-05 10:01:06 +00:00
1bf1ac4a82 Accepting request 690383 from home:mcepl:branches:devel:languages:python
- Ignore test_database tests to avoid gh#bbangert/beaker#172

OBS-URL: https://build.opensuse.org/request/show/690383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=37
2019-04-01 13:50:10 +00:00
Tomáš Chvátal
44c079a628 - Update to 1.10.1:
* Fix issue with Redis namespace manager TTL
  * Fix for SameSite cookie option not being set in some cases
  * Fix for memcached tests on Python3
  * Redis namespace manager now supports providing a TTL for session entries that had a ``timeout`` provided.
    This will remove the need to manually clear expired sessions from the redis storage.
  * ``nsscrypto`` backend is now properly identified as providing AES support.
  * When a crypto backend doesn't support AES it will no longer crash if the ``encrypt_key`` is ``None``.
  * Session cookies will now provide support for ``SameSite`` through the ``samesite`` option. 
    By default this will be ``Lax``, but can be set to ``Strict`` or ``None`` to disable it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=36
2019-03-06 19:05:41 +00:00
b60239d145 Accepting request 522093 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/522093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=21
2017-09-12 17:39:05 +00:00
Todd R
6e4f1663a7 Accepting request 522092 from devel:languages:python:singlespec-staging
- Update to version 1.9.0
  * Beaker now provides builtin ``ext:mongodb`` and ``ext:redis``
    namespace managers. Both come with a Synchronizer implemented
    on the storage backend instead of relying on file one.
  * Fixed an issue where cookie options like ``Secure``,
    ``Domain`` and so on where lost.
  * Improved support for cache entries expiration.
    NamespaceManagers that support it will expire their key
    automatically.
  * Pycryptodome can be used instead of pycrypto.
  * An issue with ``Cookie`` module import on case insensitive
    file systems should have been resolved.
  * Cryptography module is now as a crypto function provider
    instead of pycrypto
- singlespec auto-conversion
- adjust for cryptopp -> pycryptopp rename
- update to 1.8.1
  * Bugfixes
- Update to version 1.8.0
  * Encrypted sessions can now specify nonce length for salt
    generation through encrypt_nonce_bits parameter. set it to 48
    for backward compatibility with sessions generated before 1.8.0
  * kwargs support in @cache_region decorator
  * annotations support in @cache_region decorator
  * data_serializer parameter in Session can now specify json to
    avoid pickle security issues
  * Invalid cookies are now skipped in cookie based sessions
  * Memcached based on PyLibMC now share same connection pool for
    same url
- update to version 1.7.0:
  * Beaker no longer supports python 2.4 and 2.5
  * Beaker now supports Python 2.6, 2.7, 3.2, 3.3, 3.4 without
    2to3 usage
  * Fixed Encrypted Cookie Session on Python3 #57
  * New pbkdf2 mobule working on Python3 #21
  * Fixed Test suite on Python 3.3 #53, #51
- additional changes from version 1.6.5:
  * @cached decorator now keeps docstring of decorated method.
  * Fix crash when Session ``accessed_time`` is not available,
    this happened when session ``encrypt_key`` was changed.
  * Fix cache regions not providing a default key length even
    though this was required and examples in the doc didn't
    provide it.
  * Fix crash when cache expire wasn't an int, this happened when
    caching options were loaded from a config file.
- remove everything related to tests:
  upstream deleted them from archive
- drop Beaker-1.6.4-setup_test.patch: only used by the tests
- do not delete the shebang of pbkdf2.py: fixed upstream
- remove CHANGELOG and LICENSE from package: deleted from archive
- add README.rst to the package documentation
- Add a build conditional for testing with memcached. It can be too
  heavy at times
- Fix previous changes entry
- fix deps
- enable full testing
- Add Beaker-1.6.4-setup_test.patch: Workaround for TypeError in
  multiprocessing/util.py
- added fdupes to remove rpmlint warning
- Update to 1.6.4:
  * Warning: Session hashing for encrypted sessions using PyCrypto has
    changed. This will result in sessions being invalidated upon upgrading
    if PyCrypto is used.
  * Fix bug with key_length not being coerced to a int for comparison.
  * Fix bug with cookie invalidation not clearing the cookie data.
  * Added ability to pass in cookie_path for the Session.
  * Add NSS crypto support to Beaker.
  * Fix security bug with pycrypto not securing data such that an attacker
    could possibly determine parts of the encrypted payload. See CVE-2012-3458
    <http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-3458>.
  * Add ability to specify schema for database-backed sessions.
  * Fix issue with long key names in memcached backend.
- Fix sed script so it removes the shebang instead of inserting "d" throughout
  the pbkdf2.py file.
- Test suite now succeeds (for Python 2 package) but didn't add it to build
  because it takes too long.
- Update URL to what is given in setup.py.
- update to version 1.6.3
 * Fix bug with cookie deletion on leap years. Patch contributed 
   by Greg Nelson and Michael Wirth.
 * Fix issue with referencing same module via different import paths.
   Patch contributed by brianfrantz.
 * Fix cookie expiration check. Patch contributed by Mike Dirolf.
- python3 package added
- minor spec improvement 
- Update to version 1.6.2:
  * Updated dogpile lock so that it locks per namespace+key rather than on the
    entire namespace. (#101)
  * Added encryption option for any backend. Patch contributed by Toby Elliot.
- Update to version 1.6.1:
  * Remove stray print statement.
  * Include .app for consistency instead of requiring wrap_app.
- Changes from version 1.6:
  * Fix bug with cache_key length calculation.
  * Fix bug with how path was set so that its restored properly and propagated.
  * Fix bug with CacheMiddleware clobbering enabled setting.
  * Update option for ``cookie_expires`` so that it can now handle an integer
    which will be used as the seconds till the cookie expires.
  * Merge fix for Issue 31, can now handle unicode cache keys.
  * Add ``key_length`` option for cache regions, and for keyword args passed
    into the cache system. Cache keys longer than this will be SHA'd.
  * added runtime beaker.__version__
  * Add ``webtest_varname`` option to configuration to optionally include
    the session value in the environ vars when using Beaker with WebTest.
  * Defer running of pkg_resources to look for external cache modules
    until requested. #66
  * memcached backend uses pylibmc.ThreadMappedPool to ensure thread-local
    usage of pylibmc when that library is in use. (#60)
  * memcached backend also has ``memcache_module`` string argument, allows
    direct specification of the name of which memcache backend to use.
  * Basic container/file-based Session support working in Py3K. (#72)
  * Further Python 3 fixes
  * Added an optimization to the FileNamespaceContainer when used with 
    Session, such that the pickled contents of the file are not 
    read a second time when session.save() is called.  (#64)
  * Fixed bug whereby CacheManager.invalidate wouldn't work for a function
    decorated by cache.cache(). (#61)
  * cache decorators @cache.cache(), @cache_region() won't include first
    argument named 'self' or 'cls' as part of the cache key.  This allows
    reasonably safe usage for methods as well as functions.  (#55)
  * file backend no longer squashes unpickling errors.   This was inconsistent
    behavior versus all the other backends.
  * invalidate_corrupt flag on Session now emits a warning. (#52)
  * cache.remove_value() removes the value even if it's already marked
    'expired' (#42)
- Initial version

OBS-URL: https://build.opensuse.org/request/show/522092
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=34
2017-09-07 17:00:13 +00:00
148c14348c Accepting request 441540 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/441540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=20
2016-11-25 11:26:19 +00:00
e571401b5e - adjust for cryptopp -> pycryptopp rename
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=32
2016-11-16 09:56:55 +00:00
2331d974a9 - update to 1.8.1
* Bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=31
2016-11-14 13:58:20 +00:00
82078b044a Accepting request 428017 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/428017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=19
2016-10-10 14:19:43 +00:00
Todd R
a2341f8509 Accepting request 428016 from home:TheBlackCat:branches:devel:languages:python
Update to version 1.8.0

OBS-URL: https://build.opensuse.org/request/show/428016
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=29
2016-09-15 23:28:13 +00:00
Stephan Kulow
1709fddf40 Accepting request 304167 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/304167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=18
2015-04-27 20:08:51 +00:00
Michal Čihař
cdabdf27dc Accepting request 303985 from home:benoit_monin:branches:devel:languages:python
- update to version 1.7.0
- remove everything related to tests: upstream deleted them from archive
- drop Beaker-1.6.4-setup_test.patch: only used by the tests
- do not delete the shebang of pbkdf2.py: fixed upstream
- remove CHANGELOG and LICENSE from package: deleted from archive
- add README.rst to the package documentation

OBS-URL: https://build.opensuse.org/request/show/303985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=27
2015-04-27 10:35:36 +00:00
Stephan Kulow
d26e4cc8f9 Accepting request 201450 from devel:languages:python
- Add a build conditional for testing with memcached. It can be too
  heavy at times
- Fix previous changes entry

- fix deps
- enable full testing
- Add Beaker-1.6.4-setup_test.patch: Workaround for TypeError in
  multiprocessing/util.py

OBS-URL: https://build.opensuse.org/request/show/201450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=16
2013-10-01 06:25:57 +00:00
Sascha Peilicke
9ab69a33ff - Fix previous changes entry
- Add Beaker-1.6.4-setup_test.patch: Workaround for TypeError in
  multiprocessing/util.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=25
2013-09-30 09:58:01 +00:00
Sascha Peilicke
b73b3fa9e7 - Add a build conditional for testing with memcached. It can be too
heavy at times

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=24
2013-08-09 09:17:00 +00:00
Sascha Peilicke
9c326ed958 Accepting request 186405 from home:frispete:python
- fix deps
- enable full testing
- add workaround for TypeError in multiprocessing/util.py
- don't package PKG-INFO

OBS-URL: https://build.opensuse.org/request/show/186405
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=23
2013-08-09 08:26:52 +00:00
Stephan Kulow
247a6fc69f Accepting request 183950 from devel:languages:python
added fdupes to remove rpmlint warning (forwarded request 183774 from cberendt)

OBS-URL: https://build.opensuse.org/request/show/183950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=14
2013-07-22 11:06:42 +00:00
Sascha Peilicke
2aa8280979 Accepting request 183774 from home:cberendt:Cloud_OpenStack_Master
added fdupes to remove rpmlint warning

OBS-URL: https://build.opensuse.org/request/show/183774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=21
2013-07-22 06:18:29 +00:00
Stephan Kulow
fb1419a712 Accepting request 179667 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=13
2013-06-19 14:20:12 +00:00
Sascha Peilicke
1db5af85f0 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=19
2013-06-17 12:50:02 +00:00
Sascha Peilicke
e206914541 Python3 happens exclusively in devel:languages:python3 from now on
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=18
2013-06-17 12:33:15 +00:00
Stephan Kulow
11e4859680 Accepting request 142414 from devel:languages:python
Remove openSUSE 11.4 spec file workarounds (forwarded request 142412 from TheBlackCat) (forwarded request 142413 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=11
2012-11-25 12:26:44 +00:00
Todd R
4f77defc58 Accepting request 142413 from devel:languages:python3
Remove openSUSE 11.4 spec file workarounds (forwarded request 142412 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=16
2012-11-22 13:20:19 +00:00
Stephan Kulow
2caecafde8 Accepting request 136485 from devel:languages:python
Update to 1.6.4, fix sed script for exec. file, update URL in spec file. (forwarded request 135402 from poorboywilly)

OBS-URL: https://build.opensuse.org/request/show/136485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=10
2012-10-03 07:56:01 +00:00
Sascha Peilicke
b5d8e96af8 Accepting request 135402 from home:poorboywilly:branches:devel:languages:python
Update to 1.6.4, fix sed script for exec. file, update URL in spec file.

OBS-URL: https://build.opensuse.org/request/show/135402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=14
2012-10-01 08:25:51 +00:00
Stephan Kulow
095a5d9cbc Accepting request 132955 from devel:languages:python
Restore BuildRequires: python3  This package depends on hash algorithms that are only available if python3 is installed, python3-devel will not pull them in.  Building will fail if  BuildRequires: python3 is removed. (forwarded request 132954 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/132955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=9
2012-09-11 07:15:17 +00:00
Todd R
2031e3042b Accepting request 132954 from devel:languages:python
Restore BuildRequires: python3  This package depends on hash algorithms that are only available if python3 is installed, python3-devel will not pull them in.  Building will fail if  BuildRequires: python3 is removed.

OBS-URL: https://build.opensuse.org/request/show/132954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=12
2012-09-06 12:49:02 +00:00
Stephan Kulow
72369af96a Accepting request 122326 from devel:languages:python
- Fix building on openSUSE 11.4
- spec file cleanups (forwarded request 122323 from TheBlackCat) (forwarded request 122324 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/122326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=7
2012-05-29 08:34:57 +00:00
Todd R
386bce7e12 Accepting request 122324 from devel:languages:python3
- Fix building on openSUSE 11.4
- spec file cleanups (forwarded request 122323 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/122324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=10
2012-05-25 10:03:05 +00:00
Todd R
5f86eed5d5 Accepting request 121836 from home:HighwayStar:branches:devel:languages:python
update to 1.6.3, python3 package added

OBS-URL: https://build.opensuse.org/request/show/121836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=9
2012-05-23 07:11:35 +00:00
Stephan Kulow
583e80310d Accepting request 102338 from devel:languages:python
- Update to version 1.6.2:
  * Updated dogpile lock so that it locks per namespace+key rather than on the
    entire namespace. (#101)
  * Added encryption option for any backend. Patch contributed by Toby Elliot.

OBS-URL: https://build.opensuse.org/request/show/102338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=6
2012-02-02 16:59:50 +00:00
Sascha Peilicke
0262fd86c7 - Update to version 1.6.2:
* Updated dogpile lock so that it locks per namespace+key rather than on the
    entire namespace. (#101)
  * Added encryption option for any backend. Patch contributed by Toby Elliot.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=6
2012-02-01 10:43:55 +00:00
Stephan Kulow
98e6462009 Accepting request 90909 from devel:languages:python
- Update to version 1.6.1:
  * Remove stray print statement.
  * Include .app for consistency instead of requiring wrap_app.
- Changes from version 1.6:
  * Fix bug with cache_key length calculation.
  * Fix bug with how path was set so that its restored properly and propagated.
  * Fix bug with CacheMiddleware clobbering enabled setting.
  * Update option for ``cookie_expires`` so that it can now handle an integer
    which will be used as the seconds till the cookie expires.
  * Merge fix for Issue 31, can now handle unicode cache keys.
  * Add ``key_length`` option for cache regions, and for keyword args passed
    into the cache system. Cache keys longer than this will be SHA'd.
  * added runtime beaker.__version__
  * Add ``webtest_varname`` option to configuration to optionally include
    the session value in the environ vars when using Beaker with WebTest.
  * Defer running of pkg_resources to look for external cache modules
    until requested. #66
  * memcached backend uses pylibmc.ThreadMappedPool to ensure thread-local
    usage of pylibmc when that library is in use. (#60)
  * memcached backend also has ``memcache_module`` string argument, allows
    direct specification of the name of which memcache backend to use.
  * Basic container/file-based Session support working in Py3K. (#72)
  * Further Python 3 fixes
  * Added an optimization to the FileNamespaceContainer when used with 
    Session, such that the pickled contents of the file are not 
    read a second time when session.save() is called.  (#64)
  * Fixed bug whereby CacheManager.invalidate wouldn't work for a function
    decorated by cache.cache(). (#61)
  * cache decorators @cache.cache(), @cache_region() won't include first
    argument named 'self' or 'cls' as part of the cache key.  This allows

OBS-URL: https://build.opensuse.org/request/show/90909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=4
2011-11-14 12:33:06 +00:00
Sascha Peilicke
c875a5daf1 - Update to version 1.6.1:
* Remove stray print statement.
  * Include .app for consistency instead of requiring wrap_app.
- Changes from version 1.6:
  * Fix bug with cache_key length calculation.
  * Fix bug with how path was set so that its restored properly and propagated.
  * Fix bug with CacheMiddleware clobbering enabled setting.
  * Update option for ``cookie_expires`` so that it can now handle an integer
    which will be used as the seconds till the cookie expires.
  * Merge fix for Issue 31, can now handle unicode cache keys.
  * Add ``key_length`` option for cache regions, and for keyword args passed
    into the cache system. Cache keys longer than this will be SHA'd.
  * added runtime beaker.__version__
  * Add ``webtest_varname`` option to configuration to optionally include
    the session value in the environ vars when using Beaker with WebTest.
  * Defer running of pkg_resources to look for external cache modules
    until requested. #66
  * memcached backend uses pylibmc.ThreadMappedPool to ensure thread-local
    usage of pylibmc when that library is in use. (#60)
  * memcached backend also has ``memcache_module`` string argument, allows
    direct specification of the name of which memcache backend to use.
  * Basic container/file-based Session support working in Py3K. (#72)
  * Further Python 3 fixes
  * Added an optimization to the FileNamespaceContainer when used with 
    Session, such that the pickled contents of the file are not 
    read a second time when session.save() is called.  (#64)
  * Fixed bug whereby CacheManager.invalidate wouldn't work for a function
    decorated by cache.cache(). (#61)
  * cache decorators @cache.cache(), @cache_region() won't include first
    argument named 'self' or 'cls' as part of the cache key.  This allows

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=3
2011-11-10 10:42:56 +00:00
25cbf49bb9 Autobuild autoformatter for 80516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=2
2011-09-01 15:25:30 +00:00
3c75d17d97 Accepting request 80516 from devel:languages:python
Please add, replaces python-beaker

OBS-URL: https://build.opensuse.org/request/show/80516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=1
2011-09-01 15:25:20 +00:00
Sascha Peilicke
b0ea6bade3 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=1
2011-09-01 13:17:45 +00:00