# HG changeset patch # User Thierry Florac # Date 1496760269 -7200 # Node ID 296bbb469ca44d6c0c35968742d097df6fc5b72d # Parent c70908550e8fd556d821f3aea1d6c70af9a1653b Version 0.1.3 diff -r c70908550e8f -r 296bbb469ca4 buildout.cfg --- a/buildout.cfg Tue Nov 15 09:44:46 2016 +0100 +++ b/buildout.cfg Tue Jun 06 16:44:29 2017 +0200 @@ -58,4 +58,4 @@ eggs = pyams_alchemy [test] [versions] -pyams_alchemy = 0.1.2 +pyams_alchemy = 0.1.3 diff -r c70908550e8f -r 296bbb469ca4 docs/HISTORY.txt --- a/docs/HISTORY.txt Tue Nov 15 09:44:46 2016 +0100 +++ b/docs/HISTORY.txt Tue Jun 06 16:44:29 2017 +0200 @@ -1,6 +1,20 @@ History ======= +0.1.3 +----- + - added "meta.zcml" file to configuration to allow static declaration of SQLAlchemy engines + from ZCML files through PyAMS "engine" directive + - added 'use_pool' as attribute to SQLALchemy engine utility interface (including via ZCML) and as argument + to 'get_user_engine' function to be able to disable pooling for a given user engine or session. + This argument can be usefull when session is used from PyAMS scheduler jobs where connections + shouldn't be stored and reused... + - added 'echo_pool' as attribute to SQLAlchemy engine utility interface (including via ZCML) to be able to + log pool checkouts and checkins + - added 'clear_engine' method with subscriber on modification event to force removal of volatile attributes + - changed vocabulary declaration + - changed widget CSS class attribute + 0.1.2 ----- - use named permissions diff -r c70908550e8f -r 296bbb469ca4 setup.py --- a/setup.py Tue Nov 15 09:44:46 2016 +0100 +++ b/setup.py Tue Jun 06 16:44:29 2017 +0200 @@ -22,7 +22,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.2' +version = '0.1.3' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [] @@ -56,10 +56,16 @@ install_requires=[ 'setuptools', # -*- Extra requirements: -*- + 'pyams_utils', 'pyramid', 'sqlalchemy', 'zope.component', + 'zope.componentvocabulary', + 'zope.container', 'zope.interface', + 'zope.lifecycleevent', + 'zope.schema', + 'zope.sqlalchemy', ], entry_points=""" # -*- Entry points: -*- diff -r c70908550e8f -r 296bbb469ca4 src/pyams_alchemy.egg-info/PKG-INFO --- a/src/pyams_alchemy.egg-info/PKG-INFO Tue Nov 15 09:44:46 2016 +0100 +++ b/src/pyams_alchemy.egg-info/PKG-INFO Tue Jun 06 16:44:29 2017 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyams-alchemy -Version: 0.1.2 +Version: 0.1.3 Summary: PyAMS interfaces and classes for SQLAlchemy integration Home-page: http://hg.ztfy.org/pyams/pyams_alchemy Author: Thierry Florac @@ -11,6 +11,20 @@ History ======= + 0.1.3 + ----- + - added "meta.zcml" file to configuration to allow static declaration of SQLAlchemy engines + from ZCML files through PyAMS "engine" directive + - added 'use_pool' as attribute to SQLALchemy engine utility interface (including via ZCML) and as argument + to 'get_user_engine' function to be able to disable pooling for a given user engine or session. + This argument can be usefull when session is used from PyAMS scheduler jobs where connections + shouldn't be stored and reused... + - added 'echo_pool' as attribute to SQLAlchemy engine utility interface (including via ZCML) to be able to + log pool checkouts and checkins + - added 'clear_engine' method with subscriber on modification event to force removal of volatile attributes + - changed vocabulary declaration + - changed widget CSS class attribute + 0.1.2 ----- - use named permissions diff -r c70908550e8f -r 296bbb469ca4 src/pyams_alchemy.egg-info/SOURCES.txt --- a/src/pyams_alchemy.egg-info/SOURCES.txt Tue Nov 15 09:44:46 2016 +0100 +++ b/src/pyams_alchemy.egg-info/SOURCES.txt Tue Jun 06 16:44:29 2017 +0200 @@ -20,6 +20,7 @@ src/pyams_alchemy.egg-info/top_level.txt src/pyams_alchemy/doctests/README.txt src/pyams_alchemy/interfaces/__init__.py +src/pyams_alchemy/locales/pyams_alchemy.mo src/pyams_alchemy/locales/pyams_alchemy.pot src/pyams_alchemy/locales/fr/LC_MESSAGES/pyams_alchemy.mo src/pyams_alchemy/locales/fr/LC_MESSAGES/pyams_alchemy.po diff -r c70908550e8f -r 296bbb469ca4 src/pyams_alchemy.egg-info/requires.txt --- a/src/pyams_alchemy.egg-info/requires.txt Tue Nov 15 09:44:46 2016 +0100 +++ b/src/pyams_alchemy.egg-info/requires.txt Tue Jun 06 16:44:29 2017 +0200 @@ -1,7 +1,13 @@ setuptools +pyams_utils pyramid sqlalchemy zope.component +zope.componentvocabulary +zope.container zope.interface +zope.lifecycleevent +zope.schema +zope.sqlalchemy [test]