From 0f83e160c13cd443d528bbe212ae4163dde791a270f2170d42338622579eaca5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 6 Jun 2016 11:13:48 +0000 Subject: [PATCH] Accepting request 400001 from home:tbechtold:branches:devel:languages:python - update to 0.32.7: - Made PhoneNumber exceptions inherit SQLAlchemy's DontWrapMixin - Added support for timezones with ArrowType - Fixed import issue with latest version of SQLAlchemy - Added LtreeType for PostgreSQL ltree extension - Added Ltree primitive data type - Added support for PhoneNumber objects as composites - Fixed PasswordType to not access LazyCryptContext on type init - Fixed database helpers for sqlite - Fixed TranslationHybrid aliased entities handling - Dropped py26 support - Made PasswordType to use LazyCryptContext by default - Added literal parameter processing for ArrowType - Fixed scalar parsing of LocaleType - Fixed column alias handling with assert_* functions - Fixed non-ascii string handling in composite types - Fixed observes crashing when observable root_obj is ``None`` - Column observers only notified when actual changes have been made to underlying columns - Made has_index allow fk constraint as parameter - Made has_unique_index allow fk constraint as parameter - Made the extra packages in setup.py to be returned in deterministic order - Removed is_indexed_foreign_key (superceded by more versatile has_index) - Fixed LocaleType territory parsing (courtesy of dahlia) - Added correlate parameter to select_correlated_expression function - Fixed sort_query handling of aliased classes with hybrid properties - Added support for aliased classes in get_hybrid_properties utility function - Added cast_if utility function - Added support for InstrumentedAttributes, ColumnProperties and Columns in get_columns function OBS-URL: https://build.opensuse.org/request/show/400001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy-Utils?expand=0&rev=3 --- SQLAlchemy-Utils-0.29.8.tar.gz | 3 -- SQLAlchemy-Utils-0.32.7.tar.gz | 3 ++ python-SQLAlchemy-Utils.changes | 75 +++++++++++++++++++++++++++++++++ python-SQLAlchemy-Utils.spec | 4 +- 4 files changed, 80 insertions(+), 5 deletions(-) delete mode 100644 SQLAlchemy-Utils-0.29.8.tar.gz create mode 100644 SQLAlchemy-Utils-0.32.7.tar.gz diff --git a/SQLAlchemy-Utils-0.29.8.tar.gz b/SQLAlchemy-Utils-0.29.8.tar.gz deleted file mode 100644 index d9f7cae..0000000 --- a/SQLAlchemy-Utils-0.29.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5e5fc553d6ed94664d75e8862bb281f02cba96acc9a6aaeffc95382f36804f3f -size 105654 diff --git a/SQLAlchemy-Utils-0.32.7.tar.gz b/SQLAlchemy-Utils-0.32.7.tar.gz new file mode 100644 index 0000000..e63576f --- /dev/null +++ b/SQLAlchemy-Utils-0.32.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef4dcddee21114257b8384adc5746556a5d815a2e3aec66beaa78aeaf5e695e7 +size 116833 diff --git a/python-SQLAlchemy-Utils.changes b/python-SQLAlchemy-Utils.changes index c867b91..ebcc332 100644 --- a/python-SQLAlchemy-Utils.changes +++ b/python-SQLAlchemy-Utils.changes @@ -1,3 +1,78 @@ +------------------------------------------------------------------- +Fri Jun 3 16:18:25 UTC 2016 - tbechtold@suse.com + +- update to 0.32.7: + - Made PhoneNumber exceptions inherit SQLAlchemy's DontWrapMixin + - Added support for timezones with ArrowType + - Fixed import issue with latest version of SQLAlchemy + - Added LtreeType for PostgreSQL ltree extension + - Added Ltree primitive data type + - Added support for PhoneNumber objects as composites + - Fixed PasswordType to not access LazyCryptContext on type init + - Fixed database helpers for sqlite + - Fixed TranslationHybrid aliased entities handling + - Dropped py26 support + - Made PasswordType to use LazyCryptContext by default + - Added literal parameter processing for ArrowType + - Fixed scalar parsing of LocaleType + - Fixed column alias handling with assert_* functions + - Fixed non-ascii string handling in composite types + - Fixed observes crashing when observable root_obj is ``None`` + - Column observers only notified when actual changes have been made + to underlying columns + - Made has_index allow fk constraint as parameter + - Made has_unique_index allow fk constraint as parameter + - Made the extra packages in setup.py to be returned in deterministic order + - Removed is_indexed_foreign_key (superceded by more versatile has_index) + - Fixed LocaleType territory parsing (courtesy of dahlia) + - Added correlate parameter to select_correlated_expression function + - Fixed sort_query handling of aliased classes with hybrid properties + - Added support for aliased classes in get_hybrid_properties utility function + - Added cast_if utility function + - Added support for InstrumentedAttributes, ColumnProperties and Columns in + get_columns function + - Added support for PhoneNumber extensions + - Fix None type handling of ChoiceType + - Make locale casting for translation hybrid expressions cast locales on + compilation phase. This extra lazy locale casting is needed in some + cases where translation hybrid expressions are used before get_locale + - Added better support for dynamic locales in translation_hybrid + - Make babel dependent primitive types to use Locale('en') for data validation + instead of current locale. Using current locale leads to infinite recursion + in cases where the loaded data has dependency to the loaded object's locale. + - Added get_type utility function + - Added default parameter for array_agg function + - Added Asterisk compiler + - Added row_to_json GenericFunction + - Added array_agg GenericFunction + - Made quote function accept dialect object as the first paremeter + - Made has_index work with tables without primary keys + - Fixed CompositeType null handling + - Made psycopg2 requirement optional + - Made CompositeArray work with tuples given as bind parameters + - Fixed CompositeType bind parameter processing when one of the fields is of + TypeDecorator type and + - Fixed CompositeType bind parameter processing when one of the fields is + of TypeDecorator type. + - Added length property to range types + - Added CompositeType for PostgreSQL + - Fixed ``assert_max_length``, ``assert_non_nullable``, ``assert_min_value`` + and ``assert_max_value`` not properly raising an ``AssertionError`` when + the assertion failed. + - Drop undocumented batch fetch feature. Let's wait until the inner workings + of SQLAlchemy loading API is well-documented. + - Fixed GenericRelationshipProperty comparator to work with SA 1.0.x + - Make all foreign key helpers SA 1.0 compliant + - Make translation_hybrid expression work the same way as SQLAlchemy-i18n + translation expressions + - Update SQLAlchemy dependency to 1.0 + - Added __hash__ method to Country class + - Made Country validate itself during object initialization + - Made Country string coercible + - Removed deprecated function generates + - Fixed observes function to work with simple column properties + - Added CurrencyType + ------------------------------------------------------------------- Wed Feb 10 13:50:49 UTC 2016 - tbechtold@suse.com diff --git a/python-SQLAlchemy-Utils.spec b/python-SQLAlchemy-Utils.spec index beff7d7..a1a42ae 100644 --- a/python-SQLAlchemy-Utils.spec +++ b/python-SQLAlchemy-Utils.spec @@ -17,13 +17,13 @@ Name: python-SQLAlchemy-Utils -Version: 0.29.8 +Version: 0.32.7 Release: 0 Summary: Various utility functions for SQLAlchemy License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/kvesteri/sqlalchemy-utils -Source: https://pypi.python.org/packages/source/S/SQLAlchemy-Utils/SQLAlchemy-Utils-%{version}.tar.gz +Source: https://pypi.io/packages/source/S/SQLAlchemy-Utils/SQLAlchemy-Utils-%{version}.tar.gz BuildRequires: python-SQLAlchemy BuildRequires: python-devel BuildRequires: python-setuptools