From 46ded828eff2ed9a8676a05e29e8a567162be50f7773e7fcfd6cfa7c2a256bcd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 9 Mar 2020 16:23:34 +0000 Subject: [PATCH] - update to v0.3.1: * Add HQL keywords (pr475, by matwalk). * Add support for time zone casts (issue489). * Enhance formatting of AS keyword (issue507, by john-bodley). * Stabilize grouping engine when parsing invalid SQL statements. * Fix splitting of SQL with multiple statements inside parentheses (issue485, pr486 by win39). * Correctly identify NULLS FIRST / NULLS LAST as keywords (issue487). * Fix splitting of SQL statements that contain dollar signs in identifiers (issue491). * Remove support for parsing double slash comments introduced in 0.3.0 (issue456) as it had some side-effects with other dialects and doesn't seem to be widely used (issue476). * Restrict detection of alias names to objects that acutally could have an alias (issue455, adopted some parts of pr509 by john-bodley). * Fix parsing of date/time literals (issue438, by vashek). * Fix initialization of TokenList (issue499, pr505 by john-bodley). * Fix parsing of LIKE (issue493, pr525 by dbczumar). * Improve parsing of identifiers (pr527 by liulk). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlparse?expand=0&rev=17 --- python-sqlparse.changes | 23 +++++++++++++++++++++++ python-sqlparse.spec | 6 +++--- sqlparse-0.3.0.tar.gz | 3 --- sqlparse-0.3.1.tar.gz | 3 +++ 4 files changed, 29 insertions(+), 6 deletions(-) delete mode 100644 sqlparse-0.3.0.tar.gz create mode 100644 sqlparse-0.3.1.tar.gz diff --git a/python-sqlparse.changes b/python-sqlparse.changes index cfb76da..b96400f 100644 --- a/python-sqlparse.changes +++ b/python-sqlparse.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Mar 9 16:22:39 UTC 2020 - Dirk Mueller + +- update to v0.3.1: + * Add HQL keywords (pr475, by matwalk). + * Add support for time zone casts (issue489). + * Enhance formatting of AS keyword (issue507, by john-bodley). + * Stabilize grouping engine when parsing invalid SQL statements. + * Fix splitting of SQL with multiple statements inside + parentheses (issue485, pr486 by win39). + * Correctly identify NULLS FIRST / NULLS LAST as keywords (issue487). + * Fix splitting of SQL statements that contain dollar signs in + identifiers (issue491). + * Remove support for parsing double slash comments introduced in + 0.3.0 (issue456) as it had some side-effects with other dialects and + doesn't seem to be widely used (issue476). + * Restrict detection of alias names to objects that acutally could + have an alias (issue455, adopted some parts of pr509 by john-bodley). + * Fix parsing of date/time literals (issue438, by vashek). + * Fix initialization of TokenList (issue499, pr505 by john-bodley). + * Fix parsing of LIKE (issue493, pr525 by dbczumar). + * Improve parsing of identifiers (pr527 by liulk). + ------------------------------------------------------------------- Wed Apr 17 12:00:12 UTC 2019 - Tomáš Chvátal diff --git a/python-sqlparse.spec b/python-sqlparse.spec index 78307c5..e8cd491 100644 --- a/python-sqlparse.spec +++ b/python-sqlparse.spec @@ -1,7 +1,7 @@ # # spec file for package python-sqlparse # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sqlparse -Version: 0.3.0 +Version: 0.3.1 Release: 0 Summary: Non-validating SQL parser License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/andialbrecht/sqlparse +URL: https://github.com/andialbrecht/sqlparse Source: https://files.pythonhosted.org/packages/source/s/sqlparse/sqlparse-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} diff --git a/sqlparse-0.3.0.tar.gz b/sqlparse-0.3.0.tar.gz deleted file mode 100644 index f43c506..0000000 --- a/sqlparse-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873 -size 64072 diff --git a/sqlparse-0.3.1.tar.gz b/sqlparse-0.3.1.tar.gz new file mode 100644 index 0000000..abd043c --- /dev/null +++ b/sqlparse-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548 +size 67572