Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the python-packages group with 3 updates (#54)
Bumps the python-packages group with 3 updates: [sqlglot](https://github.com/tobymao/sqlglot), [pandas-gbq](https://github.com/googleapis/python-bigquery-pandas) and [ruff](https://github.com/astral-sh/ruff). Updates `sqlglot` from 25.25.0 to 25.26.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md">sqlglot's changelog</a>.</em></p> <blockquote> <h2>[v25.26.0] - 2024-10-21</h2> <h3>:boom: BREAKING CHANGES</h3> <ul> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/142c3e75b25374ba9259f21b51cd728bbeb280ef"><code>142c3e7</code></a> - Support TO_DOUBLE function <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4255">#4255</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em>:</p> <p>Support TO_DOUBLE function (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4255">#4255</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/13d06966a2ca9264f35d5a58e1eaff1baa7dc66e"><code>13d0696</code></a> - Support TRY_TO_TIMESTAMP function <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4257">#4257</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em>:</p> <p>Support TRY_TO_TIMESTAMP function (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4257">#4257</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/7fc0055fb04713ba047baa5eda1ce0baf1cc79e2"><code>7fc0055</code></a> - dont parse right-hand side operands of ARRAY JOIN as Tables <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4258">#4258</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em>:</p> <p>dont parse right-hand side operands of ARRAY JOIN as Tables (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4258">#4258</a>)</p> </li> <li> <p>due to <a href="https://github.com/tobymao/sqlglot/commit/222152e32521dbc6de3384b18ab4c677239c6088"><code>222152e</code></a> - Add type hints for optimizer rules eliminate & merge subqueries <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4267">#4267</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em>:</p> <p>Add type hints for optimizer rules eliminate & merge subqueries (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4267">#4267</a>)</p> </li> </ul> <h3>:sparkles: New Features</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/6f32e5348d9aeba9c5d51a892023b2e14e072119"><code>6f32e53</code></a> - support non-strict qualify_columns <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4243">#4243</a> by <a href="https://github.com/hsheth2"><code>@hsheth2</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/ed97954ecd7c2d7d4fe1bbf2ec0ecc000dd02b32"><code>ed97954</code></a> - <strong>duckdb</strong>: Transpile Spark's LATERAL VIEW EXPLODE <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4252">#4252</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4247">#4247</a> opened by <a href="https://github.com/idanyadgar-clutch"><code>@idanyadgar-clutch</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/8f5efc7bc01ba5923584cd6ef38a4d81e763ccae"><code>8f5efc7</code></a> - <strong>oracle</strong>: parse hints <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4249">#4249</a> by <a href="https://github.com/mkmoisen"><code>@mkmoisen</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/8b7ff5ee8713a3ba50c48addd3700927a0240cf5"><code>8b7ff5e</code></a> - <strong>starrocks</strong>: support for ALTER TABLE SWAP WITH <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4256">#4256</a> by <a href="https://github.com/mrhamburg"><code>@mrhamburg</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/1c433487a45379298ef27b3688723df2bd740fd1"><code>1c43348</code></a> - <strong>trino</strong>: Support for LISTAGG function <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4253">#4253</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4250">#4250</a> opened by <a href="https://github.com/npochhi"><code>@npochhi</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/142c3e75b25374ba9259f21b51cd728bbeb280ef"><code>142c3e7</code></a> - <strong>snowflake</strong>: Support TO_DOUBLE function <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4255">#4255</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/13d06966a2ca9264f35d5a58e1eaff1baa7dc66e"><code>13d0696</code></a> - <strong>snowflake</strong>: Support TRY_TO_TIMESTAMP function <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4257">#4257</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/04dccf3cdaf1c3a0466dda113aba5439f1639ae0"><code>04dccf3</code></a> - <strong>tsql</strong>: Support for stored procedure options <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4260">#4260</a> by <a href="https://github.com/rsanchez-xtillion"><code>@rsanchez-xtillion</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/36f68416b3dd0d9ac703dd926d1f74bc43566e0d"><code>36f6841</code></a> - <strong>bigquery</strong>: support EDIT_DISTANCE (Levinshtein) function <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4276">#4276</a> by <a href="https://github.com/esciara"><code>@esciara</code></a>)</em> <ul> <li>:arrow_lower_right: <em>addresses issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4275">#4275</a> opened by <a href="https://github.com/esciara"><code>@esciara</code></a></em></li> </ul> </li> </ul> <h3>:bug: Bug Fixes</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/fcc05c9daa31c7a51474ec9c72ceafd682359f90"><code>fcc05c9</code></a> - <strong>bigquery</strong>: Early expand only aliased names in GROUP BY <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4246">#4246</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/5655cfba7afdf8f95dea53d5ededfde209b77c30"><code>5655cfb</code></a> - add support for negative intervals in to_interval <em>(commit by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/51f4d26ed8694365c61fdefd810a420fcfefdeca"><code>51f4d26</code></a> - generate single argument ArrayConcat without trailing comma fixes <a href="https://redirect.github.com/tobymao/sqlglot/pull/4259">#4259</a> <em>(commit by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/7fc0055fb04713ba047baa5eda1ce0baf1cc79e2"><code>7fc0055</code></a> - <strong>clickhouse</strong>: dont parse right-hand side operands of ARRAY JOIN as Tables <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4258">#4258</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4254">#4254</a> opened by <a href="https://github.com/xtess16"><code>@xtess16</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/8f49ad87fa795349183d13129110ad59387bfe11"><code>8f49ad8</code></a> - <strong>clickhouse</strong>: traverse_scope with FINAL modifier <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4263">#4263</a> by <a href="https://github.com/pkit"><code>@pkit</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4262">#4262</a> opened by <a href="https://github.com/obazna"><code>@obazna</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/83167eaa3039195f756c7b1ad95fc9162f19b1b1"><code>83167ea</code></a> - hive dialect hierarchy has no CURRENT_TIME func <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4264">#4264</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/7a5c7e036fa84eb30bcae75829f3cb94503fa99e"><code>7a5c7e0</code></a> - <strong>presto</strong>: transpile BIT to BOOLEAN <em>(commit by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/48be3d89b1df96c7b8d81536862f53a98e414f11"><code>48be3d8</code></a> - make the semantic diffing aware of changes to non-expression leaves <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4268">#4268</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> <li><a href="https://github.com/tobymao/sqlglot/commit/4543fb3cd052dfb20428f5a6254b38def9e756ee"><code>4543fb3</code></a> - <strong>optimizer</strong>: Fix merge_subqueries.py::rename_inner_sources() <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4266">#4266</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em> <ul> <li>:arrow_lower_right: <em>fixes issue <a href="https://redirect.github.com/tobymao/sqlglot/issues/4245">#4245</a> opened by <a href="https://github.com/daniel769"><code>@daniel769</code></a></em></li> </ul> </li> <li><a href="https://github.com/tobymao/sqlglot/commit/222152e32521dbc6de3384b18ab4c677239c6088"><code>222152e</code></a> - <strong>optimizer</strong>: Add type hints for optimizer rules eliminate & merge subqueries <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4267">#4267</a> by <a href="https://github.com/VaggelisD"><code>@VaggelisD</code></a>)</em></li> </ul> <h3>:recycle: Refactors</h3> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/94013a21ca69b90da78dc47b16cd86503736597a"><code>94013a2</code></a> - simplify _expression_only_args helper in diff module <em>(PR <a href="https://redirect.github.com/tobymao/sqlglot/pull/4251">#4251</a> by <a href="https://github.com/georgesittas"><code>@georgesittas</code></a>)</em></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tobymao/sqlglot/commit/222152e32521dbc6de3384b18ab4c677239c6088"><code>222152e</code></a> fix(optimizer)!: Add type hints for optimizer rules eliminate & merge subquer...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/36f68416b3dd0d9ac703dd926d1f74bc43566e0d"><code>36f6841</code></a> feat(bigquery): support EDIT_DISTANCE (Levinshtein) function (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4276">#4276</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/4543fb3cd052dfb20428f5a6254b38def9e756ee"><code>4543fb3</code></a> fix(optimizer): Fix merge_subqueries.py::rename_inner_sources() (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4266">#4266</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/04dccf3cdaf1c3a0466dda113aba5439f1639ae0"><code>04dccf3</code></a> feat(tsql): Support for stored procedure options (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4260">#4260</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/48be3d89b1df96c7b8d81536862f53a98e414f11"><code>48be3d8</code></a> Fix: make the semantic diffing aware of changes to non-expression leaves (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4268">#4268</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/7a5c7e036fa84eb30bcae75829f3cb94503fa99e"><code>7a5c7e0</code></a> Fix(presto): transpile BIT to BOOLEAN</li> <li><a href="https://github.com/tobymao/sqlglot/commit/83167eaa3039195f756c7b1ad95fc9162f19b1b1"><code>83167ea</code></a> Fix: hive dialect hierarchy has no CURRENT_TIME func (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4264">#4264</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/8f49ad87fa795349183d13129110ad59387bfe11"><code>8f49ad8</code></a> Fix(clickhouse): traverse_scope with FINAL modifier (<a href="https://redirect.github.com/tobymao/sqlglot/issues/4263">#4263</a>)</li> <li><a href="https://github.com/tobymao/sqlglot/commit/7fc0055fb04713ba047baa5eda1ce0baf1cc79e2"><code>7fc0055</code></a> Fix(clickhouse)!: dont parse right-hand side operands of ARRAY JOIN as Tables...</li> <li><a href="https://github.com/tobymao/sqlglot/commit/51f4d26ed8694365c61fdefd810a420fcfefdeca"><code>51f4d26</code></a> Fix: generate single argument ArrayConcat without trailing comma fixes <a href="https://redirect.github.com/tobymao/sqlglot/issues/4259">#4259</a></li> <li>Additional commits viewable in <a href="https://github.com/tobymao/sqlglot/compare/v25.25.0...v25.26.0">compare view</a></li> </ul> </details> <br /> Updates `pandas-gbq` from 0.23.2 to 0.24.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/googleapis/python-bigquery-pandas/releases">pandas-gbq's releases</a>.</em></p> <blockquote> <h2>v0.24.0</h2> <h2><a href="https://github.com/googleapis/python-bigquery-pandas/compare/v0.23.2...v0.24.0">0.24.0</a> (2024-10-14)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li><code>to_gbq</code> loads naive (no timezone) columns to BigQuery DATETIME instead of TIMESTAMP (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> <li><code>to_gbq</code> loads object column containing bool values to BOOLEAN instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> <li><code>to_gbq</code> loads object column containing dictionary values to STRUCT instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> <li><code>to_gbq</code> loads <code>unit8</code> columns to BigQuery INT64 instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> </ul> <h3>Features</h3> <ul> <li>Adds the capability to include custom user agent string (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/819">#819</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/d43457b3838bdc135337cae47c56af397bb1d6d1">d43457b</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><code>to_gbq</code> loads <code>unit8</code> columns to BigQuery INT64 instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> <li><code>to_gbq</code> loads naive (no timezone) columns to BigQuery DATETIME instead of TIMESTAMP (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> <li><code>to_gbq</code> loads object column containing bool values to BOOLEAN instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> <li><code>to_gbq</code> loads object column containing dictionary values to STRUCT instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> </ul> <h3>Dependencies</h3> <ul> <li>Min pyarrow is now 4.0.0 to support compliant nested types (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/googleapis/python-bigquery-pandas/blob/main/CHANGELOG.md">pandas-gbq's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/googleapis/python-bigquery-pandas/compare/v0.23.2...v0.24.0">0.24.0</a> (2024-10-14)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li><code>to_gbq</code> loads naive (no timezone) columns to BigQuery DATETIME instead of TIMESTAMP (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> <li><code>to_gbq</code> loads object column containing bool values to BOOLEAN instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> <li><code>to_gbq</code> loads object column containing dictionary values to STRUCT instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> <li><code>to_gbq</code> loads <code>unit8</code> columns to BigQuery INT64 instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> </ul> <h3>Features</h3> <ul> <li>Adds the capability to include custom user agent string (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/819">#819</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/d43457b3838bdc135337cae47c56af397bb1d6d1">d43457b</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><code>to_gbq</code> loads <code>unit8</code> columns to BigQuery INT64 instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> <li><code>to_gbq</code> loads naive (no timezone) columns to BigQuery DATETIME instead of TIMESTAMP (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> <li><code>to_gbq</code> loads object column containing bool values to BOOLEAN instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> <li><code>to_gbq</code> loads object column containing dictionary values to STRUCT instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> </ul> <h3>Dependencies</h3> <ul> <li>Min pyarrow is now 4.0.0 to support compliant nested types (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>) (<a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee">107bb40</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/googleapis/python-bigquery-pandas/commit/7e2677b3a10c3de0496e3dc59f921e9d12c609ed"><code>7e2677b</code></a> chore(main): release 0.24.0 (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/816">#816</a>)</li> <li><a href="https://github.com/googleapis/python-bigquery-pandas/commit/d43457b3838bdc135337cae47c56af397bb1d6d1"><code>d43457b</code></a> feat: adds the capability to include custom user agent string (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/819">#819</a>)</li> <li><a href="https://github.com/googleapis/python-bigquery-pandas/commit/b3faa0b8f0cb08c8512ca96f2f541fab4d4f0c89"><code>b3faa0b</code></a> chore: adds Python 3.7/3.8 EOL pending deprecation warning (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/817">#817</a>)</li> <li><a href="https://github.com/googleapis/python-bigquery-pandas/commit/107bb40218b531be1a4f646b8fb0cea5bdfd8aee"><code>107bb40</code></a> fix!: <code>to_gbq</code> loads <code>unit8</code> columns to BigQuery INT64 instead of STRING (<a href="https://redirect.github.com/googleapis/python-bigquery-pandas/issues/814">#814</a>)</li> <li>See full diff in <a href="https://github.com/googleapis/python-bigquery-pandas/compare/v0.23.2...v0.24.0">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.6.9 to 0.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.7.0</h2> <h2>Release Notes</h2> <p>Check out the <a href="https://astral.sh/blog/ruff-v0.7.0">blog post</a> for a migration guide and overview of the changes!</p> <h3>Breaking changes</h3> <ul> <li>The pytest rules <code>PT001</code> and <code>PT023</code> now default to omitting the decorator parentheses when there are no arguments (<a href="https://redirect.github.com/astral-sh/ruff/pull/12838">#12838</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/13292">#13292</a>). This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part. See the <a href="https://astral.sh/blog/ruff-v0.7.0">blog post</a> for more details.</li> <li>The <code>useless-try-except</code> rule (in our <code>tryceratops</code> category) has been recoded from <code>TRY302</code> to <code>TRY203</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13502">#13502</a>). This ensures Ruff's code is consistent with the same rule in the <a href="https://github.com/guilatrova/tryceratops"><code>tryceratops</code></a> linter.</li> <li>The <code>lint.allow-unused-imports</code> setting has been removed (<a href="https://redirect.github.com/astral-sh/ruff/pull/13677">#13677</a>). Use <a href="https://docs.astral.sh/ruff/settings/#lint_pyflakes_allowed-unused-imports"><code>lint.pyflakes.allow-unused-imports</code></a> instead.</li> </ul> <h3>Formatter preview style</h3> <ul> <li>Normalize implicit concatenated f-string quotes per part (<a href="https://redirect.github.com/astral-sh/ruff/pull/13539">#13539</a>)</li> </ul> <h3>Preview linter features</h3> <ul> <li>[<code>refurb</code>] implement <code>hardcoded-string-charset</code> (FURB156) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13530">#13530</a>)</li> <li>[<code>refurb</code>] Count codepoints not bytes for <code>slice-to-remove-prefix-or-suffix (FURB188)</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13631">#13631</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pylint</code>] Mark <code>PLE1141</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13629">#13629</a>)</li> <li>[<code>flake8-async</code>] Consider async generators to be "checkpoints" for <code>cancel-scope-no-checkpoint</code> (<code>ASYNC100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13639">#13639</a>)</li> <li>[<code>flake8-bugbear</code>] Do not suggest setting parameter <code>strict=</code> to <code>False</code> in <code>B905</code> diagnostic message (<a href="https://redirect.github.com/astral-sh/ruff/pull/13656">#13656</a>)</li> <li>[<code>flake8-todos</code>] Only flag the word "TODO", not words starting with "todo" (<code>TD006</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13640">#13640</a>)</li> <li>[<code>pycodestyle</code>] Fix whitespace-related false positives and false negatives inside type-parameter lists (<code>E231</code>, <code>E251</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13704">#13704</a>)</li> <li>[<code>flake8-simplify</code>] Stabilize preview behavior for <code>SIM115</code> so that the rule can detect files being opened from a wider range of standard-library functions (<a href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>).</li> </ul> <h3>CLI</h3> <ul> <li>Add explanation of fixable in <code>--statistics</code> command (<a href="https://redirect.github.com/astral-sh/ruff/pull/13774">#13774</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyflakes</code>] Allow <code>ipytest</code> cell magic (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13745">#13745</a>)</li> <li>[<code>flake8-use-pathlib</code>] Fix <code>PTH123</code> false positive when <code>open</code> is passed a file descriptor (<a href="https://redirect.github.com/astral-sh/ruff/pull/13616">#13616</a>)</li> <li>[<code>flake8-bandit</code>] Detect patterns from multi line SQL statements (<code>S608</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13574">#13574</a>)</li> <li>[<code>flake8-pyi</code>] - Fix dropped expressions in <code>PYI030</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/13727">#13727</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.7.0</h2> <p>Check out the <a href="https://astral.sh/blog/ruff-v0.7.0">blog post</a> for a migration guide and overview of the changes!</p> <h3>Breaking changes</h3> <ul> <li>The pytest rules <code>PT001</code> and <code>PT023</code> now default to omitting the decorator parentheses when there are no arguments (<a href="https://redirect.github.com/astral-sh/ruff/pull/12838">#12838</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/13292">#13292</a>). This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part. See the <a href="https://astral.sh/blog/ruff-v0.7.0">blog post</a> for more details.</li> <li>The <code>useless-try-except</code> rule (in our <code>tryceratops</code> category) has been recoded from <code>TRY302</code> to <code>TRY203</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13502">#13502</a>). This ensures Ruff's code is consistent with the same rule in the <a href="https://github.com/guilatrova/tryceratops"><code>tryceratops</code></a> linter.</li> <li>The <code>lint.allow-unused-imports</code> setting has been removed (<a href="https://redirect.github.com/astral-sh/ruff/pull/13677">#13677</a>). Use <a href="https://docs.astral.sh/ruff/settings/#lint_pyflakes_allowed-unused-imports"><code>lint.pyflakes.allow-unused-imports</code></a> instead.</li> </ul> <h3>Formatter preview style</h3> <ul> <li>Normalize implicit concatenated f-string quotes per part (<a href="https://redirect.github.com/astral-sh/ruff/pull/13539">#13539</a>)</li> </ul> <h3>Preview linter features</h3> <ul> <li>[<code>refurb</code>] implement <code>hardcoded-string-charset</code> (FURB156) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13530">#13530</a>)</li> <li>[<code>refurb</code>] Count codepoints not bytes for <code>slice-to-remove-prefix-or-suffix (FURB188)</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13631">#13631</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pylint</code>] Mark <code>PLE1141</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13629">#13629</a>)</li> <li>[<code>flake8-async</code>] Consider async generators to be "checkpoints" for <code>cancel-scope-no-checkpoint</code> (<code>ASYNC100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13639">#13639</a>)</li> <li>[<code>flake8-bugbear</code>] Do not suggest setting parameter <code>strict=</code> to <code>False</code> in <code>B905</code> diagnostic message (<a href="https://redirect.github.com/astral-sh/ruff/pull/13656">#13656</a>)</li> <li>[<code>flake8-todos</code>] Only flag the word "TODO", not words starting with "todo" (<code>TD006</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13640">#13640</a>)</li> <li>[<code>pycodestyle</code>] Fix whitespace-related false positives and false negatives inside type-parameter lists (<code>E231</code>, <code>E251</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13704">#13704</a>)</li> <li>[<code>flake8-simplify</code>] Stabilize preview behavior for <code>SIM115</code> so that the rule can detect files being opened from a wider range of standard-library functions (<a href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>).</li> </ul> <h3>CLI</h3> <ul> <li>Add explanation of fixable in <code>--statistics</code> command (<a href="https://redirect.github.com/astral-sh/ruff/pull/13774">#13774</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyflakes</code>] Allow <code>ipytest</code> cell magic (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13745">#13745</a>)</li> <li>[<code>flake8-use-pathlib</code>] Fix <code>PTH123</code> false positive when <code>open</code> is passed a file descriptor (<a href="https://redirect.github.com/astral-sh/ruff/pull/13616">#13616</a>)</li> <li>[<code>flake8-bandit</code>] Detect patterns from multi line SQL statements (<code>S608</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13574">#13574</a>)</li> <li>[<code>flake8-pyi</code>] - Fix dropped expressions in <code>PYI030</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/13727">#13727</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/5e6de4e0c69660e8ca8608d1ac965216197756ce"><code>5e6de4e</code></a> Changelog for Ruff v0.7 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13794">#13794</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/70e5c4a8ba679e80554c02bce7435dde085eb5bf"><code>70e5c4a</code></a> Recode <code>TRY302</code> to <code>TRY203</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/13502">#13502</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9218d6bedc1063c110a8205db144fedc4366a3ec"><code>9218d6b</code></a> Remove <code>allow-unused-imports</code> setting from the common lint options (<a href="https://redirect.github.com/astral-sh/ruff/issues/13677">#13677</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1b79ae9817d2c5da6ac81b069c5dff71e1e771c8"><code>1b79ae9</code></a> [ruff-0.7] Stabilise the expansion of <code>open-file-with-context-handler</code> to wor...</li> <li><a href="https://github.com/astral-sh/ruff/commit/2b87587ac2b407c9dfb0d020339218e12321a898"><code>2b87587</code></a> [<code>flake8-pytest-style</code>] Fix defaults when <code>lint.flake8-pytest-style</code> config s...</li> <li><a href="https://github.com/astral-sh/ruff/commit/d1e15f6246265dab43bbfbc0f9c10c8a8e720347"><code>d1e15f6</code></a> Remove tab-size setting (<a href="https://redirect.github.com/astral-sh/ruff/issues/12835">#12835</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/89a82158a12fe903c0bcbbbeafc9e00b9f888539"><code>89a8215</code></a> Remove error messages for removed CLI aliases (<a href="https://redirect.github.com/astral-sh/ruff/issues/12833">#12833</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/202c6a6d753ba07aee27220eaece04b7f52b9d6a"><code>202c6a6</code></a> Remove <code>output-format=text</code> setting (<a href="https://redirect.github.com/astral-sh/ruff/issues/12836">#12836</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5c3c0c4705dfba0ba777df384482464e29e7d86c"><code>5c3c0c4</code></a> [red-knot] Inference for comparison of union types (<a href="https://redirect.github.com/astral-sh/ruff/issues/13781">#13781</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6b7a738825a5268590fbf4e9724930734d326f32"><code>6b7a738</code></a> Add explanation of fixable in <code>--statistics</code> command (<a href="https://redirect.github.com/astral-sh/ruff/issues/13774">#13774</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.9...0.7.0">compare view</a></li> </ul> </details> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information