<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-devtools/python/python3-sqlparse, branch scarthgap</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=scarthgap</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=scarthgap'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2024-08-03T15:56:05+00:00</updated>
<entry>
<title>python3-sqlparse: Fix CVE-2024-4340</title>
<updated>2024-08-03T15:56:05+00:00</updated>
<author>
<name>Soumya Sambu</name>
<email>soumya.sambu@windriver.com</email>
</author>
<published>2024-07-26T12:04:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=cffdfd0d699829f5ee7a0a59a6573cc6ed2601c4'/>
<id>urn:sha1:cffdfd0d699829f5ee7a0a59a6573cc6ed2601c4</id>
<content type='text'>
Passing a heavily nested list to sqlparse.parse() leads to a Denial
of Service due to RecursionError.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-4340

Upstream-patch:
https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03

Signed-off-by: Soumya Sambu &lt;soumya.sambu@windriver.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-sqlparse: switch to pytest --automake</title>
<updated>2024-02-17T00:42:36+00:00</updated>
<author>
<name>Tim Orling</name>
<email>ticotimo@gmail.com</email>
</author>
<published>2024-02-17T00:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=adc660605e0e2b8f5103f2d249a532f31c180092'/>
<id>urn:sha1:adc660605e0e2b8f5103f2d249a532f31c180092</id>
<content type='text'>
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling &lt;tim.orling@konsulko.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-sqlparse: upgrade 0.4.3 -&gt; 0.4.4</title>
<updated>2023-07-25T19:46:19+00:00</updated>
<author>
<name>Trevor Gamblin</name>
<email>tgamblin@baylibre.com</email>
</author>
<published>2023-07-25T19:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=74e70284acb2eb2f2a47a1ab1aa5ee0928d46344'/>
<id>urn:sha1:74e70284acb2eb2f2a47a1ab1aa5ee0928d46344</id>
<content type='text'>
- 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 &lt;tgamblin@baylibre.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-sqlparse: fix CVE-2023-30608</title>
<updated>2023-06-15T22:04:51+00:00</updated>
<author>
<name>Joe Slater</name>
<email>joe.slater@windriver.com</email>
</author>
<published>2023-06-15T18:50:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=f8df47347619f5d8dc96710e3f892ae1a21b5e90'/>
<id>urn:sha1:f8df47347619f5d8dc96710e3f892ae1a21b5e90</id>
<content type='text'>
Backport from commit c457abd5f... upstream.

Signed-off-by: Joe Slater &lt;joe.slater@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-sqlparse: Upgrade 0.3.1 -&gt; 0.4.1</title>
<updated>2020-10-17T06:11:58+00:00</updated>
<author>
<name>Leon Anavi</name>
<email>leon.anavi@konsulko.com</email>
</author>
<published>2020-10-13T11:46:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=3ae56a340a8fbb3803cddf7955b15a461a62e1f9'/>
<id>urn:sha1:3ae56a340a8fbb3803cddf7955b15a461a62e1f9</id>
<content type='text'>
Upgrade to release 0.4.1:

- Just removed a debug print statement
- 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.

Signed-off-by: Leon Anavi &lt;leon.anavi@konsulko.com&gt;
Acked-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-sqlparse: Modify ptest output format</title>
<updated>2020-04-27T14:48:46+00:00</updated>
<author>
<name>zangrc</name>
<email>zangrc.fnst@cn.fujitsu.com</email>
</author>
<published>2020-04-26T07:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1efe4446eb4dbdb0ae5de7709b3577185c2d01cd'/>
<id>urn:sha1:1efe4446eb4dbdb0ae5de7709b3577185c2d01cd</id>
<content type='text'>
Signed-off-by: Zang Ruochen &lt;zangrc.fnst@cn.fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-sqlparse: Enable ptest</title>
<updated>2020-03-30T18:44:47+00:00</updated>
<author>
<name>Zang Ruochen</name>
<email>zangrc.fnst@cn.fujitsu.com</email>
</author>
<published>2020-03-30T05:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=ac867f6fa6273ca3361cc6b5b07ca23ef6d25ae6'/>
<id>urn:sha1:ac867f6fa6273ca3361cc6b5b07ca23ef6d25ae6</id>
<content type='text'>
Signed-off-by: Zang Ruochen &lt;zangrc.fnst@cn.fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-sqlparse: change shebang to python3</title>
<updated>2020-03-09T18:26:36+00:00</updated>
<author>
<name>Changqing Li</name>
<email>changqing.li@windriver.com</email>
</author>
<published>2020-03-09T06:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=41eb6e1a61ee416714149918489af975eba3dba6'/>
<id>urn:sha1:41eb6e1a61ee416714149918489af975eba3dba6</id>
<content type='text'>
we have offcially dropped python2, so it is possible
that our code run on python3 only host, so change
shebang to python3 to avoid error like:
python: command not found

Signed-off-by: Changqing Li &lt;changqing.li@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
