Skip to content

Commit

Permalink
Python: Update motor requirement from ~=3.3.2 to >=3.3.2,<3.7.0 in /p…
Browse files Browse the repository at this point in the history
…ython (#8961)

Updates the requirements on [motor](https://github.com/mongodb/motor) to
permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/motor/releases">motor's
releases</a>.</em></p>
<blockquote>
<h2>Motor 3.6.0</h2>
<p>Community notes: <a
href="https://www.mongodb.com/community/forums/t/motor-3-6-0-released/297834">https://www.mongodb.com/community/forums/t/motor-3-6-0-released/297834</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mongodb/motor/blob/master/doc/changelog.rst">motor's
changelog</a>.</em></p>
<blockquote>
<h2>Motor 3.6.0</h2>
<ul>
<li>Add support for MongoDB 8.0 and PyMongo 4.9.</li>
<li>The length parameter in :meth:<code>MotorCursor.to_list</code> is
now optional.</li>
</ul>
<p>.. note::</p>
<p>This is the last planned minor version of Motor. We are sunsetting
Motor in favor of native
asyncio support in PyMongo 4.9+. We will continue to provide security
releases and bug fixes for
Motor, but it will not gain new features.</p>
<h2>Motor 3.5.1</h2>
<ul>
<li>Fix runtime behavior of Motor generic class typing, e.g.
<code>client: AsyncIOMotorClient[Dict[str, Any]]</code>.</li>
</ul>
<h2>Motor 3.5.0</h2>
<ul>
<li>Drop support for Python 3.7.</li>
<li>Switch to using Hatchling as a build backend and remove
<code>setup.py</code>.</li>
<li>Add Secure Software Development Life Cycle automation to release
process.
GitHub Releases for pymongocrypt now include a Software Bill of
Materials, and signature
files corresponding to the distribution files released on PyPI.</li>
</ul>
<h2>Motor 3.4.0</h2>
<ul>
<li>Type hint bug fixes and improvements. Added typings to classes in
<code>motor_tornado</code> and
<code>motor_asyncio</code>.</li>
</ul>
<h2>Motor 3.3.2</h2>
<ul>
<li>Fix incorrect type hints for the following:
:meth:<code>MotorCursor.to_list</code>,
:meth:<code>MotorCollection.name</code>,
:meth:<code>MotorDatabase.get_collection</code>,
:meth:<code>MotorClientSession.with_transaction</code></li>
<li>Fix a bug that caused application-supplied DriverInfo to be
overwritten.</li>
</ul>
<h2>Motor 3.3.1</h2>
<ul>
<li>Fix a bug in the type hint for
:meth:<code>MotorCursor.to_list</code>.</li>
</ul>
<h2>Motor 3.3.0</h2>
<ul>
<li>Add support for PyMongo 4.4+.</li>
<li>Add support for Python 3.12.</li>
<li>Add inline type hints for public APIs.</li>
<li>Added new helper methods for Atlas Search Index (requires MongoDB
Server 7.0+):</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mongodb/motor/commit/20015b458e37b02e58677e107a9c8e83233438f8"><code>20015b4</code></a>
BUMP 3.6.0</li>
<li><a
href="https://github.com/mongodb/motor/commit/cf7b4cfe530e052ea7af600a96241342f52561e5"><code>cf7b4cf</code></a>
MOTOR-1351 Bump minimum PyMongo version to 3.9 (<a
href="https://redirect.github.com/mongodb/motor/issues/308">#308</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/e13888b08e26800fbe579d7c385096c076e03c24"><code>e13888b</code></a>
MOTOR-1364 Add support for Python 3.13 (<a
href="https://redirect.github.com/mongodb/motor/issues/307">#307</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/5c77c38016b5527b1e21b804f5f6e6d6aeafb118"><code>5c77c38</code></a>
MOTOR-1177 Add documentation for Type Annotation Support (<a
href="https://redirect.github.com/mongodb/motor/issues/306">#306</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/2a9225d0ce83dd6142925a344d0b8236651bd8ad"><code>2a9225d</code></a>
MOTOR-1363 - Pass correct parameter to AsyncIOMotorClientEncryption (<a
href="https://redirect.github.com/mongodb/motor/issues/305">#305</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/7050d54dc474ef734f1b4fae26b041733214a370"><code>7050d54</code></a>
MOTOR-1362 Use furo theme in ReadTheDocs (<a
href="https://redirect.github.com/mongodb/motor/issues/304">#304</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/b652685be437c417c0ec3221bb156320e7383ddb"><code>b652685</code></a>
MOTOR-1360 Use AssumeRole for S3 Access in Evergreen Builds (<a
href="https://redirect.github.com/mongodb/motor/issues/303">#303</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/48f34cbe02ecc316a85eeb3ae9733e89debdc9de"><code>48f34cb</code></a>
MOTOR-1165 Add documentation for CSOT (<a
href="https://redirect.github.com/mongodb/motor/issues/302">#302</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/a08b1aff9c382eec9098d46dd3db28f0ad210998"><code>a08b1af</code></a>
MOTOR-1260 Add Projection with aggregation expressions example (<a
href="https://redirect.github.com/mongodb/motor/issues/301">#301</a>)</li>
<li><a
href="https://github.com/mongodb/motor/commit/00f27f3294a830e98828bb94db2d3972eb4b1ef6"><code>00f27f3</code></a>
MOTOR-940 Improved Bulk Write API (<a
href="https://redirect.github.com/mongodb/motor/issues/300">#300</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mongodb/motor/compare/3.3.2...3.6.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 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 Sep 25, 2024
1 parent fd6d4a1 commit 679df70
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 @@ -71,7 +71,7 @@ hugging_face = [
"torch == 2.2.2"
]
mongo = [
"motor ~= 3.3.2"
"motor >= 3.3.2,< 3.7.0"
]
notebooks = [
"ipykernel ~= 6.29"
Expand Down

0 comments on commit 679df70

Please sign in to comment.