summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-sqlparse_0.4.3.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-sqlparse: upgrade 0.4.3 -> 0.4.4Trevor Gamblin2023-07-251-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use python_flit_core instead of setuptools3 - Modify 0001-sqlparse-change-shebang-to-python3.patch to apply on 0.4.4 - Remove CVE-2023-30608.patch since it's now upstream: [tgamblin@megalith sqlparse]$ git tag --contains c457abd 0.4.4 Changelog (https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG): Release 0.4.4 (Apr 18, 2023) ---------------------------- Notable Changes * 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: 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! Bug Fixes * 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. Other * sqlparse now uses pyproject.toml instead of setup.cfg (issue685). Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sqlparse: fix CVE-2023-30608Joe Slater2023-06-151-0/+1
| | | | | | | Backport from commit c457abd5f... upstream. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sqlparse: upgrade 0.4.2 -> 0.4.3zhengruoqin2022-09-281-0/+28
Changelog: ========== Enhancements ------------- 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 (issue677). Improve parsing of CREATE TABLE AS SELECT Bug Fixes --------- 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 (issue641). Other ------- Update github actions to test on Python 3.10 as well Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>