You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/04/21 22:52:17 UTC

[GitHub] [beam] dependabot[bot] opened a new pull request, #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

dependabot[bot] opened a new pull request, #26391:
URL: https://github.com/apache/beam/pull/26391

   Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.3 to 0.4.4.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG">sqlparse's changelog</a>.</em></p>
   <blockquote>
   <h2>Release 0.4.4 (Apr 18, 2023)</h2>
   <p>Notable Changes</p>
   <ul>
   <li>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: <a href="https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2">https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2</a>
   The vulnerability was discovered by <a href="https://github.com/erik-krogh"><code>@​erik-krogh</code></a> from GitHub
   Security Lab (GHSL). Thanks for reporting!</li>
   </ul>
   <p>Bug Fixes</p>
   <ul>
   <li>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.</li>
   <li>Fix regular expressions for string parsing.</li>
   </ul>
   <p>Other</p>
   <ul>
   <li>sqlparse now uses pyproject.toml instead of setup.cfg (issue685).</li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/647d1457acf7d88614215841eb15d423df2a1895"><code>647d145</code></a> Update Changelog.</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/58dae6fcd2a51209aeccd4fff3b923bf37714e19"><code>58dae6f</code></a> Bump version.</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/d9d69f47ed13a583c81473211f44ae320470a58b"><code>d9d69f4</code></a> Removed test file</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/64bb91f4880b46f73b4cc9207ae9ccc180d56d1b"><code>64bb91f</code></a> Testing branch</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb"><code>c457abd</code></a> Remove unnecessary parts in regex for bad escaping.</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/b949fdf9a1538f98b57612bef6306fc38f32aaf7"><code>b949fdf</code></a> CI: Use codecov action.</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/fc76056fb8f0ec713a3f2a2b6206a3336932c382"><code>fc76056</code></a> Cleanup regex for detecting keywords (fixes <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/709">#709</a>).</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/7fdb2da82d51a9a02baaefb5c7fe5cbbaac4329e"><code>7fdb2da</code></a> Merge pull request <a href="https://redirect.github.com/andialbrecht/sqlparse/issues/633">#633</a> from shikanime/master</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/dd9d5b91d7aa30e4a000d5370f09dc99378891dc"><code>dd9d5b9</code></a> Fix get_type with comments between WITH keyword</li>
   <li><a href="https://github.com/andialbrecht/sqlparse/commit/907fb496f90f2719095a1f01fe24db1e5c0e15a8"><code>907fb49</code></a> change singleton behavior</li>
   <li>Additional commits viewable in <a href="https://github.com/andialbrecht/sqlparse/compare/0.4.3...0.4.4">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlparse&package-manager=pip&previous-version=0.4.3&new-version=0.4.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
   You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/beam/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] dependabot[bot] commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1518627056

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] damccorm commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "damccorm (via GitHub)" <gi...@apache.org>.
damccorm commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1518627784

   Looks like we can only ignore dependency versions, not filepaths. So we should just ignore changes to the generated files for now I guess


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] github-actions[bot] commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1518439865

   Assigning reviewers. If you would like to opt out of this review, comment `assign to next reviewer`:
   
   R: @AnandInguva for label python.
   
   Available commands:
   - `stop reviewer notifications` - opt out of the automated review tooling
   - `remind me after tests pass` - tag the comment author after tests pass
   - `waiting on author` - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
   
   The PR bot will only process comments in the main thread (not review comments).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] damccorm commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "damccorm (via GitHub)" <gi...@apache.org>.
damccorm commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1518627042

   We probably shouldn't merge this and should probably just turn off updates for these files in https://github.com/apache/beam/blob/master/.github/dependabot.yml. We can probably merge changes to the base image, which should get proposed as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] damccorm closed pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "damccorm (via GitHub)" <gi...@apache.org>.
damccorm closed pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39
URL: https://github.com/apache/beam/pull/26391


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] codecov[bot] commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1518418494

   ## [Codecov](https://codecov.io/gh/apache/beam/pull/26391?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#26391](https://codecov.io/gh/apache/beam/pull/26391?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (96cc930) into [master](https://codecov.io/gh/apache/beam/commit/818c2b44e998529f3e5727a5d30b75922e0d113d?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (818c2b4) will **decrease** coverage by `0.01%`.
   > The diff coverage is `0.00%`.
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #26391      +/-   ##
   ==========================================
   - Coverage   81.08%   81.08%   -0.01%     
   ==========================================
     Files         469      469              
     Lines       67185    67185              
   ==========================================
   - Hits        54479    54474       -5     
   - Misses      12706    12711       +5     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | python | `81.08% <0.00%> (-0.01%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/beam/pull/26391?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...ples/inference/tensorflow\_imagenet\_segmentation.py](https://codecov.io/gh/apache/beam/pull/26391?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vZXhhbXBsZXMvaW5mZXJlbmNlL3RlbnNvcmZsb3dfaW1hZ2VuZXRfc2VnbWVudGF0aW9uLnB5) | `0.00% <0.00%> (ø)` | |
   
   ... and [7 files with indirect coverage changes](https://codecov.io/gh/apache/beam/pull/26391/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] AnandInguva commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "AnandInguva (via GitHub)" <gi...@apache.org>.
AnandInguva commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1518450950

   @tvalentyn How do we handle these kind of PRs which update python container requirements file?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] github-actions[bot] commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1518460242

   R: @damccorm for final approval


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on pull request #26391: Bump sqlparse from 0.4.3 to 0.4.4 in /sdks/python/container/py39

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on PR #26391:
URL: https://github.com/apache/beam/pull/26391#issuecomment-1520015065

   Last time I checked it wasn't possible to ignore codepaths: https://github.com/dependabot/dependabot-core/issues/4364 I close such PRs when I see them. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org