Skip to content

Commit 3f05682

Browse files
committed
restore mod_wsgi and gevent
1 parent a9ed7f8 commit 3f05682

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,18 @@ tasks:
269269
SUB_TEST_NAME: standalone
270270
PYTHON_VERSION: "3.13"
271271
tags: [mod_wsgi, pr]
272+
- name: mod-wsgi-embedded-mode-replica-set-python3.14
273+
commands:
274+
- func: run server
275+
vars:
276+
TOPOLOGY: replica_set
277+
PYTHON_VERSION: "3.14"
278+
- func: run tests
279+
vars:
280+
TEST_NAME: mod_wsgi
281+
SUB_TEST_NAME: embedded
282+
PYTHON_VERSION: "3.14"
283+
tags: [mod_wsgi, pr]
272284

273285
# No orchestration tests
274286
- name: test-no-orchestration-python3.9

.evergreen/generated_configs/variants.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ buildvariants:
340340
GREEN_FRAMEWORK: eventlet
341341
- name: green-gevent-rhel8
342342
tasks:
343-
- name: .test-standard .standalone-noauth-nossl .sync !.python-3.14
343+
- name: .test-standard .standalone-noauth-nossl .sync
344344
display_name: Green Gevent RHEL8
345345
run_on:
346346
- rhel87-small

.evergreen/scripts/generate_config.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,7 @@ def create_green_framework_variants():
297297
variants = []
298298
host = DEFAULT_HOST
299299
for framework in ["eventlet", "gevent"]:
300-
# TODO: Add Python 3.14 support (PYTHON-5464)
301-
tasks = [".test-standard .standalone-noauth-nossl .sync !.python-3.14"]
300+
tasks = [".test-standard .standalone-noauth-nossl .sync"]
302301
if framework == "eventlet":
303302
# Eventlet has issues with dnspython > 2.0 and newer versions of CPython
304303
# https://jira.mongodb.org/browse/PYTHON-5284
@@ -762,9 +761,6 @@ def create_mod_wsgi_tasks():
762761
for (test, topology), python in zip_cycle(
763762
product(["standalone", "embedded-mode"], ["standalone", "replica_set"]), CPYTHONS
764763
):
765-
if python == "3.14":
766-
# TODO: Add Python 3.14 support (PYTHON-5462)
767-
continue
768764
if test == "standalone":
769765
task_name = "mod-wsgi-"
770766
else:

doc/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Changes in Version 4.14.0 (XXXX/XX/XX)
66
PyMongo 4.14 brings a number of changes including:
77

88
- Added preliminary support for Python 3.14. We do not yet support subinterpreters in Python 3.14.
9-
We also do not yet support ``mod_wgsi`` or ``gevent`` with Python 3.14. Full support will be added in a future release.
9+
We also do not yet support ``gevent`` with Python 3.14. Full support will be added in a future release.
1010
- Added support for free-threading in Python 3.14 and removed experimental support for free-threading support in Python 3.13.
1111
- Added :attr:`bson.codec_options.TypeRegistry.codecs` and :attr:`bson.codec_options.TypeRegistry.fallback_encoder` properties
1212
to allow users to directly access the type codecs and fallback encoder for a given :class:`bson.codec_options.TypeRegistry`.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dev = [
5050
"pre-commit>=4.0"
5151
]
5252
pip = ["pip"]
53-
gevent = ["gevent"]
53+
gevent = ["gevent", "cffi>=2.0.0b1;python_version=='3.14'"]
5454
eventlet = ["eventlet"]
5555
coverage = [
5656
"pytest-cov",

0 commit comments

Comments
 (0)