Revisions of python-sqlparse
buildservice-autocommit
accepted
request 1172288
from
Steve Kowalik (StevenK)
(revision 37)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 36)
- Update to 0.5.0: * Notable Changes + Drop support for Python 3.5, 3.6, and 3.7. + Python 3.12 is now supported. + IMPORTANT: Fixes a potential denial of service attack (DOS) due to recursion error for deeply nested statements. (CVE-2024-2430, bsc#1223603) * Enhancements: + Splitting statements now allows to remove the semicolon at the end. Some database backends love statements without semicolon. + Support TypedLiterals in get_parameters. + Improve splitting of Transact SQL when using GO keyword. + Support for some JSON operators. + Improve formatting of statements containing JSON operators. + Support for BigQuery and Snowflake keywords. + Support parsing of OVER clause. * Bug Fixes + Ignore dunder attributes when creating Tokens. + Allow operators to precede dollar-quoted strings. + Fix parsing of nested order clauses. + Thread-safe initialization of Lexer class. + Classify TRUNCATE as DDL and GRANT/REVOKE as DCL keywords. + Fix parsing of PRIMARY KEY. * Other + Optimize performance of matching function.
buildservice-autocommit
accepted
request 1154920
from
Factory Maintainer (factory-maintainer)
(revision 35)
baserev update by copy to link target
Robert Schweikert (rjschwei)
committed
(revision 34)
- Version update in SLE 15 SP4 and later (jsc#PED-6697)
buildservice-autocommit
accepted
request 1092212
from
Dirk Mueller (dirkmueller)
(revision 33)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 32)
Dirk Mueller (dirkmueller)
accepted
request 1092153
from
Eric Schirra (ecsos)
(revision 31)
- Add %{?sle15_python_module_pythons}
buildservice-autocommit
accepted
request 1089053
from
Matej Cepl (mcepl)
(revision 30)
baserev update by copy to link target
Matej Cepl (mcepl)
committed
(revision 29)
- Update to 0.4.4: * IMPORTANT: This release fixes a security vulnerability in the parser where a regular expression vulnerable to ReDOS (Regular Expression Denial of Service) was used. See the security advisory for details (CVE-2023-30608, bsc#1210617, https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2) The vulnerability was discovered by @erik-krogh from GitHub Security Lab (GHSL). Thanks for reporting! * Revert a change from 0.4.0 that changed IN to be a comparison (issue694). The primary expectation is that IN is treated as a keyword and not as a comparison operator. That also follows the definition of reserved keywords for the major SQL syntax definitions. * Fix regular expressions for string parsing. * sqlparse now uses pyproject.toml instead of setup.cfg (issue685).
buildservice-autocommit
accepted
request 1007717
from
Dirk Mueller (dirkmueller)
(revision 28)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 27)
- update to 0.4.3: * Add support for DIV operator. * Add support for additional SPARK keywords. * Avoid tokens copy. * Add REGEXP as a comparision. * Add DISTINCTROW keyword for MS Access. * Improve parsing of CREATE TABLE AS SELECT. * Fix spelling of INDICATOR keyword. * Fix formatting error in EXTRACT function. * Fix bad parsing of create table statements that use lower case. * Handle backtick as valid quote char. * Allow any unicode character as valid identifier name.
Matej Cepl (mcepl)
accepted
request 922560
from
Johannes Grassler (jgrassler)
(revision 26)
- update to 0.4.2 (bsc#1190741, CVE-2021-32839): * This release fixes a security vulnerability in the strip comments filter. * Add ELSIF as keyword (issue584). * Add CONFLICT and ON_ERROR_STOP keywords. * Fix parsing of backticks (issue588). * Fix parsing of scientific number (issue399).
buildservice-autocommit
accepted
request 867445
from
Markéta Machová (mcalabkova)
(revision 25)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 867403
from
Antonio Larrosa (alarrosa)
(revision 24)
- Disable building a python2 flavor so we can build the package for Leap/SLE.
buildservice-autocommit
accepted
request 850920
from
Dirk Mueller (dirkmueller)
(revision 23)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 22)
- update to 0.4.1: * Python 3.9 support * Remove support for end-of-life Python 2.7 and 3.4. Python 3.5+ is now required. * Remaining strings that only consist of whitespaces are not treated as statements anymore. Code that ignored the last element from sqlparse.split() should be updated accordingly since that function now doesn't return an empty string as the last element in some cases (issue496). - remove non-upstream stdout-encoding-set.patch patch
buildservice-autocommit
accepted
request 787620
from
Steve Kowalik (StevenK)
(revision 21)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 20)
- Add stdout-encoding-set.patch to use sys.stdout.reconfigure() if the stream is an instance of TextIOWrapper to support a pytest change.
Steve Kowalik (StevenK)
committed
(revision 19)
- Add stdout-encoding-set.patch to use sys.stdout.reconfigure() for Python 3.
buildservice-autocommit
accepted
request 783018
from
Dirk Mueller (dirkmueller)
(revision 18)
baserev update by copy to link target
Displaying revisions 1 - 20 of 37