From 42c14aafe9b8e1c0399da6b4fcfcf7750f1f5575fb21bff08a4e6462ab218cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 12:28:13 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-sqlparse revision 9e88e3b123937a58e006721e98be4c5b --- python-sqlparse.changes | 18 ++++++++++++++++++ python-sqlparse.spec | 2 +- sqlparse-0.5.0.tar.gz | 3 --- sqlparse-0.5.1.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 4 deletions(-) delete mode 100644 sqlparse-0.5.0.tar.gz create mode 100644 sqlparse-0.5.1.tar.gz diff --git a/python-sqlparse.changes b/python-sqlparse.changes index 5e57da5..77ab9eb 100644 --- a/python-sqlparse.changes +++ b/python-sqlparse.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Aug 19 07:42:50 UTC 2024 - Dirk Müller + +- update to 0.5.1: + * New "compact" option for formatter. If set, the formatter + tries to produce a more compact output by avoiding some line + breaks + * The strip comments filter was a bit greedy and removed too + much whitespace (issue772). Note: In some cases you might want + to add `strip_whitespace=True` where you previously used just + `strip_comments=True`. `strip_comments` did some of the + work that `strip_whitespace` should do. + * Fix error when splitting statements that contain multiple + CASE clauses within a BEGIN block (issue784). + * Fix whitespace removal with nested expressions (issue782). + * Fix parsing and formatting of ORDER clauses containing NULLS + FIRST or NULLS LAST (issue532). + ------------------------------------------------------------------- Tue May 7 02:21:45 UTC 2024 - Steve Kowalik diff --git a/python-sqlparse.spec b/python-sqlparse.spec index 01df361..6c036aa 100644 --- a/python-sqlparse.spec +++ b/python-sqlparse.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-sqlparse -Version: 0.5.0 +Version: 0.5.1 Release: 0 Summary: Non-validating SQL parser License: BSD-3-Clause diff --git a/sqlparse-0.5.0.tar.gz b/sqlparse-0.5.0.tar.gz deleted file mode 100644 index bd3992f..0000000 --- a/sqlparse-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:714d0a4932c059d16189f58ef5411ec2287a4360f17cdd0edd2d09d4c5087c93 -size 83475 diff --git a/sqlparse-0.5.1.tar.gz b/sqlparse-0.5.1.tar.gz new file mode 100644 index 0000000..c9fbf7f --- /dev/null +++ b/sqlparse-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb6b4df465655ef332548e24f08e205afc81b9ab86cb1c45657a7ff173a3a00e +size 84502