Skip to content

Commit

Permalink
Python: Update pymongo requirement from <4.9,>=4.8.0 to >=4.8.0,<4.11…
Browse files Browse the repository at this point in the history
… in /python (#9271)

Updates the requirements on
[pymongo](https://github.com/mongodb/mongo-python-driver) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/releases">pymongo's
releases</a>.</em></p>
<blockquote>
<h2>PyMongo 4.10.1</h2>
<p>Community notes: <a
href="https://www.mongodb.com/community/forums/t/pymongo-4-10-1-released/299573">https://www.mongodb.com/community/forums/t/pymongo-4-10-1-released/299573</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst">pymongo's
changelog</a>.</em></p>
<blockquote>
<h2>Changes in Version 4.10.1</h2>
<p>Version 4.10.1 is a bug fix release.</p>
<ul>
<li>Fixed a bug where
:meth:<code>~pymongo.results.UpdateResult.did_upsert</code> would raise
a <code>TypeError</code>.</li>
<li>Fixed Binary BSON subtype (9) support on big-endian operating
systems (such as zSeries).</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.10.1 release notes in JIRA</code>_ for the
list of resolved issues
in this release.</p>
<p>.. _PyMongo 4.10.1 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=40788">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=40788</a></p>
<h2>Changes in Version 4.10.0</h2>
<ul>
<li>Added provisional <strong>(BETA)</strong> support for a new Binary
BSON subtype (9) used for efficient storage and retrieval of vectors:
densely packed arrays of numbers, all of the same type.
This includes new methods
:meth:<code>~bson.binary.Binary.from_vector</code> and
:meth:<code>~bson.binary.Binary.as_vector</code>.</li>
<li>Added C extension use to client metadata, for example:
<code>{&quot;driver&quot;: {&quot;name&quot;: &quot;PyMongo|c&quot;,
&quot;version&quot;: &quot;4.10.0&quot;}, ...}</code></li>
<li>Fixed a bug where
:class:<code>~pymongo.asynchronous.mongo_client.AsyncMongoClient</code>
could deadlock.</li>
<li>Fixed a bug where PyMongo could fail to import on Windows if
<code>asyncio</code> is misconfigured.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.10 release notes in JIRA</code>_ for the list
of resolved issues
in this release.</p>
<p>.. _PyMongo 4.10 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=40553">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=40553</a></p>
<h2>Changes in Version 4.9.2</h2>
<ul>
<li>Fixed a bug where
:class:<code>~pymongo.asynchronous.mongo_client.AsyncMongoClient</code>
could deadlock.</li>
<li>Fixed a bug where PyMongo could fail to import on Windows if
<code>asyncio</code> is misconfigured.</li>
<li>Fixed a bug where
:meth:<code>~pymongo.results.UpdateResult.did_upsert</code> would raise
a <code>TypeError</code>.</li>
</ul>
<p>Issues Resolved
...............</p>
<p>See the <code>PyMongo 4.9.2 release notes in JIRA</code>_ for the
list of resolved issues
in this release.</p>
<p>.. _PyMongo 4.9.2 release notes in JIRA: <a
href="https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=40732">https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&amp;version=40732</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/77cd7ab9f6dc48e72a3bae94d2cca2e4200e6978"><code>77cd7ab</code></a>
BUMP 4.10.1</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/1c284307250dec4fb6b7b161d72e1876c067b4cb"><code>1c28430</code></a>
PYTHON-4808 Add changelog for 4.10.1 (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/1890">#1890</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/7848feb09a12bb6a14fb18deb8b873d8c2eff8a9"><code>7848feb</code></a>
PYTHON-4786 - Fix UpdateResult.did_upsert TypeError (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/1878">#1878</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/02794079802f264be021707d20fc64e292ef74b7"><code>0279407</code></a>
PYTHON-4806 Fix expected metadata in mockupdb tests (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/1888">#1888</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/7fbeca9793bb88561a8b9972df926193d54a1225"><code>7fbeca9</code></a>
[PYTHON-4803] Big endian fix for binary bson vectors (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/1885">#1885</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/bfba5481a09b67fa3f5e9dcaf5e90d7913964406"><code>bfba548</code></a>
PYTHON-4789 Migrate test_retryable_reads.py to async (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/1877">#1877</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/8791aa00ea8f87ceae5e5ec601b75c677a6754ab"><code>8791aa0</code></a>
PYTHON-4790 Migrate test_retryable_writes.py to async (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/1876">#1876</a>)</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/c0f7810d56555c8a285beaa9aa5fe6d2b7185eff"><code>c0f7810</code></a>
BUMP 4.11.0.dev0</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/4713afa910f12d013571778a12fda2287d0bf19d"><code>4713afa</code></a>
BUMP 4.10.0</li>
<li><a
href="https://github.com/mongodb/mongo-python-driver/commit/ae6cfd6d102d885ac6b0873d31f0dac139b1ddae"><code>ae6cfd6</code></a>
[DRIVERS-2926] [PYTHON-4577] BSON Binary Vector Subtype Support (<a
href="https://redirect.github.com/mongodb/mongo-python-driver/issues/1813">#1813</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mongodb/mongo-python-driver/compare/4.8.0...4.10.1">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 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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 8, 2024
1 parent e9a755d commit 2d4c752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ hugging_face = [
"torch == 2.5.1"
]
mongo = [
"pymongo >= 4.8.0, < 4.9",
"pymongo >= 4.8.0, < 4.11",
"motor >= 3.3.2,< 3.7.0"
]
notebooks = [
Expand Down

0 comments on commit 2d4c752

Please sign in to comment.