./databases/py-sqlparse, Non-validating SQL parser

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.3.1, Package name: py37-sqlparse-0.3.1, Maintainer: pkgsrc-users

sqlparse is a non-validating SQL parser module for Python.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

SHA1: 6885b71f22e9fcefd4ed6f5c398f01b56a023587
RMD160: b1a910193d4fd22679d0aea5c846a9a13e84ebef
Filesize: 65.988 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-02 11:28:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sqlparse: updated to 0.3.1

Release 0.3.1:

Enhancements
* Add HQL keywords.
* Add support for time zone casts.
* Enhance formatting of AS keyword.
* Stabilize grouping engine when parsing invalid SQL statements.

Bug Fixes
* Fix splitting of SQL with multiple statements inside
  parentheses.
* Correctly identify NULLS FIRST / NULLS LAST as keywords.
* Fix splitting of SQL statements that contain dollar signs in
  identifiers.
* Remove support for parsing double slash comments introduced in
  0.3.0 as it had some side-effects with other dialects and
  doesn't seem to be widely used.
* Restrict detection of alias names to objects that acutally could
  have an alias.
* Fix parsing of date/time literals.
* Fix initialization of TokenList.
* Fix parsing of LIKE.
* Improve parsing of identifiers
   2019-05-27 17:25:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sqlparse: updated to 0.3.0

Release 0.3.0:

Notable Changes
* Remove support for Python 3.3.

Enhancements
* New formatting option "--indent_after_first"
* New formatting option "--indent_columns"
* Add UPSERT keyword
* Strip multiple whitespace within parentheses
* Support double slash (//) comments
* Support for Calcite temporal keywords

Bug Fixes
* Fix occasional IndexError
* Fix incorrect splitting of strings containing new lines
* Fix reindent issue for parenthesis
* Fix from( parsing issue
* Fix for get_real_name() to return correct name
* Wrap function params when wrap_after is set
* Fix parsing of "WHEN name" clauses
* Add missing EXPLAIN keyword
* Fix issue with strip_comments causing a syntax error
* Fix formatting on INSERT which caused staircase effect on values
  by fredyw).
* Avoid formatting of psql commands

Internal Changes
* Unify handling of GROUP BY/ORDER BY
* Remove unnecessary compat shim for bytes
   2018-08-21 00:36:21 by Ryosuke Moro | Files touched by this commit (6)
Log message:
BUILD_DEPENDS+=  ->  TEST_DEPENDS+=
   2017-10-08 10:47:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-sqlparse: update to 0.2.4

Release 0.2.4:

Enhancements
* Add more keywords for MySQL table options (pr328, pr333, by phdru).
* Add more PL/pgSQL keywords (pr357, by Demetrio92).
* Improve parsing of floats (pr330, by atronah).

Bug Fixes
* Fix parsing of MySQL table names starting with digits (issue337).
* Fix detection of identifiers using comparisons (issue327).
* Fix parsing of UNION ALL after WHERE (issue349).
* Fix handling of semicolon in assignments (issue359, issue358).
   2017-03-05 15:34:35 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-sqlparse to 0.2.3.

Release 0.2.3 (Mar 02, 2017)
----------------------------

Enhancements

* New command line option "--encoding" (by twang2218, pr317).
* Support CONCURRENTLY keyword (issue322, by rowanseymour).

Bug Fixes

* Fix some edge-cases when parsing invalid SQL statements.
* Fix indentation of LIMIT (by romainr, issue320).
* Fix parsing of INTO keyword (issue324).

Internal Changes

* Several improvements regarding encodings.
   2017-01-03 14:23:05 by Jonathan Perkin | Files touched by this commit (52)
Log message:
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in \ 
post-install targets.
   2016-10-31 17:31:32 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-sqlparse to 0.2.2.

Release 0.2.2 (Oct 22, 2016)
----------------------------

Enhancements

* Add comma_first option: When splitting list "comma first" notation
  is used (issue141).

Bug Fixes

* Fix parsing of incomplete AS (issue284, by vmuriart).
* Fix parsing of Oracle names containing dollars (issue291).
* Fix parsing of UNION ALL (issue294).
* Fix grouping of identifiers containing typecasts (issue297).
* Add Changelog to sdist again (issue302).

Internal Changes

* `is_whitespace` and `is_group` changed into properties
   2016-10-19 17:18:35 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-sqlparse to 0.2.1.

Release 0.2.1 (Aug 13, 2016)
---------------------------

Notable Changes

* PostgreSQL: Function bodys are parsed as literal string. Previously
  sqlparse assumed that all function bodys are parsable psql
  strings (see issue277).

Bug Fixes

* Fix a regression to parse streams again (issue273, reported and
  test case by gmccreight).
* Improve Python 2/3 compatibility when using parsestream (isseu190,
  by phdru).
* Improve splitting of PostgreSQL functions (issue277).