Skip to content

Commit 4b6887a

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo-python-driver
2 parents 49e1adc + e6da57e commit 4b6887a

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

.evergreen/config.yml

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,6 +2039,19 @@ tasks:
20392039
export HEAD_SHA=${github_commit}
20402040
bash .evergreen/run-import-time-test.sh
20412041
2042+
- name: "backport-pr"
2043+
allowed_requesters: ["commit"]
2044+
commands:
2045+
- command: subprocess.exec
2046+
type: test
2047+
params:
2048+
binary: bash
2049+
args:
2050+
- ${DRIVERS_TOOLS}/.evergreen/github_app/backport-pr.sh
2051+
- mongodb
2052+
- mongo-python-driver
2053+
- ${github_commit}
2054+
20422055
axes:
20432056
# Choice of distro
20442057
- id: platform
@@ -2240,6 +2253,10 @@ axes:
22402253
display_name: "Python 3.12"
22412254
variables:
22422255
PYTHON_BINARY: "/opt/python/3.12/bin/python3"
2256+
- id: "3.13"
2257+
display_name: "Python 3.13"
2258+
variables:
2259+
PYTHON_BINARY: "/opt/python/3.13/bin/python3"
22432260
- id: "pypy3.9"
22442261
display_name: "PyPy 3.9"
22452262
variables:
@@ -2272,6 +2289,10 @@ axes:
22722289
display_name: "Python 3.12"
22732290
variables:
22742291
PYTHON_BINARY: "C:/python/Python312/python.exe"
2292+
- id: "3.13"
2293+
display_name: "Python 3.13"
2294+
variables:
2295+
PYTHON_BINARY: "C:/python/Python313/python.exe"
22752296

22762297
- id: python-version-windows-32
22772298
display_name: "Python"
@@ -2296,6 +2317,10 @@ axes:
22962317
display_name: "32-bit Python 3.12"
22972318
variables:
22982319
PYTHON_BINARY: "C:/python/32/Python312/python.exe"
2320+
- id: "3.13"
2321+
display_name: "32-bit Python 3.13"
2322+
variables:
2323+
PYTHON_BINARY: "C:/python/32/Python313/python.exe"
22992324

23002325
# Choice of mod_wsgi version
23012326
- id: mod-wsgi-version
@@ -2559,7 +2584,7 @@ buildvariants:
25592584
# Only test "noauth" with Python 3.8.
25602585
exclude_spec:
25612586
platform: rhel8
2562-
python-version: ["3.9", "3.10", "pypy3.9", "pypy3.10"]
2587+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"]
25632588
auth: "noauth"
25642589
ssl: "ssl"
25652590
pyopenssl: "*"
@@ -2665,7 +2690,7 @@ buildvariants:
26652690
exclude_spec:
26662691
# Don't test green frameworks on these Python versions.
26672692
- platform: rhel8
2668-
python-version: ["pypy3.9", "pypy3.10"]
2693+
python-version: ["pypy3.9", "pypy3.10", "3.13"]
26692694
green-framework: "*"
26702695
auth-ssl: "*"
26712696
display_name: "${green-framework} ${python-version} ${platform} ${auth-ssl}"
@@ -2788,7 +2813,7 @@ buildvariants:
27882813
- matrix_name: "tests-mod-wsgi"
27892814
matrix_spec:
27902815
platform: ubuntu-22.04
2791-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2816+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
27922817
mod-wsgi-version: "*"
27932818
display_name: "${mod-wsgi-version} ${python-version} ${platform}"
27942819
tasks:
@@ -3014,6 +3039,13 @@ buildvariants:
30143039
tasks:
30153040
- name: "check-import-time"
30163041

3042+
- name: backport-pr
3043+
display_name: "Backport PR"
3044+
run_on:
3045+
- rhel8.7-small
3046+
tasks:
3047+
- name: "backport-pr"
3048+
30173049
- name: "perf-tests"
30183050
display_name: "Performance Benchmark Tests"
30193051
batchtime: 10080 # 7 days

doc/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Changes in Version 4.9.0
1010
PyMongo 4.9 brings a number of improvements including:
1111

1212
- Added support for MongoDB 8.0.
13+
- Added support for Python 3.13.
1314
- A new asynchronous API with full asyncio support.
1415
- Added support for In-Use Encryption range queries with MongoDB 8.0.
1516
Added :attr:`~pymongo.encryption.Algorithm.RANGE`.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ classifiers = [
3535
"Programming Language :: Python :: 3.10",
3636
"Programming Language :: Python :: 3.11",
3737
"Programming Language :: Python :: 3.12",
38+
"Programming Language :: Python :: 3.13",
3839
"Topic :: Database",
3940
"Typing :: Typed",
4041
]

0 commit comments

Comments
 (0)