14
0

- 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
This commit is contained in:
2020-03-09 16:23:34 +00:00
committed by Git OBS Bridge
parent fcb3220d99
commit 46ded828ef
4 changed files with 29 additions and 6 deletions

View File

@@ -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}