[Checkins] SVN: zope.sqlalchemy/tags/0.4/ tag 0.4

Laurence Rowe l at lrowe.co.uk
Tue Jan 20 16:09:53 EST 2009


Log message for revision 94882:
  tag 0.4

Changed:
  A   zope.sqlalchemy/tags/0.4/
  D   zope.sqlalchemy/tags/0.4/CHANGES.txt
  A   zope.sqlalchemy/tags/0.4/CHANGES.txt
  D   zope.sqlalchemy/tags/0.4/setup.py
  A   zope.sqlalchemy/tags/0.4/setup.py
  D   zope.sqlalchemy/tags/0.4/src/
  A   zope.sqlalchemy/tags/0.4/src/

-=-
Deleted: zope.sqlalchemy/tags/0.4/CHANGES.txt
===================================================================
--- zope.sqlalchemy/trunk/CHANGES.txt	2009-01-20 16:59:06 UTC (rev 94878)
+++ zope.sqlalchemy/tags/0.4/CHANGES.txt	2009-01-20 21:09:53 UTC (rev 94882)
@@ -1,45 +0,0 @@
-Changes
-=======
-
-0.4 (unreleased)
-----------------
-
-Bugs fixed:
-
-* Only raise errors in tpc_abort if we have committed.
-
-* Remove the session id from the SESSION_STATE just before we de-reference the
-  session (i.e. all work is already successfuly completed). This fixes cases
-  where the transaction commit failed but SESSION_STATE was already cleared.  In
-  those cases, the transaction was wedeged as abort would always error.  This
-  happened on PostgreSQL where invalid SQL was used and the error caught.
-
-* Call session.flush() unconditionally in tpc_begin.
-
-* Change error message on session.commit() to be friendlier to non zope users.
-
-0.3 (2008-07-29)
-----------------
-
-Bugs fixed:
-
-* New objects added to a session did not cause a transaction join, so were not
-  committed at the end of the transaction unless the database was accessed.
-  SQLAlchemy 0.4.7 or 0.5beta3 now required.
-
-Feature changes:
-
-* For correctness and consistency with ZODB, renamed the function 'invalidate' 
-  to 'mark_changed' and the status 'invalidated' to 'changed'.
-
-0.2 (2008-06-28)
-----------------
-
-Feature changes:
-
-* Updated to support SQLAlchemy 0.5. (0.4.6 is still supported).
-
-0.1 (2008-05-15)
-----------------
-
-* Initial public release.

Copied: zope.sqlalchemy/tags/0.4/CHANGES.txt (from rev 94881, zope.sqlalchemy/trunk/CHANGES.txt)
===================================================================
--- zope.sqlalchemy/tags/0.4/CHANGES.txt	                        (rev 0)
+++ zope.sqlalchemy/tags/0.4/CHANGES.txt	2009-01-20 21:09:53 UTC (rev 94882)
@@ -0,0 +1,49 @@
+Changes
+=======
+
+0.4 (2009-01-20)
+----------------
+
+Bugs fixed:
+
+* Only raise errors in tpc_abort if we have committed.
+
+* Remove the session id from the SESSION_STATE just before we de-reference the
+  session (i.e. all work is already successfuly completed). This fixes cases
+  where the transaction commit failed but SESSION_STATE was already cleared.  In
+  those cases, the transaction was wedeged as abort would always error.  This
+  happened on PostgreSQL where invalid SQL was used and the error caught.
+
+* Call session.flush() unconditionally in tpc_begin.
+
+* Change error message on session.commit() to be friendlier to non zope users.
+
+Feature changes:
+
+* Support for bulk update and delete with SQLAlchemy 0.5.1
+
+0.3 (2008-07-29)
+----------------
+
+Bugs fixed:
+
+* New objects added to a session did not cause a transaction join, so were not
+  committed at the end of the transaction unless the database was accessed.
+  SQLAlchemy 0.4.7 or 0.5beta3 now required.
+
+Feature changes:
+
+* For correctness and consistency with ZODB, renamed the function 'invalidate' 
+  to 'mark_changed' and the status 'invalidated' to 'changed'.
+
+0.2 (2008-06-28)
+----------------
+
+Feature changes:
+
+* Updated to support SQLAlchemy 0.5. (0.4.6 is still supported).
+
+0.1 (2008-05-15)
+----------------
+
+* Initial public release.

Deleted: zope.sqlalchemy/tags/0.4/setup.py
===================================================================
--- zope.sqlalchemy/trunk/setup.py	2009-01-20 16:59:06 UTC (rev 94878)
+++ zope.sqlalchemy/tags/0.4/setup.py	2009-01-20 21:09:53 UTC (rev 94882)
@@ -1,92 +0,0 @@
-import os
-from setuptools import setup, find_packages
-
-# generic helpers primarily for the long_description
-try:
-    import docutils
-except ImportError:
-    import warnings
-    def validateReST(text):
-        return ''
-else:
-    import docutils.utils
-    import docutils.parsers.rst
-    import StringIO
-    def validateReST(text):
-        doc = docutils.utils.new_document('validator')
-        # our desired settings
-        doc.reporter.halt_level = 5
-        doc.reporter.report_level = 1
-        stream = doc.reporter.stream = StringIO.StringIO()
-        # docutils buglets (?)
-        doc.settings.tab_width = 2
-        doc.settings.pep_references = doc.settings.rfc_references = False
-        doc.settings.trim_footnote_reference_space = None
-        # and we're off...
-        parser = docutils.parsers.rst.Parser()
-        parser.parse(text, doc)
-        return stream.getvalue()
-
-def text(*args, **kwargs):
-    # note: distutils explicitly disallows unicode for setup values :-/
-    # http://docs.python.org/dist/meta-data.html
-    tmp = []
-    for a in args:
-        if a.endswith('.txt'):
-            f = open(os.path.join(*a.split('/')))
-            tmp.append(f.read())
-            f.close()
-            tmp.append('\n\n')
-        else:
-            tmp.append(a)
-    if len(tmp) == 1:
-        res = tmp[0]
-    else:
-        res = ''.join(tmp)
-    report = validateReST(res)
-    if report:
-        print report
-        raise ValueError('ReST validation error')
-    return res
-# end helpers; below this line should be code custom to this package
-
-setup(
-    name='zope.sqlalchemy',
-    version='0.4dev', # Remember to update __version__ in __init__.py
-    
-    packages=find_packages('src'),
-    package_dir = {'':'src'},
-    include_package_data=True,
-    zip_safe=False,
-    
-    namespace_packages=['zope'],
-    
-    author='Laurence Rowe',
-    author_email='laurence at lrowe.co.uk',
-    url='http://pypi.python.org/pypi/zope.sqlalchemy',
-    description=text('README.txt'),
-    long_description=text('src/zope/sqlalchemy/README.txt',
-                          'CHANGES.txt',
-                          out=True),
-    license='ZPL 2.1',
-    keywords='zope zope3 sqlalchemy',                        
-    classifiers=[
-    "Framework :: Zope3",
-    "Programming Language :: Python",
-    "License :: OSI Approved :: Zope Public License",
-    "Topic :: Software Development :: Libraries :: Python Modules",
-    ],
-
-    install_requires=[
-      'setuptools',
-      'SQLAlchemy>=0.4.7,!=0.5.0beta1,!=0.5.0beta2', # or >=0.5b3
-      'transaction',
-      'zope.interface',
-      ],
-    extras_require={
-        'test': [
-            'zope.testing',
-            'docutils',
-            ]
-        },
-    )

Copied: zope.sqlalchemy/tags/0.4/setup.py (from rev 94881, zope.sqlalchemy/trunk/setup.py)
===================================================================
--- zope.sqlalchemy/tags/0.4/setup.py	                        (rev 0)
+++ zope.sqlalchemy/tags/0.4/setup.py	2009-01-20 21:09:53 UTC (rev 94882)
@@ -0,0 +1,92 @@
+import os
+from setuptools import setup, find_packages
+
+# generic helpers primarily for the long_description
+try:
+    import docutils
+except ImportError:
+    import warnings
+    def validateReST(text):
+        return ''
+else:
+    import docutils.utils
+    import docutils.parsers.rst
+    import StringIO
+    def validateReST(text):
+        doc = docutils.utils.new_document('validator')
+        # our desired settings
+        doc.reporter.halt_level = 5
+        doc.reporter.report_level = 1
+        stream = doc.reporter.stream = StringIO.StringIO()
+        # docutils buglets (?)
+        doc.settings.tab_width = 2
+        doc.settings.pep_references = doc.settings.rfc_references = False
+        doc.settings.trim_footnote_reference_space = None
+        # and we're off...
+        parser = docutils.parsers.rst.Parser()
+        parser.parse(text, doc)
+        return stream.getvalue()
+
+def text(*args, **kwargs):
+    # note: distutils explicitly disallows unicode for setup values :-/
+    # http://docs.python.org/dist/meta-data.html
+    tmp = []
+    for a in args:
+        if a.endswith('.txt'):
+            f = open(os.path.join(*a.split('/')))
+            tmp.append(f.read())
+            f.close()
+            tmp.append('\n\n')
+        else:
+            tmp.append(a)
+    if len(tmp) == 1:
+        res = tmp[0]
+    else:
+        res = ''.join(tmp)
+    report = validateReST(res)
+    if report:
+        print report
+        raise ValueError('ReST validation error')
+    return res
+# end helpers; below this line should be code custom to this package
+
+setup(
+    name='zope.sqlalchemy',
+    version='0.4', # Remember to update __version__ in __init__.py
+    
+    packages=find_packages('src'),
+    package_dir = {'':'src'},
+    include_package_data=True,
+    zip_safe=False,
+    
+    namespace_packages=['zope'],
+    
+    author='Laurence Rowe',
+    author_email='laurence at lrowe.co.uk',
+    url='http://pypi.python.org/pypi/zope.sqlalchemy',
+    description=text('README.txt'),
+    long_description=text('src/zope/sqlalchemy/README.txt',
+                          'CHANGES.txt',
+                          out=True),
+    license='ZPL 2.1',
+    keywords='zope zope3 sqlalchemy',                        
+    classifiers=[
+    "Framework :: Zope3",
+    "Programming Language :: Python",
+    "License :: OSI Approved :: Zope Public License",
+    "Topic :: Software Development :: Libraries :: Python Modules",
+    ],
+
+    install_requires=[
+      'setuptools',
+      'SQLAlchemy>=0.4.7,!=0.5.0beta1,!=0.5.0beta2,!=0.5.0beta3,!=0.5.0rc1,!=0.5.0rc2,!=0.5.0rc3,!=0.5.0rc4,!=0.5.0', # or >=0.5.1
+      'transaction',
+      'zope.interface',
+      ],
+    extras_require={
+        'test': [
+            'zope.testing',
+            'docutils',
+            ]
+        },
+    )



More information about the Checkins mailing list