diff options
author | zangrc <zangrc.fnst@fujitsu.com> | 2021-09-25 04:25:11 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-09-27 11:34:15 -0700 |
commit | 8906fbe1719b18adbba7f445e5c24d5eb30d11a0 (patch) | |
tree | 4a4dcfa7f8ffc151fca98ab17d95005be382770b /meta-python/recipes-devtools/python/python3-sqlparse_0.4.2.bb | |
parent | e177fb82216aebbbab56ed4e5608223139e915d4 (diff) | |
download | meta-openembedded-8906fbe1719b18adbba7f445e5c24d5eb30d11a0.tar.gz |
python3-sqlparse: upgrade 0.4.1 -> 0.4.2
Release 0.4.2 (Sep 10, 2021)
----------------------------
Notable Changes
* IMPORTANT: This release fixes a security vulnerability in the
strip comments filter. In this filter a regular expression that was
vulnerable to ReDOS (Regular Expression Denial of Service) was
used. See the security advisory for details: https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-p5w8-wqhj-9hhf
The vulnerability was discovered by @erik-krogh and @yoff from
GitHub Security Lab (GHSL). Thanks for reporting!
Enhancements
* Add ELSIF as keyword (issue584).
* Add CONFLICT and ON_ERROR_STOP keywords (pr595, by j-martin).
Bug Fixes
* Fix parsing of backticks (issue588).
* Fix parsing of scientific number (issue399).
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-sqlparse_0.4.2.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-sqlparse_0.4.2.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.2.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.2.bb new file mode 100644 index 0000000000..0980ff9c24 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.2.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "Non-validating SQL parser module" | ||
2 | HOMEPAGE = "http://pypi.python.org/pypi/sqlparse" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" | ||
6 | |||
7 | SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[sha256sum] = "0c00730c74263a94e5a9919ade150dfc3b19c574389985446148402998287dae" | ||
12 | |||
13 | export BUILD_SYS | ||
14 | export HOST_SYS | ||
15 | |||
16 | inherit pypi ptest setuptools3 | ||
17 | |||
18 | RDEPENDS:${PN}-ptest += " \ | ||
19 | ${PYTHON_PN}-pytest \ | ||
20 | ${PYTHON_PN}-unixadmin \ | ||
21 | " | ||
22 | |||
23 | do_install_ptest() { | ||
24 | install -d ${D}${PTEST_PATH}/tests | ||
25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
26 | } | ||
27 | |||
28 | BBCLASSEXTEND = "native nativesdk" | ||