Skip to content

Commit

Permalink
Bump the python-packages group in /backend with 3 updates (#60)
Browse files Browse the repository at this point in the history
Bumps the python-packages group in /backend with 3 updates:
[sqlalchemy](https://github.com/sqlalchemy/sqlalchemy),
[psycopg](https://github.com/psycopg/psycopg) and
[pytest](https://github.com/pytest-dev/pytest).

Updates `sqlalchemy` from 2.0.34 to 2.0.35
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sqlalchemy/sqlalchemy/releases">sqlalchemy's
releases</a>.</em></p>
<blockquote>
<h1>2.0.35</h1>
<p>Released: September 16, 2024</p>
<h2>orm</h2>
<ul>
<li>
<p><strong>[orm] [bug] [typing]</strong> Fixed issue where it was not
possible to use <code>typing.Literal</code> with
<code>Mapped[]</code> on Python 3.8 and 3.9. Pull request courtesy
Frazer McLean.</p>
<p>References: <a
href="https://www.sqlalchemy.org/trac/ticket/11820">#11820</a></p>
</li>
<li>
<p><strong>[orm] [bug]</strong> Fixed issue in ORM evaluator where two
datatypes being evaluated with the
SQL concatenator operator would not be checked for
<code>UnevaluatableError</code> based on their datatype; this missed the
case
of <code>_postgresql.JSONB</code> values being used in a concatenate
operation
which is supported by PostgreSQL as well as how SQLAlchemy renders the
SQL
for this operation, but does not work at the Python level. By
implementing
<code>UnevaluatableError</code> for this combination, ORM update
statements
will now fall back to &quot;expire&quot; when a concatenated JSON value
used in a SET
clause is to be synchronized to a Python object.</p>
<p>References: <a
href="https://www.sqlalchemy.org/trac/ticket/11849">#11849</a></p>
</li>
<li>
<p><strong>[orm] [bug]</strong> An warning is emitted if
<code>_orm.joinedload()</code> or
<code>_orm.subqueryload()</code> are used as a top level option against
a
statement that is not a SELECT statement, such as with an
<code>insert().returning()</code>. There are no JOINs in INSERT
statements nor is
there a &quot;subquery&quot; that can be repurposed for subquery eager
loading, and
for UPDATE/DELETE joinedload does not support these either, so it is
never
appropriate for this use to pass silently.</p>
<p>References: <a
href="https://www.sqlalchemy.org/trac/ticket/11853">#11853</a></p>
</li>
<li>
<p><strong>[orm] [bug]</strong> Fixed issue where using loader options
such as <code>_orm.selectinload()</code>
with additional criteria in combination with ORM DML such as
<code>_sql.insert()</code> with RETURNING would not correctly set up
internal
contexts required for caching to work correctly, leading to incorrect
results.</p>
<p>References: <a
href="https://www.sqlalchemy.org/trac/ticket/11855">#11855</a></p>
</li>
</ul>
<h2>mysql</h2>
<ul>
<li><strong>[mysql] [bug]</strong> Fixed issue in mariadbconnector
dialect where query string arguments that
weren't checked integer or boolean arguments would be ignored, such as
string arguments like <code>unix_socket</code>, etc. As part of this
change, the
argument parsing for particular elements such as
<code>client_flags</code>,
<code>compress</code>, <code>local_infile</code> has been made more
consistent across all</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/sqlalchemy/sqlalchemy/commits">compare
view</a></li>
</ul>
</details>
<br />

Updates `psycopg` from 3.2.1 to 3.2.2
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psycopg/psycopg/blob/master/docs/news.rst">psycopg's
changelog</a>.</em></p>
<blockquote>
<p>.. currentmodule:: psycopg</p>
<p>.. index::
single: Release notes
single: News</p>
<h1><code>psycopg</code> release notes</h1>
<h2>Current release</h2>
<p>Psycopg 3.2.2
^^^^^^^^^^^^^</p>
<ul>
<li>Drop <code>!TypeDef</code> specifications as string from public
modules, as they cannot
be composed by users as <code>!typing</code> objects previously could
(:ticket:<code>[#860](https://github.com/psycopg/psycopg/issues/860)</code>).</li>
<li>Release Python 3.13 binary packages.</li>
</ul>
<p>Psycopg 3.2.1
^^^^^^^^^^^^^</p>
<ul>
<li>Fix packaging metadata breaking <code>[c]</code>,
<code>[binary]</code> dependencies

(:ticket:<code>[#853](https://github.com/psycopg/psycopg/issues/853)</code>).</li>
</ul>
<h2>Psycopg 3.2</h2>
<p>.. rubric:: New top-level features</p>
<ul>
<li>Add support for integer, floating point, boolean <code>NumPy scalar
types</code>__

(:ticket:<code>[#332](https://github.com/psycopg/psycopg/issues/332)</code>).</li>
<li>Add <code>!timeout</code> and <code>!stop_after</code> parameters to
<code>Connection.notifies()</code>
(:ticket:<code>340</code>).</li>
<li>Allow dumpers to return <code>!None</code>, to be converted to NULL
(:ticket:<code>[#377](https://github.com/psycopg/psycopg/issues/377)</code>).</li>
<li>Add :ref:<code>raw-query-cursors</code> to execute queries using
placeholders in
PostgreSQL format (<code>$1</code>, <code>$2</code>...)
(🎟️<code>[#560](psycopg/psycopg#560),
[#839](https://github.com/psycopg/psycopg/issues/839)</code>).</li>
<li>Add <code>capabilities</code> object to :ref:<code>inspect the libpq
capabilities &lt;capabilities&gt;</code>
(🎫<code>[#772](https://github.com/psycopg/psycopg/issues/772)</code>).</li>
<li>Add <code>~rows.scalar_row</code> to return scalar values from a
query
(:ticket:<code>[#723](https://github.com/psycopg/psycopg/issues/723)</code>).</li>
<li>Add <code>~Connection.cancel_safe()</code> for encrypted and
non-blocking cancellation
when using libpq v17. Use such method internally to implement
<code>!KeyboardInterrupt</code> and <code>~cursor.copy</code>
termination
(:ticket:<code>[#754](https://github.com/psycopg/psycopg/issues/754)</code>).</li>
<li>The <code>!context</code> parameter of <code>sql</code> objects
<code>~sql.Composable.as_string()</code> and
<code>~sql.Composable.as_bytes()</code> methods is now optional
(:ticket:<code>[#716](https://github.com/psycopg/psycopg/issues/716)</code>).</li>
<li>Add <code>~Connection.set_autocommit()</code> on sync connections,
and similar
transaction control methods available on the async connections.</li>
<li>Add a <code>size</code> parameter to <code>~Cursor.stream()</code>
to enable results retrieval in</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/psycopg/psycopg/commit/d027a8737300a2e6bb2335666ca1c8eee43529f4"><code>d027a87</code></a>
chore: bump psycopg package version to 3.2.2</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/026c1239029ba12ac13c077e3d8dadcbe616c88e"><code>026c123</code></a>
Merge pull request <a
href="https://redirect.github.com/psycopg/psycopg/issues/890">#890</a>
from edgarrmondragon/build-cp313-wheels</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/86d777241518c7f17012b809f7d3d54cecaaaf31"><code>86d7772</code></a>
docs: add update instructions for new major Python releases</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/8089851fd5544f985effa2e47140774ec5dc034a"><code>8089851</code></a>
docs: add Python 3.13 support news entries</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/cf3bc888f2793edaef1dab50f304f4684bf9a764"><code>cf3bc88</code></a>
docs: mention Python 3.13 supported in install docs</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/9b9781192e9e20550763cfc4d6b70f183ee0b71a"><code>9b97811</code></a>
chore: add Python 3.13 to trove classifiers</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/6e2018819ab8a83a4a3afedfed6f8a7d98ea0cb0"><code>6e20188</code></a>
ci: build Python 3.13 wheels</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/a5b67ba942c418d4e306c121c1bf827884e9c36d"><code>a5b67ba</code></a>
docs: replace fastapi events with lifespan</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/d13137aacb82fed79459a9dd487846a2ec972571"><code>d13137a</code></a>
chore(deps): bump pypa/cibuildwheel in the actions group</li>
<li><a
href="https://github.com/psycopg/psycopg/commit/6f7dcc434cf7c2523ebfec0cac2a21a4da23b92b"><code>6f7dcc4</code></a>
Fix typo in cursor table</li>
<li>Additional commits viewable in <a
href="https://github.com/psycopg/psycopg/compare/3.2.1...3.2.2">compare
view</a></li>
</ul>
</details>
<br />

Updates `pytest` from 8.3.2 to 8.3.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.3.3</h2>
<h1>pytest 8.3.3 (2024-09-09)</h1>
<h2>Bug fixes</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12446">#12446</a>:
Avoid calling <code>@Property</code> (and other instance descriptors)
during fixture discovery -- by <code>asottile</code>{.interpreted-text
role=&quot;user&quot;}</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12659">#12659</a>:
Fixed the issue of not displaying assertion failure differences when
using the parameter <code>--import-mode=importlib</code> in
pytest&gt;=8.1.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12667">#12667</a>:
Fixed a regression where type change in
[ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to
fail.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12744">#12744</a>:
Fixed typing compatibility with Python 3.9 or less -- replaced
[typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} --
by <code>Avasam</code>{.interpreted-text role=&quot;user&quot;}</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12745">#12745</a>:
Fixed an issue with backslashes being incorrectly converted in nodeid
paths on Windows, ensuring consistent path handling across
environments.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/6682">#6682</a>:
Fixed bug where the verbosity levels where not being respected when
printing the &quot;msg&quot; part of failed assertion (as in
<code>assert condition, msg</code>).</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/9422">#9422</a>:
Fix bug where disabling the terminal plugin via <code>-p
no:terminal</code> would cause crashes related to missing the
<code>verbose</code> option.</p>
<p>-- by <code>GTowers1</code>{.interpreted-text
role=&quot;user&quot;}</p>
</li>
</ul>
<h2>Improved documentation</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12663">#12663</a>:
Clarify that the [pytest_deselected]{.title-ref} hook should be called
from [pytest_collection_modifyitems]{.title-ref} hook implementations
when items are deselected.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12678">#12678</a>:
Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref}
example in docs.</li>
</ul>
<h2>Miscellaneous internal changes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12769">#12769</a>:
Fix typos discovered by codespell and add codespell to pre-commit
hooks.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d0f136fe64f9374f18a04562305b178fb380d1ec"><code>d0f136f</code></a>
build(deps): Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12790">#12790</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/972f307c7861ae498e705d3d12e003fa4b035ac0"><code>972f307</code></a>
Prepare release version 8.3.3</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/0dabdcfe4de99147a07bd577804b60818ea25bc4"><code>0dabdcf</code></a>
Include co-authors in release announcement (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12795">#12795</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12797">#12797</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a9910a413a691e1b216e2235a9cbec0921117702"><code>a9910a4</code></a>
Do not discover properties when iterating fixtures (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12781">#12781</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12788">#12788</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/0f10b6b0d8138d3539de75cb7b2e33167b6fc882"><code>0f10b6b</code></a>
Fix issue with slashes being turned into backslashes on Windows (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12760">#12760</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12">#12</a>...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/300d13d2231db85186729c2091ea33480cb39c1a"><code>300d13d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12785">#12785</a>
from pytest-dev/patchback/backports/8.3.x/57cccf7f4...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/e5d32c73abcf4fa1362b15aaf660074de8f710d4"><code>e5d32c7</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12784">#12784</a>
from svenevs/fix/docs-example-parametrize-minor-typo</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bc913d194ec009699194b016ca619d5ae7f22c91"><code>bc913d1</code></a>
Streamline checks for verbose option (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12706">#12706</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12778">#12778</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/01cfcc9f2dda817b25511772593012fd93e092d0"><code>01cfcc9</code></a>
Fix typos and introduce codespell pre-commit hook (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12769">#12769</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12774">#12774</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/4873394d53635ef62d1915d23972ed4281a784eb"><code>4873394</code></a>
doc: Remove past training (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12772">#12772</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12773">#12773</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3">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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 17, 2024
1 parent 43c4d1f commit 6e3933b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ coverage==7.6.1
Twisted==24.7.0
psycopg2-binary==2.9.9
pylint==3.2.7
SQLAlchemy==2.0.34
SQLAlchemy==2.0.35
price-parser==0.3.4
Scrapy==2.11.2
nltk==3.9.1
Expand Down
4 changes: 2 additions & 2 deletions backend/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ddt==1.7.2
psycopg==3.2.1
pytest==8.3.2
psycopg==3.2.2
pytest==8.3.3
testcontainers[postgres]==4.8.1
unittest-xml-reporting==3.2.0

0 comments on commit 6e3933b

Please sign in to comment.